pkg/

directory
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent provides the core orchestration loop for GopherAgent.
Package agent provides the core orchestration loop for GopherAgent.
Package agentmetrics exposes a Prometheus / OpenMetrics HTTP handler for a gopheragent BudgetTracker.
Package agentmetrics exposes a Prometheus / OpenMetrics HTTP handler for a gopheragent BudgetTracker.
Package builder provides YAML-driven agent configuration and a global tool catalog.
Package builder provides YAML-driven agent configuration and a global tool catalog.
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.
Package eval is an evaluation harness for GopherAgent agents.
Package eval is an evaluation harness for GopherAgent agents.
Package history defines conversation storage types and session backends.
Package history defines conversation storage types and session backends.
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.
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).
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.
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.
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.
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.
Package telemetry provides OpenTelemetry integration for GopherAgent via the EventHandler system.
Package telemetry provides OpenTelemetry integration for GopherAgent via the EventHandler system.
Package tools defines the Tool interface and extension utilities.
Package tools defines the Tool interface and extension utilities.
toolsfake
Package toolsfake provides a configurable tools.Tool fake for agent tests.
Package toolsfake provides a configurable tools.Tool fake for agent tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL