internal/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT

Directories

Path Synopsis
Package adapters provides concrete implementations of the ports interfaces.
Package adapters provides concrete implementations of the ports interfaces.
Package engine drives the agent loop: send messages → consume the streamed response → execute requested tools → loop until the model stops on its own.
Package engine drives the agent loop: send messages → consume the streamed response → execute requested tools → loop until the model stops on its own.
llm
Package llm defines the provider-agnostic LLM interface used by the agent engine.
Package llm defines the provider-agnostic LLM interface used by the agent engine.
alibaba
Package alibaba registers an "alibaba" provider that wraps the openai adapter against Alibaba Cloud's DashScope OpenAI-compatible endpoint.
Package alibaba registers an "alibaba" provider that wraps the openai adapter against Alibaba Cloud's DashScope OpenAI-compatible endpoint.
anthropic
Package anthropic implements the llm.Provider contract against the Anthropic Messages API.
Package anthropic implements the llm.Provider contract against the Anthropic Messages API.
gemini
Package gemini registers a "gemini" provider that wraps the openai adapter against Google's OpenAI-compatible endpoint at generativelanguage.googleapis.com.
Package gemini registers a "gemini" provider that wraps the openai adapter against Google's OpenAI-compatible endpoint at generativelanguage.googleapis.com.
litellm
Package litellm registers a "litellm" provider that wraps the openai provider with a custom base URL and API key.
Package litellm registers a "litellm" provider that wraps the openai provider with a custom base URL and API key.
ollama
Package ollama implements the llm.Provider contract against the Ollama /api/chat endpoint.
Package ollama implements the llm.Provider contract against the Ollama /api/chat endpoint.
openai
Package openai implements the llm.Provider contract against the OpenAI Chat Completions API.
Package openai implements the llm.Provider contract against the OpenAI Chat Completions API.
Package logging provides structured logging for AgentCTL using stdlib slog.
Package logging provides structured logging for AgentCTL using stdlib slog.
Package mcp implements a minimal Model Context Protocol client over the stdio transport.
Package mcp implements a minimal Model Context Protocol client over the stdio transport.
Package ports defines the interfaces that decouple the engine and CLI from concrete infrastructure.
Package ports defines the interfaces that decouple the engine and CLI from concrete infrastructure.
Package tools defines the Tool interface and a registry for builtins.
Package tools defines the Tool interface and a registry for builtins.
Package userconfig manages the per-user CLI configuration: which provider the bare `m` command uses, the model id, and provider-specific connection details.
Package userconfig manages the per-user CLI configuration: which provider the bare `m` command uses, the model id, and provider-specific connection details.

Jump to

Keyboard shortcuts

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