Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gopherevals
command
Command gopherevals runs a GopherAgent eval suite against an agent and writes reports for CI.
|
Command gopherevals runs a GopherAgent eval suite against an agent and writes reports for CI. |
|
examples
|
|
|
creative_studio
command
Creative Studio — a multi-modal AI creative director that generates images and short videos from natural-language descriptions.
|
Creative Studio — a multi-modal AI creative director that generates images and short videos from natural-language descriptions. |
|
demo
command
|
|
|
hitl_server
command
Package main is a reference HITL (Human-In-The-Loop) server built on GopherAgent.
|
Package main is a reference HITL (Human-In-The-Loop) server built on GopherAgent. |
|
media_chat
command
media_chat demonstrates native multimodal input: uploaded images are injected into the conversation history as MediaParts and become directly visible to the LLM — no tool call, no separate vision API, no base64 round-trip each turn.
|
media_chat demonstrates native multimodal input: uploaded images are injected into the conversation history as MediaParts and become directly visible to the LLM — no tool call, no separate vision API, no base64 round-trip each turn. |
|
memory_demo
command
Command memory_demo shows GopherAgent's cross-session memory in action.
|
Command memory_demo shows GopherAgent's cross-session memory in action. |
|
pkg
|
|
|
agent
Package agent provides the core orchestration loop for GopherAgent.
|
Package agent provides the core orchestration loop for GopherAgent. |
|
agentmetrics
Package agentmetrics exposes a Prometheus / OpenMetrics HTTP handler for a gopheragent BudgetTracker.
|
Package agentmetrics exposes a Prometheus / OpenMetrics HTTP handler for a gopheragent BudgetTracker. |
|
audio
Package audio defines provider-neutral types for speech-to-text.
|
Package audio defines provider-neutral types for speech-to-text. |
|
builder
Package builder provides YAML-driven agent configuration and a global tool catalog.
|
Package builder provides YAML-driven agent configuration and a global tool catalog. |
|
cache
Package cache provides a trigram-based similarity LRU cache for deduplicating tool results.
|
Package cache provides a trigram-based similarity LRU cache for deduplicating tool results. |
|
eval
Package eval is an evaluation harness for GopherAgent agents.
|
Package eval is an evaluation harness for GopherAgent agents. |
|
history
Package history defines conversation storage types and session backends.
|
Package history defines conversation storage types and session backends. |
|
history/historyfake
Package historyfake provides a test-friendly SessionManager fake for consumers writing agent-integration tests without standing up a real session backend.
|
Package historyfake provides a test-friendly SessionManager fake for consumers writing agent-integration tests without standing up a real session backend. |
|
llm
Package llm hosts provider-neutral LLM utilities — currently the rule-based RouterProvider for multi-model selection — and the per-provider subpackages.
|
Package llm hosts provider-neutral LLM utilities — currently the rule-based RouterProvider for multi-model selection — and the per-provider subpackages. |
|
llm/anthropic
Package anthropic implements agent.LLMProvider for Anthropic's Claude models via the Messages API, including prompt caching, extended thinking, and structured output (synthesized-tool JSON mode).
|
Package anthropic implements agent.LLMProvider for Anthropic's Claude models via the Messages API, including prompt caching, extended thinking, and structured output (synthesized-tool JSON mode). |
|
llm/gemini
Package gemini implements agent.LLMProvider for Google Gemini — both the public Gemini API and Vertex AI — plus the Gemini-backed embedder and multimodal media analyzer.
|
Package gemini implements agent.LLMProvider for Google Gemini — both the public Gemini API and Vertex AI — plus the Gemini-backed embedder and multimodal media analyzer. |
|
llm/llmfake
Package llmfake provides in-tree fakes for the agent.LLMProvider interface, mirroring pkg/history/historyfake for the session layer.
|
Package llmfake provides in-tree fakes for the agent.LLMProvider interface, mirroring pkg/history/historyfake for the session layer. |
|
llm/openai
Package openai implements agent.LLMProvider for the OpenAI Chat Completions API and any OpenAI-compatible endpoint (Ollama, Groq, Together AI, vLLM, ...), plus the OpenAI-backed embedder, vision analyzer, and history summary provider.
|
Package openai implements agent.LLMProvider for the OpenAI Chat Completions API and any OpenAI-compatible endpoint (Ollama, Groq, Together AI, vLLM, ...), plus the OpenAI-backed embedder, vision analyzer, and history summary provider. |
|
memory
Package memory provides cross-session note persistence so agents can learn between sessions without retraining.
|
Package memory provides cross-session note persistence so agents can learn between sessions without retraining. |
|
skills
Package skills implements progressive disclosure of agent instructions, following the Agent Skills format (https://agentskills.io).
|
Package skills implements progressive disclosure of agent instructions, following the Agent Skills format (https://agentskills.io). |
|
telemetry
Package telemetry provides OpenTelemetry integration for GopherAgent via the EventHandler system.
|
Package telemetry provides OpenTelemetry integration for GopherAgent via the EventHandler system. |
|
telemetry/otelllm
Package otelllm provides an OpenTelemetry instrumenting decorator for any agent.LLMProvider.
|
Package otelllm provides an OpenTelemetry instrumenting decorator for any agent.LLMProvider. |
|
telemetry/otelsetup
Package otelsetup wires an OpenTelemetry OTLP pipeline for gopheragent with a single call.
|
Package otelsetup wires an OpenTelemetry OTLP pipeline for gopheragent with a single call. |
|
telemetry/oteltools
Package oteltools provides an OpenTelemetry tools.Middleware that traces each tool execution and records latency and error metrics.
|
Package oteltools provides an OpenTelemetry tools.Middleware that traces each tool execution and records latency and error metrics. |
|
telemetry/semconv
Package semconv holds the OpenTelemetry attribute keys and metric names shared by the gopheragent instrumentation packages (otelllm, oteltools, and the agent loop).
|
Package semconv holds the OpenTelemetry attribute keys and metric names shared by the gopheragent instrumentation packages (otelllm, oteltools, and the agent loop). |
|
tools
Package tools defines the Tool interface and extension utilities.
|
Package tools defines the Tool interface and extension utilities. |
|
tools/toolsfake
Package toolsfake provides a configurable tools.Tool fake for agent tests.
|
Package toolsfake provides a configurable tools.Tool fake for agent tests. |
Click to show internal directories.
Click to hide internal directories.