harness

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-llm

Build tool-using agents in Go. The root package runs the conversation, validates model output against Go types, and gives your application control over every tool call. It requires Go 1.25.8 or later.

go get github.com/natexcvi/go-llm

A typed agent

This agent looks up inventory in application code and returns a validated Go struct. The model name and credentials come from the calling application.

package main

import (
	"context"
	"errors"
	"fmt"
	"log"
	"os"

	harness "github.com/natexcvi/go-llm"
	"github.com/natexcvi/go-llm/models"
)

type Lookup struct {
	SKU string `json:"sku"`
}

type Stock struct {
	SKU   string `json:"sku"`
	Units int    `json:"units"`
}

func main() {
	lookup := harness.NewTool("lookup_stock", "Look up the available units for a SKU.",
		func(ctx context.Context, in Lookup) (Stock, error) {
			if in.SKU != "A42" {
				return Stock{}, harness.Retry(errors.New("unknown SKU"))
			}
			return Stock{SKU: in.SKU, Units: 7}, nil
		})

	agent := harness.Agent[Stock]{
		Model: models.OpenAI{
			Model:  os.Getenv("OPENAI_MODEL"),
			APIKey: os.Getenv("OPENAI_API_KEY"),
		},
		Output:       harness.JSON[Stock](),
		Instructions: "Check inventory before answering.",
		Capabilities: []harness.Capability{harness.Tools(lookup)},
		Limits:       harness.Limits{Requests: 5, ToolCalls: 2},
	}
	result, err := agent.Run(context.Background(), "How many A42 units are available?", harness.Options{})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%s has %d units\n", result.Output.SKU, result.Output.Units)
}

Use harness.Text() for free text. For deterministic tests, supply a harness.ModelFunc that returns model responses directly. The runnable example in agent_test.go needs no network or API key.

Workspaces and capabilities

capabilities.Coder combines file reads and edits, command execution, repository instructions, planning, and a read-only explorer. Choose the files and executor when constructing it.

w, err := workspace.Open("./repo", []string{"PATH=/usr/local/go/bin:/usr/bin:/bin"})
if err != nil {
	return err
}
defer w.Close()

agent := harness.Agent[string]{
	Model: model, Output: harness.Text(),
	Capabilities: []harness.Capability{
		capabilities.Coder(w, w, "go", "gofmt"),
		capabilities.ReportRemainingBudget(),
	},
}

Local file operations use os.Root. Commands run with the host user's privileges and the environment supplied to workspace.Open. A program allowlist checks the executable the agent requests. Programs such as go can launch their own subprocesses. For container execution, pass a workspace from workspace.OpenContainer. For a remote POSIX host, use workspace.OpenSSH with an authenticated, host-key-verified SSH connection.

capabilities.Researcher combines a search and page-fetch provider, bounded tool output and a separate research agent. The integrations package includes Keenable, Exa and You.com implementations. integrations.MCP discovers remote tools through the Go MCP SDK. integrations.Hosted selects a service endpoint and accepts an application-authenticated HTTP client.

The browser package drives a stateful Chromium tab through the DevTools Protocol. Configure browser.Chromium{Origins: []string{"https://example.org"}}.Capability() to expose navigation, form interaction and reading tools. Its integration test runs against a local form. Use browser.BrowserUse to delegate a browsing goal to a child agent with its own tab and step budget.

Pass Options.Images to attach image URLs or bytes to the current prompt. The OpenAI Chat Completions, OpenAI Responses and Anthropic Messages transports support image input. For checkpoints with large binary images, storage.MediaArchive stores the bytes by SHA-256 and validates the digest on restore.

Long-running conversations

Install a compaction policy to keep the active conversation within a budget. This example tries clearing old tool output first. It calls the summarizer only if the conversation still exceeds 70% of the configured window. The most recent groups of messages retain their tool call/result pairs.

budget := capabilities.ContextBudget{Window: 128_000}
policy := capabilities.CompactionPolicy{
    Budget: budget, TargetFraction: 0.7, OnRequest: true,
    Strategies: []capabilities.CompactionStrategy{
        capabilities.ClearOldResults(4, 3),
        capabilities.RetainRecent(6, capabilities.ModelSummary(model)),
    },
}
agent := harness.Agent[string]{
    Model: model, Output: harness.Text(),
    Capabilities: []harness.Capability{policy.Capability(), capabilities.PruneToolResults()},
}

