Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cogo
command
Command cogo is the entry point for the Cogo agentic CLI.
|
Command cogo is the entry point for the Cogo agentic CLI. |
|
internal
|
|
|
agent
Package agent wraps the Google ADK runner with Cogo-specific defaults (streaming mode, in-memory session service, app name) so callers in cmd/cogo, internal/headless, and internal/tui all hit the same shape.
|
Package agent wraps the Google ADK runner with Cogo-specific defaults (streaming mode, in-memory session service, app name) so callers in cmd/cogo, internal/headless, and internal/tui all hit the same shape. |
|
config
Package config defines the on-disk schema for `.agents/config.json` and the rules for discovering, parsing, and merging it with built-in defaults.
|
Package config defines the on-disk schema for `.agents/config.json` and the rules for discovering, parsing, and merging it with built-in defaults. |
|
headless
Package headless implements `cogo -p "prompt"` β a one-shot, no-TUI invocation that streams the assistant's response to stdout and exits.
|
Package headless implements `cogo -p "prompt"` β a one-shot, no-TUI invocation that streams the assistant's response to stdout and exits. |
|
initcmd
Package initcmd implements the `cogo init` subcommand: scaffolding .agents/{config.json, .gitignore, AGENTS.md} for a fresh project.
|
Package initcmd implements the `cogo init` subcommand: scaffolding .agents/{config.json, .gitignore, AGENTS.md} for a fresh project. |
|
mcp
Package mcp wires user-configured Model Context Protocol servers into Cogo's agent loop.
|
Package mcp wires user-configured Model Context Protocol servers into Cogo's agent loop. |
|
memory
Package memory loads project + user "agent memory" files (typically AGENTS.md) into the system prompt.
|
Package memory loads project + user "agent memory" files (typically AGENTS.md) into the system prompt. |
|
models
Package models is Cogo's adapter layer between cogo-side configuration and concrete LLM backends.
|
Package models is Cogo's adapter layer between cogo-side configuration and concrete LLM backends. |
|
models/gemini
Package gemini implements models.Provider for the Gemini family, covering both the public Gemini API (API-key auth) and Vertex AI (Application Default Credentials + GCP project).
|
Package gemini implements models.Provider for the Gemini family, covering both the public Gemini API (API-key auth) and Vertex AI (Application Default Credentials + GCP project). |
|
permissions
Package permissions implements Cogo's permission gate: the central chokepoint that decides whether each tool invocation may proceed.
|
Package permissions implements Cogo's permission gate: the central chokepoint that decides whether each tool invocation may proceed. |
|
session
Package session writes session transcripts to disk on exit.
|
Package session writes session transcripts to disk on exit. |
|
skills
Package skills loads Claude-compatible SKILL.md bundles from .agents/skills/<name>/ and exposes them as an ADK Toolset the agent can invoke.
|
Package skills loads Claude-compatible SKILL.md bundles from .agents/skills/<name>/ and exposes them as an ADK Toolset the agent can invoke. |
|
telemetry
Package telemetry initializes OpenTelemetry for the agent loop.
|
Package telemetry initializes OpenTelemetry for the agent loop. |
|
testutil
Package testutil provides shared test helpers for Cogo, most notably FakeModel β a deterministic implementation of google.golang.org/adk/model.LLM that lets us drive end-to-end agent tests without burning real tokens.
|
Package testutil provides shared test helpers for Cogo, most notably FakeModel β a deterministic implementation of google.golang.org/adk/model.LLM that lets us drive end-to-end agent tests without burning real tokens. |
|
tools
Package tools implements Cogo's built-in tool suite for the agent loop: file I/O, shell, todo tracking, and (later) web access.
|
Package tools implements Cogo's built-in tool suite for the agent loop: file I/O, shell, todo tracking, and (later) web access. |
|
tui
Package tui implements Cogo's interactive Bubble Tea program.
|
Package tui implements Cogo's interactive Bubble Tea program. |
|
usage
Package usage tracks token + cost accounting for the agent loop.
|
Package usage tracks token + cost accounting for the agent loop. |
Click to show internal directories.
Click to hide internal directories.