contenox

module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0

README

contenox

AI agents. Under your command.

Contenox is built for demanding work — and the people accountable for it. The same system carries work from an interactive terminal or editor into scripts, CI and unattended missions.

Choose the models and infrastructure. Attach only the tools the work requires. Keep policy, state and operational evidence under your control. No Contenox account is required.

contenox beam running a session

Docs: contenox.com


Start here

curl -fsSL https://contenox.com/install.sh | sh

Prefer to read it first?

curl -fsSLO https://contenox.com/install.sh
less install.sh
sh install.sh
contenox auto                           # choose a local model, verify it, and open the TUI

Run it from the project directory you want to work in. contenox auto --dry-run previews the choice. For an existing model server or a hosted API, use contenox setup, then contenox beam. See the quickstart for hardware and backend requirements.

To serve models to applications or other machines, follow Gateway: day one, then Gateway operations for service startup, access management, backups and upgrades.

contenox doctor reports anything missing; its first line is the verdict:

Ready: yes — run: contenox beam

contenox init marks the project — it writes .contenox/workspace.id here, and seeds the agents, envelopes and config into ~/.contenox/ so every project on the machine starts from them (contenox init --local seeds workspace copies instead). contenox vet checks a policy before anything runs under it. Sessions persist: contenox session list and contenox session switch <name> pick past contexts back up.


Ways in

contenox beam — the terminal client, first-party and in the box. Full-screen, the transcript is your native scrollback, the composer takes / for commands and @ to put a file in front of the agent. Bare contenox on a terminal opens it.

contenox beam                           # or just: contenox

contenox acp — the same agent over stdio to Zed, JetBrains, AionUi, OpenClaw and anything else that speaks the Agent Client Protocol. No plugin lock-in; per the protocol the editor owns the workspace, so the session works in the project you already have open, and approvals route through the editor's own permission UI.

contenox acp                            # speak ACP over stdio to any ACP client

contenox run — a program is the caller: CI, cron, another agent. It runs the task with the tools on that machine and prints the report to stdout, exit 0 when the work landed and nonzero when it did not.

contenox run "summarise what changed under ./internal since Friday"
contenox run reviewer "review the payment retry change"

With no agent named it runs the preseeded run declaration.


Agents are declared, not built

An agent is one Markdown file with a YAML frontmatter header:

---
name: reviewer
description: Reviews a file for correctness problems
tools: Read, Glob, Grep
---

You are a code reviewer. Read the file you are asked about, then list the
problems you can point at in what you actually read.

Drop it in .contenox/agents/ and the next run picks it up — no build step, no plugin API. .claude/agents/ and .agents/agents/ are read where they are, so declarations you already keep for Claude Code, Copilot, Cursor, OpenCode or Antigravity import unchanged. Behind each one contenox compiles a chain that says what happens and a policy that says what is permitted, both JSON Schema-validated, both yours to read and neither yours to maintain.

Declaring agents → · Chain files →


No tools loaded without declaration

contenox owns the tool boundary and you decide what stands on the other side of it. Every tool you do not need is tokens burned on every turn.

Tools have to be passed to agents via the declarations:

cat ~/.contenox/agents/run.md

---
name: run
description: Carries out one stated task on this machine and reports what it did, for a caller that is a program rather than a person
tools: "*" # or a list of tools, or even nothing
---

This is especially useful when you have a lot of tools but not all workflows require them, this enforces a boundary to the agent and prevents confusing it with additional tool-descriptions.

Tools are added to contenox via the CLI:

# Connect any Model Context Protocol (MCP) server
contenox mcp add notion https://mcp.notion.com/mcp --auth-type oauth

# Wrap an internal HTTP API using its OpenAPI specification
contenox tools add erp_billing \
  --url https://erp.internal.example.com \
  --spec ./billing-subset.yaml

A declaration can also bring its own, scoped to that agent, reachable by no other one, retired when you delete the file:

mcpServers:
  filesystem:
    command: npx
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/data"]
remoteTools:
  billing:
    url: https://internal.example.com
    spec: https://internal.example.com/openapi.json

Guardrails

Every run is bounded by an envelope: a JSON policy naming what passes silently, what stops for a human, and what is denied outright, plus hard ceilings on tool calls and tokens. Anything no rule matches fails closed — it asks. Six presets ship with contenox init, and the knobs a declaration cannot reach live in agents.toml. Every session leaves reviewable local state on disk.

A run that stops for a person checkpoints where it stopped, saves the ask and releases the process. Restart the box, close the laptop, let days pass: when the answer arrives the run resumes from that exact point, exactly once.

contenox approvals list
contenox approvals respond 8f3c --answer "yes, send them"