The policy updates the conversation saved by Run, Advance and Resume. Use Options.Checkpoint to archive earlier versions when needed. compact_context asks for a pass before the next model request. prune_tool_result lets the model replace a specific result it just received with a shorter note. ReportContextUsage exposes the estimate and window size. Supply the model's window explicitly when using fractional targets. The fallback is 200,000 tokens.

For provider-native compaction, use capabilities.NativeSummary(model, keepGroups) with models.OpenAIResponses or models.Anthropic. Both transports also accept CompactAtTokens for server-managed compaction. Native blocks carry provider data that must be replayed on the originating transport and endpoint. Model-backed summarizers, judges and on-demand provider compaction count toward the run's request and token limits.

Use capabilities.SubAgents{Agents: delegates}.Capability() for a named roster with a shared usage budget. Each child gets fresh history and inherits authorization. IncludeSelf adds a fresh run of the original agent. ForwardEvents attaches the delegate path to child events. The single-tool SubAgent helper retains its independent accounting.

capabilities.Memory(store) records a bounded excerpt of MEMORY.md and filenames with the next user prompt when the notebook changes. NotebookOptions configures read and search limits. SkillCatalog layers skill libraries in precedence order and supports explicit inclusion, exclusion and duplicate handling. Enable ReadFiles to let loaded skills read bundled text through a rooted workspace or embedded filesystem.

Calling tools from code

The optional codemode package lets a model call several Go tools in a single Starlark program. Build the interpreter from this repository with the Go toolchain.

GOOS=wasip1 GOARCH=wasm go build -o harness-code.wasm ./codemode/cmd/harness-code

Read the module with os.ReadFile, pass the bytes to codemode.Open(ctx, module), and install engine.Capability(lookup). Close the engine after the application finishes serving runs. The guest receives its source and prior tool results through standard input. Each evaluation gets a fresh instance, 64 MiB of linear memory and a five-second deadline. Programs can use loops, comprehensions and named tool arguments. Only the final expression and printed output enter the outer conversation. Approval pauses preserve completed nested calls. Use engine.DynamicWorkflow to expose named child agents as functions in a program with a shared call budget.

Code mode keeps a REPL by default. Variables and functions survive successive snippets and checkpoint restores. A call with restart: true clears the session. The guest reconstructs bindings by replaying completed snippets against their recorded tool results. The session holds up to 64 snippets and shares the guest input and execution limits. Each new agent run starts a fresh session. Use engine.Stateless(lookup) for independent snippets or to run a guest module built before REPL support.

Install engine.CapabilityCreation(store) to let an agent author, validate, list and disable named Starlark transformations. Install engine.LoadActive(store) to load enabled tools at run start. Each tool receives a params dictionary. Use a dedicated store per authoring scope.

Runs, approvals and recovery

Configure an agent once before running it concurrently. Each run creates its own tools and capability state. A caller that supplies a store, job manager or peer network chooses which runs share that resource.

  • Pass Options.History to continue a conversation. Result.History includes the supplied messages, the user prompt, model responses and correlated tool results.
  • Pass Options.Observe for request, response, tool and final events. OpenAI and Anthropic also emit incremental text. Returning an error from the observer stops the run.
  • Use Options.Authorize to approve, deny or defer a call before execution. On errors.Is(err, harness.ErrDeferred), persist the snapshot and resume it with a decision. A deferred call stays paused if the resumed run has no authorizer.
  • Connect Options.Checkpoint to a memory, directory or SQL store with storage.Checkpoint. Reload with storage.Load and call Agent.Resume. Saved pending calls, usage and bound state survive a restart. Resuming a completed checkpoint returns its recorded output.
  • Checkpoints cover completed tool batches, approval pauses, output corrections and final responses. A process failure between an external side effect and its checkpoint can replay that effect. Use idempotency keys for such tools. Use one writer per run key.
  • harness.Retry(err) sends a correctable handler error to the model. Other handler errors return to the application. Inspect ErrRetries and ErrLimit with errors.Is.

Durable execution

Use harness.Start and Agent.Advance to drive one top-level model request or one pending tool call at a time. Compaction helper requests execute within the enclosing model step. The returned snapshot contains the next pending action. Persist it before advancing again.

