Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gridctl
command
|
|
|
examples
|
|
|
_mock-servers/local-stdio-server
command
Mock MCP Server for testing local process (stdio) MCP server support.
|
Mock MCP Server for testing local process (stdio) MCP server support. |
|
_mock-servers/mock-mcp-server
command
Mock MCP Server for testing external HTTP/SSE MCP server support.
|
Mock MCP Server for testing external HTTP/SSE MCP server support. |
|
registry/items/incident-triage-hybrid
command
Incident-triage-hybrid is the hybrid-pattern reference: a Go skill whose handler reads its own SKILL.md body β the severity matrix, decision rules, runbook, and stakeholder template β and feeds it as the LLM system prompt.
|
Incident-triage-hybrid is the hybrid-pattern reference: a Go skill whose handler reads its own SKILL.md body β the severity matrix, decision rules, runbook, and stakeholder template β and feeds it as the LLM system prompt. |
|
registry/items/triage-go
command
Triage-go is the typed Go counterpart to examples/registry/items/triage-ts.
|
Triage-go is the typed Go counterpart to examples/registry/items/triage-ts. |
|
internal
|
|
|
probe
Package probe implements the ephemeral MCP server probe used by the wizard to enumerate a server's tool list before it has been deployed.
|
Package probe implements the ephemeral MCP server probe used by the wizard to enumerate a server's tool list before it has been deployed. |
|
pkg
|
|
|
agent
Package agent is the gridctl agent runtime.
|
Package agent is the gridctl agent runtime. |
|
agent/compose
Package compose hosts the agent runtime's graph-level primitives that sit just above the eino adapter β primitives the rest of pkg/agent composes against without ever importing eino types directly.
|
Package compose hosts the agent runtime's graph-level primitives that sit just above the eino adapter β primitives the rest of pkg/agent composes against without ever importing eino types directly. |
|
agent/dev/devserver
Package devserver hosts the HTTP surface the agent IDE talks to.
|
Package devserver hosts the HTTP surface the agent IDE talks to. |
|
agent/dev/parser
Package parser extracts a flat node list from a typed-skill source file.
|
Package parser extracts a flat node list from a typed-skill source file. |
|
agent/dev/scaffold
Package scaffold renders the starter files `gridctl agent init` drops into a fresh project.
|
Package scaffold renders the starter files `gridctl agent init` drops into a fresh project. |
|
agent/dev/watcher
Package watcher recursively watches a project directory for typed-skill source changes and pushes events to subscribers.
|
Package watcher recursively watches a project directory for typed-skill source changes and pushes events to subscribers. |
|
agent/gateway
Package gateway adapts the existing pkg/mcp.Gateway into the agent.ToolCaller surface the runtime invokes during agentic loops.
|
Package gateway adapts the existing pkg/mcp.Gateway into the agent.ToolCaller surface the runtime invokes during agentic loops. |
|
agent/internal/eino
Package eino is the boundary between gridctl's agent runtime and the upstream cloudwego/eino library.
|
Package eino is the boundary between gridctl's agent runtime and the upstream cloudwego/eino library. |
|
agent/llm
Package llm hosts the gridctl LLM provider abstraction.
|
Package llm hosts the gridctl LLM provider abstraction. |
|
agent/llm/anthropic
Package anthropic implements agent.ChatModel against the Anthropic Messages API.
|
Package anthropic implements agent.ChatModel against the Anthropic Messages API. |
|
agent/llm/gateway
Package gateway is the LLM-side passthrough provider.
|
Package gateway is the LLM-side passthrough provider. |
|
agent/llm/google
Package google implements agent.ChatModel against the Google Gemini Generative Language API.
|
Package google implements agent.ChatModel against the Google Gemini Generative Language API. |
|
agent/llm/observed
Package observed wraps an agent.ChatModel with the gridctl observability surface β OTel spans, pricing.CalculateBreakdown for USD cost, and metrics.Accumulator.RecordCost with a synthetic provider name (no MCP envelope spoofing).
|
Package observed wraps an agent.ChatModel with the gridctl observability surface β OTel spans, pricing.CalculateBreakdown for USD cost, and metrics.Accumulator.RecordCost with a synthetic provider name (no MCP envelope spoofing). |
|
agent/llm/openai
Package openai implements agent.ChatModel against the OpenAI Chat Completions API.
|
Package openai implements agent.ChatModel against the OpenAI Chat Completions API. |
|
agent/orchestrator
Package orchestrator is the gridctl single-writer multi-agent primitive.
|
Package orchestrator is the gridctl single-writer multi-agent primitive. |
|
agent/persist
Package persist is the JSONL run-state ledger for the gridctl agent runtime.
|
Package persist is the JSONL run-state ledger for the gridctl agent runtime. |
|
agent/runner
Package runner orchestrates skill-run execution against the daemon's wired runtime, persisting the typed event ledger as it goes.
|
Package runner orchestrates skill-run execution against the daemon's wired runtime, persisting the typed event ledger as it goes. |
|
agent/runtime
Package runtime aggregates the agent runtime's process-wide state into a single handle the gateway hangs off via SetAgentRuntime.
|
Package runtime aggregates the agent runtime's process-wide state into a single handle the gateway hangs off via SetAgentRuntime. |
|
agent/sandbox
Package sandbox runs typed TypeScript skills in goja with the gridctl-shaped agent bindings (tool, llm, parallel, handoff, approval) injected as globals.
|
Package sandbox runs typed TypeScript skills in goja with the gridctl-shaped agent bindings (tool, llm, parallel, handoff, approval) injected as globals. |
|
agent/skill
Package skill is the gridctl typed Skill SDK.
|
Package skill is the gridctl typed Skill SDK. |
|
controller
Package controller implements the stack lifecycle management for gridctl.
|
Package controller implements the stack lifecycle management for gridctl. |
|
format
Package format provides output format conversion for MCP tool call results.
|
Package format provides output format conversion for MCP tool call results. |
|
git
Package git contains shared git helpers used by both the skills importer (pkg/skills) and the MCP server source builder (pkg/builder).
|
Package git contains shared git helpers used by both the skills importer (pkg/skills) and the MCP server source builder (pkg/builder). |
|
jsonrpc
Package jsonrpc provides shared JSON-RPC 2.0 types used by MCP and A2A protocols.
|
Package jsonrpc provides shared JSON-RPC 2.0 types used by MCP and A2A protocols. |
|
logging
Package logging provides shared logging utilities for gridctl.
|
Package logging provides shared logging utilities for gridctl. |
|
metrics
Package metrics provides token usage metrics collection and aggregation.
|
Package metrics provides token usage metrics collection and aggregation. |
|
optimize
Package optimize produces actionable findings from gateway-observed data β server registrations, per-server token + cost totals, and per-(server, tool) call counts β to help platform engineers reduce spend on a running gridctl stack.
|
Package optimize produces actionable findings from gateway-observed data β server registrations, per-server token + cost totals, and per-(server, tool) call counts β to help platform engineers reduce spend on a running gridctl stack. |
|
output
Package output provides terminal output formatting for gridctl with amber color theme.
|
Package output provides terminal output formatting for gridctl with amber color theme. |
|
pricing
Package pricing computes USD cost for MCP tool calls using model rate tables sourced from LiteLLM's `model_prices_and_context_window.json`.
|
Package pricing computes USD cost for MCP tool calls using model rate tables sourced from LiteLLM's `model_prices_and_context_window.json`. |
|
provisioner
Package provisioner detects installed LLM clients and manages their MCP gateway configuration, enabling zero-friction connection between gridctl and tools like Claude Desktop, Cursor, VS Code, and others.
|
Package provisioner detects installed LLM clients and manages their MCP gateway configuration, enabling zero-friction connection between gridctl and tools like Claude Desktop, Cursor, VS Code, and others. |
|
registry
Package registry β acceptance criteria runner.
|
Package registry β acceptance criteria runner. |
|
telemetry
Package telemetry implements opt-in disk persistence for the three signal types gridctl already captures in memory: logs, metrics, and traces.
|
Package telemetry implements opt-in disk persistence for the three signal types gridctl already captures in memory: logs, metrics, and traces. |
|
token
Package token provides token counting for MCP tool call content.
|
Package token provides token counting for MCP tool call content. |
|
tracing
Package tracing provides distributed tracing for the gridctl MCP gateway.
|
Package tracing provides distributed tracing for the gridctl MCP gateway. |
Click to show internal directories.
Click to hide internal directories.