The sandbox — Landlock filesystem and exec confinement, scrubbed environment, Linux-only — confines foreign agent code you choose to run locally.


Inference

contenox auto detects the hardware, installs the native modeld worker and a compatible model, verifies a real tool call, and opens Beam. Ollama, vLLM and hosted providers remain available when they are the right operational boundary:

# Native local inference
contenox auto

# Existing local or private-network inference
contenox backend add ollama --type ollama
contenox backend add myvllm --type vllm --url http://gpu-host:8000

# Hosted providers
contenox backend add openai    --type openai    --api-key-env OPENAI_API_KEY
contenox backend add anthropic --type anthropic --api-key-env ANTHROPIC_API_KEY
contenox backend add gemini    --type gemini    --api-key-env GEMINI_API_KEY

# Defaults for an explicitly registered backend
contenox config set inference.provider ollama
contenox config set inference.model qwen2.5:7b

Also supported: Vertex AI and Amazon Bedrock. By default sessions, configuration, run logs and captured execution state live in one local SQLite database. A server-backed deployment moves the store, message bus and cache onto PostgreSQL, NATS and Valkey. Telemetry is opt-in and off by default. Secrets resolve from your environment at request time and never land in config on disk.


Building from source

The contenox control-plane binary is pure Go. Native inference is a separate modeld worker with llama.cpp and OpenVINO backends and therefore has its own native build and packaging path.

git clone https://github.com/contenox/contenox
cd contenox
task build          # build the contenox binary
task modeld:build   # build modeld and its selected native backend

This repository is a release mirror: every commit on main is one release and every tag a signed one, built into binaries by CI. Contributions are applied upstream and credited — CONTRIBUTING.md.


Questions: hello@contenox.com

Advance with excellence.

Directories