The durable/lambda adapter uses the AWS durable execution SDK. Inside a Lambda durable handler, call lambda.Run(ctx, agent, harness.Start(prompt, nil), options). The durable/azure adapter registers an orchestrator and activity with a Microsoft Durable Task worker. Both adapters can suspend for approval. For PostgreSQL task queues, use durable/absurd inside an Absurd task or durable/pgtask with a claimed pgtask lease. Each step reconstructs its capabilities from the snapshot, so use a shared store for data that needs to cross steps. Use idempotency keys for side effects that a worker can retry before recording completion.

CLI

go run ./go-llm-cli run --model "$OPENAI_MODEL" "Explain Go interfaces"
go run ./go-llm-cli run --model "$OPENAI_MODEL" --preset coder --workspace . --program go "Run the tests and summarize failures"

The CLI accepts OPENAI_API_KEY and an optional OPENAI_BASE_URL. The researcher preset uses Keenable and accepts KEENABLE_API_KEY.

Compatibility and verification

The comparison target is Pydantic AI Harness 0.73.0. The coverage table records native implementations, behavior checked against the pinned release, and outstanding ports. Coverage and differences

Existing imports of agents, engines, tools, memory, evaluation and prebuilt still work. Existing CLI commands use those packages. New applications can start at the module root without importing the legacy stack.

CGO_ENABLED=0 go build ./...
go test -race . ./capabilities ./models ./integrations ./storage ./workspace/... ./durable/... ./browser ./codemode/...
go test ./...

The native harness tests use local model fixtures, HTTP and SSH servers, SQLite, and the AWS durable SDK local runner. The Chromium test runs when a browser is installed. Set GO_LLM_TEST_POSTGRES to a dedicated database to exercise PostgreSQL storage and the Microsoft Durable Task worker. Set GO_LLM_TEST_ABSURD or GO_LLM_TEST_PGTASK to exercise a database with the respective queue schema installed. The Docker workspace test runs when GO_LLM_DOCKER_TEST_IMAGE names an available image containing cat. The legacy tool suite also exercises Chromium, Docker and Python.

Documentation

Overview

Package harness runs typed, tool-using agents. An Agent can serve concurrent conversations. Capabilities install their tools and hooks separately for each run.

Index

Examples

Constants

This section is empty.

Variables

View Source
var (
	ErrLimit   = errors.New("run limit reached")
	ErrRetries = errors.New("model correction limit reached")
)
View Source
var ErrDeferred = errors.New("tool call awaits approval")

Functions

func AccountModelRequest

func AccountModelRequest(ctx context.Context, op func(context.Context) (Usage, error)) error

AccountModelRequest records a helper model request made by a history processor. The operation returns the provider's input and output usage. Outside a run it executes directly. Within a run, helper requests share the normal request and token limits, including the enclosing delegation budget.

func BindState

func BindState[T any](r *Run, name string, state *T) error

BindState restores a capability's state when resuming and includes it in subsequent checkpoints. Bind a pointer before installing hooks and tools.

func Retry

func Retry(err error) error

Retry sends a recoverable tool or guardrail error to the model. Other handler errors stop the run and remain available to errors.Is and errors.As.

Types

type Agent

type Agent[T any] struct {
	Model        Model
	Output       Output[T]
	Instructions string
	Capabilities []Capability
	Limits       Limits
	// MaxRetries defaults to one model correction. Set a negative value for none.
	MaxRetries int
}
Example
package main

import (
	"context"
	"fmt"

	h "github.com/natexcvi/go-llm"
)

func main() {
	type Answer struct {
		City string `json:"city"`
	}
	model := h.ModelFunc(func(context.Context, h.Request) (h.Response, error) {
		return h.Response{Text: `{"city":"Lisbon"}`}, nil
	})
	agent := h.Agent[Answer]{Model: model, Output: h.JSON[Answer]()}
	result, err := agent.Run(context.Background(), "What is the capital of Portugal?", h.Options{})
	if err != nil {
		panic(err)
	}
	fmt.Println(result.Output.City)
}
Output:
Lisbon

func (Agent[T]) Advance

func (a Agent[T]) Advance(ctx context.Context, s Snapshot, opts Options) (Result[T], error)

