pkg/

directory
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: Apache-2.0

Directories

Path Synopsis
agentconfig
Package agentconfig defines agents as data: a serializable Config, a Registry that finds the configs a namespace can run, and a Builder that turns them into a plain agents.Agent from dependencies held in code.
Package agentconfig defines agents as data: a serializable Config, a Registry that finds the configs a namespace can run, and a Builder that turns them into a plain agents.Agent from dependencies held in code.
attachments
Package attachments resolves application-owned immutable files without putting their contents in conversation or workflow state.
Package attachments resolves application-owned immutable files without putting their contents in conversation or workflow state.
eval
Package eval runs an agent against a fixed set of cases and scores what it did, so a change to a prompt, a model, or a tool can be measured instead of eyeballed.
Package eval runs an agent against a fixed set of cases and scores what it did, so a change to a prompt, a model, or a tool can be measured instead of eyeballed.
runtime/local_runtime
Package local_runtime provides a goroutine-based agent runtime that streams via a StreamBroker, mirroring the structure of the Temporal and Restate runtimes.
Package local_runtime provides a goroutine-based agent runtime that streams via a StreamBroker, mirroring the structure of the Temporal and Restate runtimes.
runtime/restate_agent_builder
Package restate_agent_builder runs config-built agents (see agentconfig) on Restate through one generic workflow, so an agent created after the service started runs durably without registering anything.
Package restate_agent_builder runs config-built agents (see agentconfig) on Restate through one generic workflow, so an agent created after the service started runs durably without registering anything.
runtime/temporal_agent_builder
Package temporal_agent_builder runs config-built agents (see agentconfig) on Temporal through one generic workflow, so an agent created after the worker started runs durably without registering anything.
Package temporal_agent_builder runs config-built agents (see agentconfig) on Temporal through one generic workflow, so an agent created after the worker started runs durably without registering anything.
sandbox/internal/execsandbox
Package execsandbox implements sandbox.Sandbox over a provider's native exec, for containers that run no process of ours.
Package execsandbox implements sandbox.Sandbox over a provider's native exec, for containers that run no process of ours.
sandbox/internal/httpapi
Package httpapi contains transport shared by sandbox provider adapters.
Package httpapi contains transport shared by sandbox provider adapters.
sandbox/internal/provision
Package provision contains configuration helpers for providers that create their own containers.
Package provision contains configuration helpers for providers that create their own containers.
sandbox/internal/sandboxtest
Package sandboxtest checks what a provider's exec path promises against a real container, which is the only place these behaviours can be observed: they come from the container runtime, the shell and the tools in the image.
Package sandboxtest checks what a provider's exec path promises against a real container, which is the only place these behaviours can be observed: they come from the container runtime, the shell and the tools in the image.
sandbox/providers/daytona
Package daytona implements sandbox.Provider using Daytona's control and toolbox APIs.
Package daytona implements sandbox.Provider using Daytona's control and toolbox APIs.
sandbox/providers/docker
Package docker provisions sandboxes through the Docker Engine API and runs commands in them with its exec API.
Package docker provisions sandboxes through the Docker Engine API and runs commands in them with its exec API.
sandbox/providers/e2b
Package e2b uses the E2B lifecycle API and envd's native Connect/file protocols.
Package e2b uses the E2B lifecycle API and envd's native Connect/file protocols.
sandbox/providers/k8s
Package k8s provisions sandbox pods with the official Kubernetes client and runs commands in them through the API server's exec subresource.
Package k8s provisions sandbox pods with the official Kubernetes client and runs commands in them through the API server's exec subresource.
skills
Package skills persists complete skill bundles independently of agent configuration.
Package skills persists complete skill bundles independently of agent configuration.
Package agui implements the AG-UI Protocol (https://github.com/ag-ui-protocol/ag-ui) as a serving surface for agents.
Package agui implements the AG-UI Protocol (https://github.com/ag-ui-protocol/ag-ui) as a serving surface for agents.
web
Package web embeds a ready-made browser chat client for the AG-UI protocol and serves it alongside the protocol endpoints.
Package web embeds a ready-made browser chat client for the AG-UI protocol and serves it alongside the protocol endpoints.
Package cache provides byte-oriented cache implementations.
Package cache provides byte-oriented cache implementations.
llm
middleware
Package middleware holds the gateway's built-in middleware: tracing, retry, and provider fallback.
Package middleware holds the gateway's built-in middleware: tracing, retry, and provider fallback.
providers/deepseek
Package deepseek is the provider client for DeepSeek.
Package deepseek is the provider client for DeepSeek.
providers/moonshot
Package moonshot is the provider client for Moonshot AI, which serves the Kimi model family.
Package moonshot is the provider client for Moonshot AI, which serves the Kimi model family.
providers/openaicompat
Package openaicompat is a provider client for any service that speaks the OpenAI /chat/completions wire format but does not implement the /responses API — Sarvam, DeepSeek, Kimi (Moonshot) and GLM (Z.ai) today.
Package openaicompat is a provider client for any service that speaks the OpenAI /chat/completions wire format but does not implement the /responses API — Sarvam, DeepSeek, Kimi (Moonshot) and GLM (Z.ai) today.
providers/sarvam
Package sarvam is the provider client for Sarvam AI - chat (the OpenAI-compatible /v1/chat/completions endpoint, bridged to the native Responses shape), text-to-speech and speech-to-text.
Package sarvam is the provider client for Sarvam AI - chat (the OpenAI-compatible /v1/chat/completions endpoint, bridged to the native Responses shape), text-to-speech and speech-to-text.
providers/zai
Package zai is the provider client for Z.ai (Zhipu AI), which serves the GLM model family.
Package zai is the provider client for Z.ai (Zhipu AI), which serves the GLM model family.
Package genai holds the OpenTelemetry GenAI semantic-convention attribute keys and well-known values used across the SDK and the gateway.
Package genai holds the OpenTelemetry GenAI semantic-convention attribute keys and well-known values used across the SDK and the gateway.
agentcore
Package agentcore exports OpenTelemetry spans to Amazon Bedrock AgentCore / CloudWatch GenAI Observability without an ADOT collector.
Package agentcore exports OpenTelemetry spans to Amazon Bedrock AgentCore / CloudWatch GenAI Observability without an ADOT collector.
knowledge
textsplitters
Package textsplitters provides text chunking by character length, token length, and allows adding more advanced strategies (semantic, sentence-aware, etc.) via the TextSplitter interface.
Package textsplitters provides text chunking by character length, token length, and allows adding more advanced strategies (semantic, sentence-aware, etc.) via the TextSplitter interface.
Package routines provides persistent scheduled agent tasks.
Package routines provides persistent scheduled agent tasks.

Jump to

Keyboard shortcuts

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