Path Synopsis
Package apiframework provides HTTP request/response helpers for the Contenox API.
Package apiframework provides HTTP request/response helpers for the Contenox API.
cmd
contenox command
Command contenox is the contenox agent server and its CLI.
Command contenox is the contenox agent server and its CLI.
modeld command
Command modeld is the contenox model daemon: the per-user, per-data-root owner of resident model state.
Command modeld is the contenox model daemon: the per-user, per-data-root owner of resident model state.
core module
internal
archiveutil
Package archiveutil provides shared, path-traversal-safe archive extraction.
Package archiveutil provides shared, path-traversal-safe archive extraction.
kernel/agentinstance
Package agentinstance spawns and owns running ACP agent instances on a server-rooted context, independent of any client connection, and lets multiple viewers attach to a session's event stream.
Package agentinstance spawns and owns running ACP agent instances on a server-rooted context, independent of any client connection, and lets multiple viewers attach to a session's event stream.
kernel/nativeturn
Package nativeturn is the serve-level survival layer for native ACP chain turns: an in-flight turn runs on a serve-rooted Registry, so a dropped connection detaches a viewer without cancelling the turn.
Package nativeturn is the serve-level survival layer for native ACP chain turns: an in-flight turn runs on a serve-rooted Registry, so a dropped connection detaches a viewer without cancelling the turn.
kernel/taskengine
Package taskengine orchestrates an agent: it drives LLM turns, tool calls and routing in a loop, defined as a JSON chain.
Package taskengine orchestrates an agent: it drives LLM turns, tool calls and routing in a loop, defined as a JSON chain.
kernel/taskengine/llmretry
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback.
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback.
libsandbox
Package libsandbox confines a spawned foreign agent to "the wall": every path out of its tools and workspace — filesystem, network, environment — is absent by construction.
Package libsandbox confines a spawned foreign agent to "the wall": every path out of its tools and workspace — filesystem, network, environment — is absent by construction.
modeld/capacity
Package capacity is modeld's hardware capacity planner: it resolves the EFFECTIVE context window a model can actually be served at on this device, from the model's KV-cache footprint and the device's free memory — not the model's trained ceiling alone.
Package capacity is modeld's hardware capacity planner: it resolves the EFFECTIVE context window a model can actually be served at on this device, from the model's KV-cache footprint and the device's free memory — not the model's trained ceiling alone.
modeld/devicelease
Package devicelease guards physical accelerator residency across modeld data roots.
Package devicelease guards physical accelerator residency across modeld data roots.
modeld/internal/sessionkit
Package sessionkit holds the small backend-neutral helpers shared by the modeld transport.Session adapters (llama.cpp in modeld/llama/llamasession and OpenVINO in modeld/openvino).
Package sessionkit holds the small backend-neutral helpers shared by the modeld transport.Session adapters (llama.cpp in modeld/llama/llamasession and OpenVINO in modeld/openvino).
modeld/llama
Package llama defines the modeld-side llama backend contract: persistent inference sessions keep a stable prefix's KV hot and re-prefill only the changed suffix.
Package llama defines the modeld-side llama backend contract: persistent inference sessions keep a stable prefix's KV hot and re-prefill only the changed suffix.
modeld/llama/llamacppshim
Package llamacppshim owns the direct llama.cpp C API boundary for modeld.
Package llamacppshim owns the direct llama.cpp C API boundary for modeld.
modeld/llama/llamasession
Capability mapping kept in an untagged, cgo-free file so the backend-parity contract can pin it verbatim in plain CI: capability drift must fail there, not only in tagged native builds.
Capability mapping kept in an untagged, cgo-free file so the backend-parity contract can pin it verbatim in plain CI: capability drift must fail there, not only in tagged native builds.
modeld/modelstore
Package modelstore resolves model names to on-disk paths within a modeld node's models directory.
Package modelstore resolves model names to on-disk paths within a modeld node's models directory.
modeld/openvino
Package openvino implements the internal/transport.Service boundary for the OpenVINO (Intel) backend: it opens persistent, manifest-keyed sessions on the owned device (CPU / GPU) that the runtime drives over the transport.
Package openvino implements the internal/transport.Service boundary for the OpenVINO (Intel) backend: it opens persistent, manifest-keyed sessions on the owned device (CPU / GPU) that the runtime drives over the transport.
modeld/openvino/ovsession
Package ovsession contains the native OpenVINO session/KV bridge used by the openvino modelrepo provider.
Package ovsession contains the native OpenVINO session/KV bridge used by the openvino modelrepo provider.
modeld/owner
Package owner manages lease-based ownership of the local runtime's resident state.
Package owner manages lease-based ownership of the local runtime's resident state.
modeld/residency
Package residency contains modeld's backend-neutral KV residency policy.
Package residency contains modeld's backend-neutral KV residency policy.
modeld/slot
Package slot enforces modeld's single active local model invariant.
Package slot enforces modeld's single active local model invariant.
modeldinstall
Package modeldinstall installs checksum-verified, protocol-compatible native workers.
Package modeldinstall installs checksum-verified, protocol-compatible native workers.
models/llmrepo
Package llmrepo provides a unified facade over LLM backends discovered via runtimestate: prompt, chat, streaming, embedding, and tokenization through a single ModelRepo interface.
Package llmrepo provides a unified facade over LLM backends discovered via runtimestate: prompt, chat, streaming, embedding, and tokenization through a single ModelRepo interface.
models/modeldprobe
Package modeldprobe detects whether the modeld daemon / embedded engine is installed, running, or dead, so the runtime can fail honestly and the setup wizard can guide the user.
Package modeldprobe detects whether the modeld daemon / embedded engine is installed, running, or dead, so the runtime can fail honestly and the setup wizard can guide the user.
models/modelhardware
Package modelhardware provides read-only hardware facts before a model is downloaded.
Package modelhardware provides read-only hardware facts before a model is downloaded.
models/modelrepo
Package modelrepo defines the provider-facing contracts for LLM backends: the Provider interface, per-capability client interfaces, and shared request/response types.
Package modelrepo defines the provider-facing contracts for LLM backends: the Provider interface, per-capability client interfaces, and shared request/response types.
models/modelrepo/anthropic
Package anthropic is a direct (non-Vertex) provider for the Anthropic API, which speaks the Messages API.
Package anthropic is a direct (non-Vertex) provider for the Anthropic API, which speaks the Messages API.
models/modelrepo/bedrock
Package bedrock is a provider for AWS Bedrock via the unified Converse API.
Package bedrock is a provider for AWS Bedrock via the unified Converse API.
models/modelrepo/codec/chatcompletions
Package chatcompletions is a transport-agnostic codec for the OpenAI Chat Completions wire format.
Package chatcompletions is a transport-agnostic codec for the OpenAI Chat Completions wire format.
models/modelrepo/codec/messages
Package messages is a transport-agnostic codec for Anthropic's Messages API wire format.
Package messages is a transport-agnostic codec for Anthropic's Messages API wire format.
models/modelrepo/gemini
Package gemini implements the modelrepo.Provider contract against Google's Gemini Generative Language API.
Package gemini implements the modelrepo.Provider contract against Google's Gemini Generative Language API.
models/modelrepo/modeldconn
Package modeldconn is the runtime's client seam to the modeld / embedded daemon: it resolves the current lease leader (via modeldprobe), dials it over the gRPC transport, and opens sessions.
Package modeldconn is the runtime's client seam to the modeld / embedded daemon: it resolves the current lease leader (via modeldprobe), dials it over the gRPC transport, and opens sessions.
models/modelrepo/ollama
Package ollama implements the modelrepo.Provider contract against Ollama HTTP endpoints.
Package ollama implements the modelrepo.Provider contract against Ollama HTTP endpoints.
models/modelrepo/openai
Package openai implements the modelrepo.Provider contract against the OpenAI HTTP API and OpenAI-compatible endpoints.
Package openai implements the modelrepo.Provider contract against the OpenAI HTTP API and OpenAI-compatible endpoints.
models/modelrepo/vertex
Package vertex implements the modelrepo.Provider contract against Google Vertex AI publisher endpoints, using OAuth bearer tokens minted from service-account credentials.
Package vertex implements the modelrepo.Provider contract against Google Vertex AI publisher endpoints, using OAuth bearer tokens minted from service-account credentials.
models/modelrepo/vllm
Package vllm implements the modelrepo.Provider contract against vLLM OpenAI-compatible HTTP endpoints.
Package vllm implements the modelrepo.Provider contract against vLLM OpenAI-compatible HTTP endpoints.
models/ollamatokenizer
Package ollamatokenizer provides Tokenizer implementations used by llmrepo to count and split tokens for a given model: an HTTP client, a heuristic estimator, and a mock.
Package ollamatokenizer provides Tokenizer implementations used by llmrepo to count and split tokens for a given model: an HTTP client, a heuristic estimator, and a mock.
models/runtimestate
Package runtimestate reconciles the declared state of LLM backends against their observed state, read-only, intended to run repeatedly from a background task.
Package runtimestate reconciles the declared state of LLM backends against their observed state, read-only, intended to run repeatedly from a background task.
services/agentdecl
Package agentdecl reads agent declarations — Markdown with a YAML frontmatter header — and renders each as the task chain and human-in-the-loop policy that run it.
Package agentdecl reads agent declarations — Markdown with a YAML frontmatter header — and renders each as the task chain and human-in-the-loop policy that run it.
services/agenthost
Package agenthost is the runtime's client/host-role primitive for driving another ACP agent over stdio.
Package agenthost is the runtime's client/host-role primitive for driving another ACP agent over stdio.
services/agentregistryservice
Package agentregistryservice stores declared agent configurations ("external_acp" or "chain") as the single source of truth for what can be spawned.
Package agentregistryservice stores declared agent configurations ("external_acp" or "chain") as the single source of truth for what can be spawned.
services/agentservice
Package agentservice runs prompts against a task chain and persists their session history.
Package agentservice runs prompts against a task chain and persists their session history.
services/chainagents
Package chainagents seeds the declared-agent registry from the runtime's own task chains.
Package chainagents seeds the declared-agent registry from the runtime's own task chains.
services/chatservice
Package chatservice persists the conversation thread.
Package chatservice persists the conversation thread.
services/clikv
Package clikv reads and writes the CLI's persisted settings (the cli.* KV namespace) and owns the scope of every one of them.
Package clikv reads and writes the CLI's persisted settings (the cli.* KV namespace) and owns the scope of every one of them.
services/echotool
Package echotool is the wiring fixture: one tool, `echo`, that returns its input and nothing else.
Package echotool is the wiring fixture: one tool, `echo`, that returns its input and nothing else.
services/eventlog
Package eventlog is the service tier over the durable, append-only domain event log, which itself lives in internal/store/runtimetypes.
Package eventlog is the service tier over the durable, append-only domain event log, which itself lives in internal/store/runtimetypes.
services/eventtrigger
Package eventtrigger routes durable events to the task chains operators configured to react to them, declared in trigger-*.json files.
Package eventtrigger routes durable events to the task chains operators configured to react to them, declared in trigger-*.json files.
services/fleetservice
build.go composes an in-process fleet: agent registry, agentinstance kernel, operator inbox, report router, and the fleet Service, so a host process can dispatch missions as subagents of itself.
build.go composes an in-process fleet: agent registry, agentinstance kernel, operator inbox, report router, and the fleet Service, so a host process can dispatch missions as subagents of itself.
services/gitservice
Package gitservice runs git operations against one served workspace root, in-process through go-git and contained so a path can never escape the workspace.
Package gitservice runs git operations against one served workspace root, in-process through go-git and contained so a path can never escape the workspace.
services/gointel
Package gointel is the agent's in-process Go code intelligence: a warm, type-checked view of the Go module under the workspace root, exposed as read-only tools (go_describe, go_definition, go_references, go_implementations, go_symbols, go_diagnostics).
Package gointel is the agent's in-process Go code intelligence: a warm, type-checked view of the Go module under the workspace root, exposed as read-only tools (go_describe, go_definition, go_references, go_implementations, go_symbols, go_diagnostics).
services/gojatool
Package gojatool is the agent's embedded ECMAScript sandbox: script tools (operator *.js files) and goja_eval (model-driven bounded compute) on one goja runtime.
Package gojatool is the agent's embedded ECMAScript sandbox: script tools (operator *.js files) and goja_eval (model-driven bounded compute) on one goja runtime.
services/hitlservice
Package hitlservice evaluates approval policies for tool calls, returning allow/deny/approve decisions.
Package hitlservice evaluates approval policies for tool calls, returning allow/deny/approve decisions.
services/jqtool
Package jqtool is the agent's jq engine: one tool, `jq_query`, that runs a jq program (github.com/itchyny/gojq, pure Go) over a JSON or YAML document and returns the emitted values.
Package jqtool is the agent's jq engine: one tool, `jq_query`, that runs a jq program (github.com/itchyny/gojq, pure Go) over a JSON or YAML document and returns the emitted values.
services/localtools
Package localtools provides tools that fire around chain execution: approval gates and host-side helpers.
Package localtools provides tools that fire around chain execution: approval gates and host-side helpers.
services/localtools/mcpoauth
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients: server metadata discovery (RFC 8414), dynamic client registration (RFC 7591), and the local callback server.
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients: server metadata discovery (RFC 8414), dynamic client registration (RFC 7591), and the local callback server.
services/mcpserverservice
Package mcpserverservice stores MCP server configs.
Package mcpserverservice stores MCP server configs.
services/mcpworker
Package mcpworker keeps MCP server connections alive across chain steps.
Package mcpworker keeps MCP server connections alive across chain steps.
services/missionchanges
Package missionchanges answers two oversight questions from a mission's already-journaled work: what the unit changed, and whether its attention wandered outside its workspace.
Package missionchanges answers two oversight questions from a mission's already-journaled work: what the unit changed, and whether its attention wandered outside its workspace.
services/missionservice
Package missionservice stores mission records: the durable, agent-reportable half of the fleet manager.
Package missionservice stores mission records: the durable, agent-reportable half of the fleet manager.
services/missiontools
Package missiontools is the per-mission tool grant a dispatched unit holds while running unattended: report progress, ask for attention, maintain a living plan, end with a verdict, and heartbeat.
Package missiontools is the per-mission tool grant a dispatched unit holds while running unattended: report progress, ask for attention, maintain a living plan, end with a verdict, and heartbeat.
services/onboarding
Package onboarding is the first-run zero-config path: it registers a probed local Ollama backend and sets it as default.
Package onboarding is the first-run zero-config path: it registers a probed local Ollama backend and sets it as default.
services/operatorinbox
Package operatorinbox is the durable attention surface for mission reports that reached no live supervising session.
Package operatorinbox is the durable attention surface for mission reports that reached no live supervising session.
services/oracletools
Package oracletools is the oracle's tool grant: one model-facing tool, submit_verdict, bound to one durable ask for one chain execution.
Package oracletools is the oracle's tool grant: one model-facing tool, submit_verdict, bound to one durable ask for one chain execution.
services/presence
Package presence lets an editor-spawned contenox process self-register into the shared store so the fleet board can show it.
Package presence lets an editor-spawned contenox process self-register into the shared store so the fleet board can show it.
services/project
Package project owns a project's portable identity marker at <projectRoot>/.contenox/workspace.id: a stable UUID plus an optional friendly Name, travelling with the directory rather than the host-local grant list.
Package project owns a project's portable identity marker at <projectRoot>/.contenox/workspace.id: a stable UUID plus an optional friendly Name, travelling with the directory rather than the host-local grant list.
services/reportrouter
Package reportrouter delivers missionservice's report, ask, status and plan-revision events to the session that fired the mission, falling back to the operator inbox when none is live.
Package reportrouter delivers missionservice's report, ask, status and plan-revision events to the session that fired the mission, falling back to the operator inbox when none is live.
services/sessionservice
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts.
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts.
services/settings
Package settings describes persistent user settings and resolves their inherited defaults.
Package settings describes persistent user settings and resolves their inherited defaults.
services/setupcheck
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI.
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI.
services/shellenvservice
Package shellenvservice persists the operator-defined environment variables contenox injects into shells it spawns, layered on top of the environment scrub so they always win.
Package shellenvservice persists the operator-defined environment variables contenox injects into shells it spawns, layered on top of the environment scrub so they always win.
services/shellline
Package shellline reads a command line into the commands it would run.
Package shellline reads a command line into the commands it would run.
services/shellsession
Package shellsession manages one persistent PTY-backed shell per chat session, rooted at the session's workspace root and outliving individual commands.
Package shellsession manages one persistent PTY-backed shell per chat session, rooted at the session's workspace root and outliving individual commands.
services/toolguidance
Package toolguidance appends short orientation lines to a tool's textual result, derived from per-session counters.
Package toolguidance appends short orientation lines to a tool's textual result, derived from per-session counters.
services/vfs
Package vfsservice exposes a tenant-aware virtual file system that the runtime consumes through its service APIs and task chains.
Package vfsservice exposes a tenant-aware virtual file system that the runtime consumes through its service APIs and task chains.
services/workspacegrants
Package workspacegrants owns the durable, hot-reloadable workspace-root allowlist beyond serve's launch-time roots: a durable config value plus a fire-and-forget bus doorbell that tells a running serve to reload.
Package workspacegrants owns the durable, hot-reloadable workspace-root allowlist beyond serve's launch-time roots: a durable config value plus a fire-and-forget bus doorbell that tells a running serve to reload.
surfaces/beam/app
Package app is beam's composition loop: the app-shell that owns the single select over terminal input, the engine-bridge event stream, and one deterministic ticker, folding each event into component state and committing exactly one frame per iteration.
Package app is beam's composition loop: the app-shell that owns the single select over terminal input, the engine-bridge event stream, and one deterministic ticker, folding each event into component state and committing exactly one frame per iteration.
surfaces/beam/comp/approval
Package approval renders beam's in-session HITL card: tool, arguments, policy rule, and diff, in that order — diff last, closest to the y/n line — across pending/resolved/cancelled.
Package approval renders beam's in-session HITL card: tool, arguments, policy rule, and diff, in that order — diff last, closest to the y/n line — across pending/resolved/cancelled.
surfaces/beam/comp/brand
Package brand renders beam's identity device: the fresh-session welcome header and the persistent status-bar identity segment, both built around the vertical signal-yellow beam-bar `▌` and, once per session, the logo-mark as block art.
Package brand renders beam's identity device: the fresh-session welcome header and the persistent status-bar identity segment, both built around the vertical signal-yellow beam-bar `▌` and, once per session, the logo-mark as block art.
surfaces/beam/comp/composer
Package composer owns beam's input buffer: a pure state machine over text, agnostic to terminals and key encodings, behind the bottom-fixed composer region.
Package composer owns beam's input buffer: a pure state machine over text, agnostic to terminals and key encodings, behind the bottom-fixed composer region.
surfaces/beam/comp/fileaddr
Package fileaddr sources the candidates behind beam's @-mention picker: the files of the session's grant-bounded workspace root (via vfs, the only dependency on it under beamtui), filtered like the agent's own find_files, ranked and capped by comp/picker.
Package fileaddr sources the candidates behind beam's @-mention picker: the files of the session's grant-bounded workspace root (via vfs, the only dependency on it under beamtui), filtered like the agent's own find_files, ranked and capped by comp/picker.
surfaces/beam/comp/palette
Package palette owns slash-command discovery for beam's composer: the merged remote+local command set, the case-insensitive `/` prefix filter, and the overlay rows drawn in the live region.
Package palette owns slash-command discovery for beam's composer: the merged remote+local command set, the case-insensitive `/` prefix filter, and the overlay rows drawn in the live region.
surfaces/beam/comp/picker
Package picker is beam's generic keyboard list overlay: the filtered, ranked, windowed list every "choose one of these" surface renders through.
Package picker is beam's generic keyboard list overlay: the filtered, ranked, windowed list every "choose one of these" surface renders through.
surfaces/beam/comp/statusbar
Package statusbar renders beam's persistent one-line status bar: identity, session, activity, context budget, operator inbox, missions and connection health.
Package statusbar renders beam's persistent one-line status bar: identity, session, activity, context budget, operator inbox, missions and connection health.
surfaces/beam/comp/transcript
Package transcript renders one beam session's ordered record — user turns, streamed assistant prose, thought traces, tool-call cards, mission reports and lifecycle cards, shell output and turn notices — as frame data.
Package transcript renders one beam session's ordered record — user turns, streamed assistant prose, thought traces, tool-call cards, mission reports and lifecycle cards, shell output and turn notices — as frame data.
surfaces/beam/frame
Package frame is beam's rendering schema: the pure-data contract between components (pure functions of (state, width) -> []Line) and the terminal engine that draws it.
Package frame is beam's rendering schema: the pure-data contract between components (pure functions of (state, width) -> []Line) and the terminal engine that draws it.
surfaces/beam/input
Package input defines beam's decoded terminal input events and the pure parser that produces them from raw bytes.
Package input defines beam's decoded terminal input events and the pure parser that produces them from raw bytes.
surfaces/beam/keymap
Package keymap is beam's sole key arbiter.
Package keymap is beam's sole key arbiter.
surfaces/beam/sanitize
Package sanitize is beam's one gate between untrusted text and a [frame.Span], which draws its text as literal cells with no interpretation beyond the style table.
Package sanitize is beam's one gate between untrusted text and a [frame.Span], which draws its text as literal cells with no interpretation beyond the style table.
surfaces/beam/sessionvitals
Package sessionvitals holds the surface-neutral facts about one live agent session — what is happening right now (Tracker), how full the context window is (ContextUsage), what deserves the operator's attention (Alerter), and what a session is called (Label, Roster).
Package sessionvitals holds the surface-neutral facts about one live agent session — what is happening right now (Tracker), how full the context window is (ContextUsage), what deserves the operator's attention (Alerter), and what a session is called (Label, Roster).
surfaces/beam/style
Package style is beam's only StyleID→terminal-attributes table: the tier ladder (truecolor → 256 → 16 → mono), the capability snapshot that selects a tier, the brand ladder, and the glyph set that carries meaning when color is unavailable.
Package style is beam's only StyleID→terminal-attributes table: the tier ladder (truecolor → 256 → 16 → mono), the capability snapshot that selects a tier, the brand ladder, and the glyph set that carries meaning when color is unavailable.
surfaces/beam/term
Package term owns the terminal: the only beam package allowed to read terminal state or write to the tty.
Package term owns the terminal: the only beam package allowed to read terminal state or write to the tty.
surfaces/beam/testkit
Package testkit is beam's shared test infrastructure: the reference encoding that turns frame data into reviewable golden files, the golden compare/update helper, the fixture corpus, FakeEngineBridge, and the liveness frame-diff harness.
Package testkit is beam's shared test infrastructure: the reference encoding that turns frame data into reviewable golden files, the golden compare/update helper, the fixture corpus, FakeEngineBridge, and the liveness frame-diff harness.
surfaces/beam/textwidth
Package textwidth centralizes rune-safe terminal cell-width math for beam: every width measurement, truncation, pad, and wrap goes through here instead of ad hoc len() arithmetic.
Package textwidth centralizes rune-safe terminal cell-width math for beam: every width measurement, truncation, pad, and wrap goes through here instead of ad hoc len() arithmetic.
surfaces/beam/vfs
Package vfs is the single home for workspace-root containment: resolving a candidate path against a root and rejecting anything that escapes it, symlinks included.
Package vfs is the single home for workspace-root containment: resolving a candidate path against a root and rejecting anything that escapes it, symlinks included.
surfaces/contenoxcli/brand
Package brand renders contenox's identity device for plain-writer surfaces: the logo-mark as block art beside the wordmark.
Package brand renders contenox's identity device for plain-writer surfaces: the logo-mark as block art beside the wordmark.
surfaces/contenoxcli/sanitize
Package sanitize is beam's gate between untrusted text and a rendered span.
Package sanitize is beam's gate between untrusted text and a rendered span.
surfaces/contenoxcli/textwidth
Package textwidth centralizes rune-safe terminal cell-width math for beam.
Package textwidth centralizes rune-safe terminal cell-width math for beam.
surfaces/fleetboot
Package fleetboot builds the in-process mission fleet a surface embeds so /mission is dispatched as a subagent of the host process.
Package fleetboot builds the in-process mission fleet a surface embeds so /mission is dispatched as a subagent of the host process.
surfaces/gateway
Package gateway is the self-hosted model gateway: an Ollama-compatible HTTP surface that authenticates callers with license tokens and proxy keys, validates the requested model against the token's claims, meters each turn against the key's allowance, and routes the turn through the runtime's model repo.
Package gateway is the self-hosted model gateway: an Ollama-compatible HTTP surface that authenticates callers with license tokens and proxy keys, validates the requested model against the token's claims, meters each turn against the key's allowance, and routes the turn through the runtime's model repo.
surfaces/vfsapi
Package vfsapi serves the VFS over HTTP: files, folders and the access list that decides who may read and write them.
Package vfsapi serves the VFS over HTTP: files, folders and the access list that decides who may read and write them.
tools/vfsapitest command
Command vfsapitest serves the VFS HTTP surface for the apitests in internal/apitests, and for anyone who wants to poke at the surface without standing up a relay.
Command vfsapitest serves the VFS HTTP surface for the apitests in internal/apitests, and for anyone who wants to poke at the surface without standing up a relay.
transport
Package transport defines the contract the modeld daemon implements and the runtime calls: a persistent, manifest-keyed warm-reuse inference session.
Package transport defines the contract the modeld daemon implements and the runtime calls: a persistent, manifest-keyed warm-reuse inference session.
transport/grpc
Package grpc is the gRPC wire transport for the internal/transport.Service contract.
Package grpc is the gRPC wire transport for the internal/transport.Service contract.
trouble
Package trouble records the runtime's own failures as deployment-scoped events, so that a 500 raises an operator alarm instead of ending in a tracker span nobody retains and nobody reads.
Package trouble records the runtime's own failures as deployment-scoped events, so that a 500 raises an operator alarm instead of ending in a tracker span nobody retains and nobody reads.
Package libacp implements the Agent Client Protocol (ACP) v1, the JSON-RPC-over-NDJSON protocol editors and agents use to talk to each other.
Package libacp implements the Agent Client Protocol (ACP) v1, the JSON-RPC-over-NDJSON protocol editors and agents use to talk to each other.
acpexec
Package acpexec spawns a subprocess and wires its stdin/stdout together as a single io.ReadWriteCloser, the transport shape libacp's connections expect.
Package acpexec spawns a subprocess and wires its stdin/stdout together as a single io.ReadWriteCloser, the transport shape libacp's connections expect.
cmd/acp-stub-agent command
Command acp-stub-agent is a hermetic ACP Agent used to validate libacp's agent-side wire dispatch against ACP conformance clients, without any LLM backend.
Command acp-stub-agent is a hermetic ACP Agent used to validate libacp's agent-side wire dispatch against ACP conformance clients, without any LLM backend.
Package libbus is a high-level publish-subscribe abstraction over a message broker, offering fire-and-forget publish, streaming subscriptions, and request-reply (Serve/Request) on top of pluggable backends (NATS, SQLite, in-memory).
Package libbus is a high-level publish-subscribe abstraction over a message broker, offering fire-and-forget publish, streaming subscriptions, and request-reply (Serve/Request) on top of pluggable backends (NATS, SQLite, in-memory).
Package libcipher provides cryptographic utilities for encryption, decryption, integrity verification, and key generation: AES-GCM, AES-CBC with HMAC, sealed HMAC hashes, and Ed25519 signing keys.
Package libcipher provides cryptographic utilities for encryption, decryption, integrity verification, and key generation: AES-GCM, AES-CBC with HMAC, sealed HMAC hashes, and Ed25519 signing keys.
Package libdbexec provides driver-agnostic interfaces (DBManager, Exec, QueryRower) for SQL access, implemented for PostgreSQL (lib/pq) and SQLite.
Package libdbexec provides driver-agnostic interfaces (DBManager, Exec, QueryRower) for SQL access, implemented for PostgreSQL (lib/pq) and SQLite.
Package libevents holds the consumer-side state of an event log: durable cursors, firing claims with recorded outcomes, listener subscriptions, and staged events held until a due time.
Package libevents holds the consumer-side state of an event log: durable cursors, firing claims with recorded outcomes, listener subscriptions, and staged events held until a due time.
Package liblease implements a cooperative, time-bounded file lease: a single-holder lock backed by an ordinary JSON file that records who holds the lease and until when.
Package liblease implements a cooperative, time-bounded file lease: a single-holder lock backed by an ordinary JSON file that records who holds the lease and until when.
Package liblicense provides cryptographically signed and encrypted software license generation, issuance, and verification with arbitrary Key-Value (KV) payloads.
Package liblicense provides cryptographically signed and encrypted software license generation, issuance, and verification with arbitrary Key-Value (KV) payloads.
Package liblog provides a date-organised, size-bounded log directory.
Package liblog provides a date-organised, size-bounded log directory.
Package libollama provides byte-exact wire types and serialization routines for the Ollama HTTP API specification.
Package libollama provides byte-exact wire types and serialization routines for the Ollama HTTP API specification.
Package libroutine runs recurring background tasks under circuit-breaker protection: Routine is the breaker, group manages one keyed loop per task, and Runner, Job and Schedule build condition-gated job chains on top of a Routine that can be fired directly, on a Schedule, or from a libbus subject.
Package libroutine runs recurring background tasks under circuit-breaker protection: Routine is the breaker, group manages one keyed loop per task, and Runner, Job and Schedule build condition-gated job chains on top of a Routine that can be fired directly, on a Schedule, or from a libbus subject.
libs
libauth module
libdb module
libollama module
Package libtokenkey holds the credential-hashing key: the server-side secret under which an instance token, a pairing key and a proxy key are HMAC'd before any of them is written down.
Package libtokenkey holds the credential-hashing key: the server-side secret under which an instance token, a pairing key and a proxy key are HMAC'd before any of them is written down.
tokenizer module
tools
preseed-hashes command
Command preseed-hashes writes the blessed-hash table agentdecl reads when deciding whether a seeded declaration on disk is still the release's to refresh.
Command preseed-hashes writes the blessed-hash table agentdecl reads when deciding whether a seeded declaration on disk is still the release's to refresh.
version command

Jump to

Keyboard shortcuts

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