Advance runs at most one model request or one pending tool call. Persist the returned snapshot before invoking it again. Like Resume, it reinstalls capabilities from saved state and closes run resources before returning.

func (Agent[T]) Resume

func (a Agent[T]) Resume(ctx context.Context, s Snapshot, opts Options) (Result[T], error)

Resume continues from a saved snapshot. Run-scoped capabilities are installed again. Applications can supply durable capability stores.

func (Agent[T]) Run

func (a Agent[T]) Run(ctx context.Context, prompt string, opts Options) (Result[T], error)

type Call

type Call struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	Arguments string `json:"arguments"`
}

Arguments retains the model's original text, including malformed JSON that a tool may ask the model to correct.

type Capability

type Capability func(context.Context, *Run) error

func Combine

func Combine(caps ...Capability) Capability

func ToolBridge

func ToolBridge(wrapped ...Capability) Capability

ToolBridge publishes a fixed search/describe/call interface for the tools in wrapped. Authorization and execution middleware receive the underlying call.

func Tools

func Tools(tools ...Tool) Capability

type Decision

type Decision uint8

Decision is the application policy for one tool call.

const (
	Approve Decision = iota
	Deny
	Defer
)

type Definition

type Definition struct {
	Name        string          `json:"name"`
	Description string          `json:"description"`
	Schema      json.RawMessage `json:"parameters_json_schema"`
}

type Event

type Event struct {
	// Delegates lists the child agents through which this event was forwarded.
	Delegates []string
	Kind      string
	Text      string
	Call      Call
	Usage     Usage
}

type Image

type Image struct {
	URL       string `json:"url,omitempty"`
	MediaType string `json:"media_type,omitempty"`
	Data      []byte `json:"data,omitempty"`
}

Image is an image input for a user turn. Supply an HTTP(S) URL or the raw image bytes and their media type. Binary data is base64-encoded in snapshots.

func (Image) Validate

func (i Image) Validate() error

type Limits

type Limits struct {
	// Zero uses 50 requests. Other zero limits are disabled.
	Requests, ToolCalls, InputTokens, OutputTokens, TotalTokens int
}

type Message

type Message struct {
	Reasoning []ReasoningItem `json:"reasoning,omitempty"`

	Native *NativeContext `json:"native_context,omitempty"`

	// Pinned messages (and their tool exchange) survive local history compaction.
	Pinned bool `json:"pinned,omitempty"`
	// ContextTokens is the provider's input plus output usage through this
	// message, or an adjusted estimate after a history rewrite. Zero is unknown.
	ContextTokens int `json:"context_tokens,omitempty"`
	// ContextKind identifies framework-generated user-role context in snapshots.
	ContextKind string `json:"context_kind,omitempty"`

	Images []Image `json:"images,omitempty"`
	Model  string  `json:"model,omitempty"`
	Role   Role    `json:"role"`
	Text   string  `json:"text,omitempty"`
	Calls  []Call  `json:"calls,omitempty"`
	CallID string  `json:"call_id,omitempty"`
}

type Model

type Model interface {
	Generate(context.Context, Request) (Response, error)
}

type ModelFunc

type ModelFunc func(context.Context, Request) (Response, error)

func (ModelFunc) Generate

func (f ModelFunc) Generate(ctx context.Context, q Request) (Response, error)

type NamedModel

type NamedModel interface{ ModelName() string }

NamedModel identifies the model used for cross-model history and cache telemetry.

type NativeContext

type NativeContext struct {
	// Boundary marks server-side compaction of everything before this response.
	Boundary  bool   `json:"boundary,omitempty"`
	Transport string `json:"transport"`
	Endpoint  string `json:"endpoint"`
	Content   string `json:"content,omitempty"`
	ID        string `json:"id,omitempty"`
	Signature string `json:"signature,omitempty"`
	Encrypted string `json:"encrypted,omitempty"`
	Tokens    int    `json:"tokens,omitempty"`
}

NativeContext is a provider-issued compaction item. Replay requires the issuing transport and endpoint. Keep its contents intact across checkpoints.

type Options

type Options struct {

	// Images accompany the new user prompt passed to Run. Resume uses the saved history.
	Images    []Image
	Authorize func(context.Context, Call) (Decision, error)
	History   []Message
	Observe   func(context.Context, Event) error
	// Checkpoint receives a complete turn before the next model request.
	Checkpoint func(context.Context, Snapshot) error
	// contains filtered or unexported fields
}

type Output

type Output[T any] struct {
	Schema json.RawMessage
	Decode func(string) (T, error)
}

Output defines how a final response becomes an application value.

func JSON

func JSON[T any]() Output[T]

JSON derives a JSON Schema from T, validates required fields and constraints, and decodes the validated value. Struct fields use their standard json tags.

func Text

func Text() Output[string]

type ReasoningItem

type ReasoningItem struct {
	BeforeCall int             `json:"before_call,omitempty"`
	Endpoint   string          `json:"endpoint"`
	ID         string          `json:"id,omitempty"`
	Encrypted  string          `json:"encrypted_content"`
	Summary    json.RawMessage `json:"summary,omitempty"`
}

ReasoningItem stores stateless Responses reasoning needed by later tool turns.

type Request

type Request struct {
	Messages     []Message
	Tools        []Definition
	OutputSchema json.RawMessage
}

type Response

type Response struct {
	Native                            *NativeContext
	ContextTokens                     int
	Reasoning                         []ReasoningItem
	Model                             string
	CacheReadTokens, CacheWriteTokens int
	Text                              string
	Calls                             []Call
	InputTokens, OutputTokens         int
}

type Result

type Result[T any] struct {
	Output T
	Snapshot
}

type Role

type Role string
const (
	System     Role = "system"
	User       Role = "user"
	Assistant  Role = "assistant"
	ToolResult Role = "tool"
)

type Run

type Run struct {
	// FirstRequest is true during preparation of the first top-level model request.
	FirstRequest bool

	// Authorize is the application policy inherited by delegated agents.
	Authorize func(context.Context, Call) (Decision, error)
	Step      int

	Prompt        string
	Model         Model
	Instructions  []string
	Limits        Limits
	PrepareCall   []func(Call) (Call, error)
	AfterResponse []func(context.Context, Response) error
	// TransformText sanitizes assistant text before history, output decoding and
	// observer delivery. Streaming deltas are held until transforms finish.
	TransformText []func(context.Context, string) (string, error)
	ReviewOutput  []func(context.Context, string) (string, error)
	CheckDelta    []func(context.Context, string) error
	// RewriteHistory processes durable conversation history before request-only hooks.
	// Return nil for no change. Processors receive an isolated copy.
	RewriteHistory []func(context.Context, Request, Usage) ([]Message, error)
	BeforeRequest  []func(context.Context, *Request, Usage) error
	AroundTool     []ToolMiddleware
	CheckOutput    []func(context.Context, string) error
	OnClose        []func() error
	// contains filtered or unexported fields
}

Run is the per-invocation configuration. Hooks run in registration order. Tools execute sequentially in model order so later calls observe prior writes.

func (*Run) ChildOptions

func (r *Run) ChildOptions(ctx context.Context, name string, shareUsage, forwardEvents bool) (Options, error)

ChildOptions inherits authorization and optionally forwards events and usage. Use synchronously inside a delegated tool. A shared account charges each operation as it occurs, including work done before a child suspends.

func (*Run) EditAnsweredToolResult

func (r *Run) EditAnsweredToolResult(ctx context.Context, id string, edit func(Call, string) (string, error)) error

EditAnsweredToolResult replaces one result from the tool batch seen by the latest model response. It is available during tool execution. The change is persisted with the executing tool's checkpoint.

func (*Run) FilterPrompt

func (r *Run) FilterPrompt(f func(string) (string, error)) error

FilterPrompt applies a prompt filter during capability installation. A restored checkpoint already contains the filtered prompt. Multiple filters on a fresh run see the previous filter's result.

func (*Run) InvokeTool

func (r *Run) InvokeTool(ctx context.Context, t Tool, c Call) (string, error)

InvokeTool calls an explicitly supplied nested tool from inside a tool handler. Invoke synchronously in the handler's goroutine. The application authorizes the nested call, and run middleware, limits and events see it.

func (*Run) Register

func (r *Run) Register(tools ...Tool) error

func (*Run) SelfAgent

func (r *Run) SelfAgent() Agent[string]

SelfAgent returns a fresh-history delegate with the original agent's tools, instructions, capabilities and output validation, using the current model.

type Snapshot

type Snapshot struct {
	PromptFiltered bool `json:"prompt_filtered,omitempty"`
	// RequestStep identifies the parent request that produced the pending calls.
	RequestStep      int                        `json:"request_step,omitempty"`
	Offered          []string                   `json:"offered,omitempty"`
	Pending          []Call                     `json:"pending,omitempty"`
	AwaitingApproval bool                       `json:"awaiting_approval,omitempty"`
	Correction       string                     `json:"correction,omitempty"`
	Complete         bool                       `json:"complete,omitempty"`
	Prompt           string                     `json:"prompt"`
	State            map[string]json.RawMessage `json:"state,omitempty"`
	History          []Message                  `json:"history"`
	Usage            Usage                      `json:"usage"`
	Retries          int                        `json:"retries"`
}

func Start

func Start(prompt string, previous []Message, images ...Image) Snapshot

Start constructs the initial state of a conversation for Advance.

type StreamingModel

type StreamingModel interface {
	Model
	Stream(context.Context, Request, func(string) error) (Response, error)
}

StreamingModel emits incremental text and returns the assembled response. A callback error terminates the stream and must be propagated.

type Tool

type Tool struct {
	Definition
	// TextResult preserves string output when embedding the tool in a program.
	TextResult bool
	Execute    func(context.Context, Call) (string, error)
}

func NewTool

func NewTool[I, O any](name, description string, fn func(context.Context, I) (O, error)) Tool

NewTool binds a typed Go function. Invalid arguments request a model correction. String results are returned verbatim and other values are JSON encoded.

type ToolHandler

type ToolHandler func(context.Context, Call) (string, error)

type ToolMiddleware

type ToolMiddleware func(ToolHandler) ToolHandler

type Usage

type Usage struct {
	Requests     int `json:"requests"`
	ToolCalls    int `json:"tool_calls"`
	InputTokens  int `json:"input_tokens"`
	OutputTokens int `json:"output_tokens"`
}

Directories

Path Synopsis
Package browser drives Chromium through the Chrome DevTools Protocol.
Package browser drives Chromium through the Chrome DevTools Protocol.
Package capabilities provides composable run policies and tools.
Package capabilities provides composable run policies and tools.
Package codemode runs small tool-using Starlark programs in isolated WebAssembly instances.
Package codemode runs small tool-using Starlark programs in isolated WebAssembly instances.
cmd/harness-code command
Command harness-code is the isolated guest interpreter for package codemode.
Command harness-code is the isolated guest interpreter for package codemode.
internal/wire
Package wire defines the request exchanged with the isolated interpreter.
Package wire defines the request exchanged with the isolated interpreter.
Package durable defines the serializable activity boundary used by workflow backends.
Package durable defines the serializable activity boundary used by workflow backends.
absurd
Package absurd records agent steps within a registered Absurd task handler.
Package absurd records agent steps within a registered Absurd task handler.
azure
Package azure integrates the harness with the Microsoft Durable Task Go SDK.
Package azure integrates the harness with the Microsoft Durable Task Go SDK.
lambda
Package lambda runs a Go agent inside an AWS Lambda durable function.
Package lambda runs a Go agent inside an AWS Lambda durable function.
pgtask
Package pgtask journals agent steps with the pgtask PostgreSQL protocol.
Package pgtask journals agent steps with the pgtask PostgreSQL protocol.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package integrations connects native Go agents to hosted and local MCP servers.
Package integrations connects native Go agents to hosted and local MCP servers.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package models contains model transports for the harness.
Package models contains model transports for the harness.
Package storage saves named JSON checkpoints and agent memory documents.
Package storage saves named JSON checkpoints and agent memory documents.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package workspace provides the file and command backends used by capabilities.
Package workspace provides the file and command backends used by capabilities.
opensandbox
Package opensandbox adapts an existing OpenSandbox instance to the harness.
Package opensandbox adapts an existing OpenSandbox instance to the harness.
sprite
Package sprite adapts a Fly.io Sprite to the harness workspace interfaces.
Package sprite adapts a Fly.io Sprite to the harness workspace interfaces.

Jump to

Keyboard shortcuts

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