Help us shape the future of Go! Take the 2026 Go Developer Survey

orb

package module
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 1 Imported by: 0

README

Orb

A slim, pure-Go agent platform built by Ordalie as an SDK-first Go module and a single static CLI binary. It began as a port of Mario Zechner's MIT-licensed pi coding agent and keeps interop with released pi: wire protocols, compatibility formats and extension behavior follow the pi release pinned in UPSTREAM.lock, and every deliberate divergence is recorded in docs/DECISIONS.md. Native CLI state lives in SQLite, with Pi JSONL import/export and file-backed SDK defaults. The orb binary deliberately coexists with upstream's pi.

Install

curl -fsSL https://raw.githubusercontent.com/OrdalieTech/orb/main/scripts/install.sh | sh

This installs orb to ~/.local/bin after verifying the release checksum. Override the directory with ORB_INSTALL_DIR; alternatively, with Go ≥ 1.27.1:

go install github.com/OrdalieTech/orb/cmd/orb@latest

Update

Run orb update to install the latest verified release. Homebrew, Nix, and Snap installs stay package-manager-owned. Use --extensions, --models, or --all for the other update targets.

First session

export OPENAI_API_KEY=sk-...          # or ANTHROPIC_API_KEY, or run `orb login`
orb                                  # interactive TUI
orb -p "explain this repository"    # headless print mode

Sessions and global state live in ~/.orb/state/orb.db by default. On first launch, Orb migrates legacy state and preserves the original files; close older Orb and Bridge processes first. Use orb storage import <session.jsonl> and orb storage export <session-id> <output.jsonl> to exchange sessions with Pi. Native sessions have IDs rather than live JSONL paths. SDK defaults remain file-backed, and orb --pi-files ... provides explicit compatibility in a separate state root. See the storage guide and 0.8.0 upgrade notes.

orb --mode rpc retains the upstream RPC protocol; upstream's unmodified suite also passes through the explicit Pi-file entry point.

Connect devices with Bridge

Open Bridge from Settings or Ctrl+P, enable it, and choose Add device. Pair with an invitation or existing SSH access; SSH setup installs or updates remote Orb when needed, then conversation traffic uses Bridge over Tailcat. From the shell: orb bridge connect-ssh user@host. Pairing grants mutual conversation access. Bridge runs in the background until explicitly stopped; turning it off retains saved pairings. Recent foreign previews are read-only offline.

The current release controls attached conversations; a unified multi-Bridge Sessions page remains planned.

Deploy anywhere

Orb is a runtime you deploy, not a thin client of someone else's server: the same core runs on macOS and Linux, in containers, inside Go services and in a browser worker, and is being brought to Cloudflare Durable Objects, Celld cells, Windows, Android, iOS and WASI. Each deployment runs its own model calls, tools and sessions, and deployments reach each other as Bridge peers. docs/deployments.md lists every target with its status, capabilities, deploy command and Bridge role.

Embed the SDK

import "github.com/OrdalieTech/orb/agent"

result, err := agent.NewAgentSession(agent.AgentSessionOptions{})
if err != nil { log.Fatal(err) }
defer result.Session.Dispose()
result.Session.Prompt(context.Background(), "list the files here")

Thirteen runnable examples live in agent/examples, from a minimal session to custom tools, providers, and session runtimes — 01_minimal runs offline against the bundled faux provider.

Run an upstream extension

Orb executes many upstream TypeScript extensions unmodified through a local Node.js or Bun host. Fetch the pirate example from the pinned upstream revision and load it:

curl -fsSLO https://raw.githubusercontent.com/earendil-works/pi/a13d35a742c6ef8462812a28fbe1d8c8b7431c32/packages/coding-agent/examples/extensions/pirate.ts
orb --extension ./pirate.ts

Run /pirate in the TUI to exercise the extension.

In the last measured runs, 61 of upstream's 69 single-file examples ran as-is, 43 of the 44 most-downloaded Pi packages loaded, and of 30 popular packages installed by real Pi, Orb loaded 29 and 15 completed live tool or hook workflows. The harness and raw results are in conformance/extensions; the remaining runtime ceilings are listed in docs/DECISIONS.md. .pi/extensions/ in a trusted project and the global agent directory are discovered like upstream.

Plugins, permissions, and MCP

Orb's bundled plugins (tasks, websearch, subagents, permissions, memory) are off by default and configured through Settings or the CLI — including external CLIs as sub-agents, a fail-closed bash filesystem sandbox, and MCP servers. /plugins, /permissions, and /mcp open configuration windows in the TUI; orb plugins … and orb mcp … configure everything from the shell without a session. See docs/plugins.md for the full reference.

Provenance

Upstream pi is © Mario Zechner, MIT — Orb pins a released pi version in UPSTREAM.lock and regenerates its conformance goldens from that source (make fixtures-check). Orb is MIT too; see LICENSE, CONTRIBUTING.md, and SECURITY.md.

Every GitHub release includes a checksummed orb_<version>_source.tar.gz. To verify that source independently, download it with checksums.txt, run sha256sum -c checksums.txt, extract it, and run CGO_ENABLED=0 go build -buildvcs=false ./cmd/orb; release CI performs the same rebuild before publishing. The flag is required because a source archive intentionally contains no .git metadata.

Documentation

Overview

Package orb holds what the product ships beside its code.

Index

Constants

This section is empty.

Variables

View Source
var Changelog string

Changelog is Orb's own release notes, which /changelog shows.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package agent provides the high-level SDK for embedding pi's agent capabilities in Go programs.
Package agent provides the high-level SDK for embedding pi's agent capabilities in Go programs.
acp
Package acp serves the Agent Client Protocol (agentclientprotocol.com): newline-delimited JSON-RPC 2.0 through which a client, an editor or a chat platform's agent harness, drives any number of Orb sessions in one process.
Package acp serves the Agent Client Protocol (agentclientprotocol.com): newline-delimited JSON-RPC 2.0 through which a client, an editor or a chat platform's agent harness, drives any number of Orb sessions in one process.
assembly
Package assembly enumerates the compiled composition of the orb product — compiled extensions, first-party plugins, and MCP — as ordered rows with stable ids, resolves their enablement from settings, and loads the result.
Package assembly enumerates the compiled composition of the orb product — compiled extensions, first-party plugins, and MCP — as ordered rows with stable ids, resolves their enablement from settings, and loads the result.
bridge
Package bridge adapts an existing Orb runtime to Bridge without owning its lifetime.
Package bridge adapts an existing Orb runtime to Bridge without owning its lifetime.
bridge/tool
Package tool exposes independently opt-in, source-attributed bridge tools.
Package tool exposes independently opt-in, source-attributed bridge tools.
examples/01_minimal command
Minimal SDK usage with all defaults.
Minimal SDK usage with all defaults.
examples/02_custom_model command
Custom model selection and thinking level.
Custom model selection and thinking level.
examples/03_custom_prompt command
Custom system prompt replacement and extension through DefaultResourceLoader.
Custom system prompt replacement and extension through DefaultResourceLoader.
examples/04_skills command
Skills configuration through DefaultResourceLoader discovery and overrides.
Skills configuration through DefaultResourceLoader discovery and overrides.
examples/05_tools command
Tools configuration: tool allowlists and denylists.
Tools configuration: tool allowlists and denylists.
examples/06_extensions command
Extensions configuration through DefaultResourceLoader inline factories.
Extensions configuration through DefaultResourceLoader inline factories.
examples/07_context_files command
Context files discovered and extended through DefaultResourceLoader.
Context files discovered and extended through DefaultResourceLoader.
examples/08_prompt_templates command
Prompt templates discovered and extended through DefaultResourceLoader.
Prompt templates discovered and extended through DefaultResourceLoader.
examples/09_api_keys command
API key and OAuth configuration through ModelRegistry and runtime callbacks.
API key and OAuth configuration through ModelRegistry and runtime callbacks.
examples/10_settings command
Settings configuration through SettingsManager.
Settings configuration through SettingsManager.
examples/11_sessions command
Session management: in-memory, persistent, continue, list, and open.
Session management: in-memory, persistent, continue, list, and open.
examples/12_full_control command
Full control: explicit model, settings, session, ResourceLoader, and tools.
Full control: explicit model, settings, session, ResourceLoader, and tools.
examples/13_session_runtime command
Session runtime demonstrates recreating cwd-bound services when the active AgentSession is replaced and rebinding session-local host state.
Session runtime demonstrates recreating cwd-bound services when the active AgentSession is replaced and rebinding session-local host state.
extensions
Package extensions provides the Go-native extension registry, API surface, and ordered event runner used by the coding agent.
Package extensions provides the Go-native extension registry, API surface, and ordered event runner used by the coding agent.
extensions/host
Package host implements orb's original out-of-process JavaScript extension host protocol and lifecycle manager.
Package host implements orb's original out-of-process JavaScript extension host protocol and lifecycle manager.
modes
Package modes contains coding-agent run-mode orchestration.
Package modes contains coding-agent run-mode orchestration.
rpc
Package rpc is Orb's embedding protocol (DECISIONS.md P1, P10): upstream pi's strict-LF, bidirectional JSONL RPC mode served over any byte stream.
Package rpc is Orb's embedding protocol (DECISIONS.md P1, P10): upstream pi's strict-LF, bidirectional JSONL RPC mode served over any byte stream.
session
Package session stores coding-agent conversations as pi-compatible JSONL trees.
Package session stores coding-agent conversations as pi-compatible JSONL trees.
ai
Package ai provides pi's provider-neutral message and streaming contracts.
Package ai provides pi's provider-neutral message and streaming contracts.
api
api/all
Package all is the default provider registry: the CLI and SDK sessions that pass no stream function dispatch through it.
Package all is the default provider registry: the CLI and SDK sessions that pass no stream function dispatch through it.
api/bedrock
Package bedrock is Orb's Bedrock ConverseStream transport: the request, signed with SigV4 or a bearer token, goes over net/http, and the response is read from the AWS event stream framing.
Package bedrock is Orb's Bedrock ConverseStream transport: the request, signed with SigV4 or a bearer token, goes over net/http, and the response is read from the AWS event stream framing.
auth/accounts
Package accounts adds named credentials without changing the provider-keyed compatibility store.
Package accounts adds named credentials without changing the provider-keyed compatibility store.
models
Package models contains the generated model catalog and its persisted refresh overlay.
Package models contains the generated model catalog and its persisted refresh overlay.
models/internal/cataloggen
Package cataloggen normalizes the models.dev api.json shape into pi models.
Package cataloggen normalizes the models.dev api.json shape into pi models.
providers/faux
Package faux provides a scripted, in-memory provider for agent and provider tests.
Package faux provides a scripted, in-memory provider for agent and provider tests.
Package bridge owns connectivity authority, never agent execution or sessions, and defines the non-owning, versioned Orb instance attachments it routes.
Package bridge owns connectivity authority, never agent execution or sessions, and defines the non-owning, versioned Orb instance attachments it routes.
protocol
Package protocol implements the bounded, strict JSON stream used by Orb Bridge.
Package protocol implements the bounded, strict JSON stream used by Orb Bridge.
Package chat implements the core of the orb chat gateway (D27): platform-agnostic messages, the synchronous turn processor with its durable turn ledger, a preview coalescer, and a local single-process runner with a durable spool.
Package chat implements the core of the orb chat gateway (D27): platform-agnostic messages, the synchronous turn processor with its durable turn ledger, a preview coalescer, and a local single-process runner with a durable spool.
buzz
Package buzz runs an Orb agent on Buzz: buzz-acp holds the agent's relay identity and drives its sessions over ACP, and the agent's shell posts with the buzz CLI, which runs here with the Buzz key.
Package buzz runs an Orb agent on Buzz: buzz-acp holds the agent's relay identity and drives its sessions over ACP, and the agent's shell posts with the buzz CLI, which runs here with the Buzz key.
discord
Package discord implements the Discord adapter for the orb chat gateway: Gateway (WebSocket) ingress over the internal RFC 6455 client — hello/heartbeat/identify, READY capture, resume-first reconnects — plus REST delivery with a refreshed typing indicator, streamed preview edits, chunked finalization with mass-mention suppression, and pre-signed attachment download.
Package discord implements the Discord adapter for the orb chat gateway: Gateway (WebSocket) ingress over the internal RFC 6455 client — hello/heartbeat/identify, READY capture, resume-first reconnects — plus REST delivery with a refreshed typing indicator, streamed preview edits, chunked finalization with mass-mention suppression, and pre-signed attachment download.
examples/localbot command
Command localbot runs a minimal Telegram chat gateway: long-poll ingress, the durable local spool, and per-conversation agent sessions under a local data directory.
Command localbot runs a minimal Telegram chat gateway: long-poll ingress, the durable local spool, and per-conversation agent sessions under a local data directory.
gateway
Package gateway runs an agent's chat platforms as one process: the adapters and their ingress (polling or a webhook server) feed one at-least-once processor over local sessions, beside the fronts that drive the agent themselves.
Package gateway runs an agent's chat platforms as one process: the adapters and their ingress (polling or a webhook server) feed one at-least-once processor over local sessions, beside the fronts that drive the agent themselves.
googlechat
Package googlechat implements the Google Chat adapter for the orb chat gateway: an HTTP-endpoint Chat app with bearer-JWT-verified ingress, service-account authenticated delivery, and authenticated media download.
Package googlechat implements the Google Chat adapter for the orb chat gateway: an HTTP-endpoint Chat app with bearer-JWT-verified ingress, service-account authenticated delivery, and authenticated media download.
internal/ctxsleep
Package ctxsleep provides a context-aware sleep shared by the chat adapters and processor.
Package ctxsleep provides a context-aware sleep shared by the chat adapters and processor.
internal/graphhook
Package graphhook serves the Meta Graph webhook endpoint shared by the Cloud API chat adapters (WhatsApp, Messenger): the one-time hub.challenge subscribe handshake and the X-Hub-Signature-256 raw-body HMAC check, both compared in constant time via hmac.Equal.
Package graphhook serves the Meta Graph webhook endpoint shared by the Cloud API chat adapters (WhatsApp, Messenger): the one-time hub.challenge subscribe handshake and the X-Hub-Signature-256 raw-body HMAC check, both compared in constant time via hmac.Equal.
internal/httpjson
Package httpjson is the JSON-over-HTTP round trip and retry loop shared by the chat adapters' platform API clients.
Package httpjson is the JSON-over-HTTP round trip and retry loop shared by the chat adapters' platform API clients.
internal/runechunk
Package runechunk splits and cuts platform text at readable rune boundaries.
Package runechunk splits and cuts platform text at readable rune boundaries.
internal/typing
Package typing keeps a platform typing indicator alive while a turn runs.
Package typing keeps a platform typing indicator alive while a turn runs.
internal/wsclient
Package wsclient implements a minimal RFC 6455 WebSocket client on the standard library alone: client role only, no extensions, no compression, no subprotocol negotiation.
Package wsclient implements a minimal RFC 6455 WebSocket client on the standard library alone: client role only, no extensions, no compression, no subprotocol negotiation.
messenger
Package messenger implements the Facebook Messenger (Meta Messenger Platform for Pages) adapter for the orb chat gateway: webhook ingress over the Graph "page" object (hub handshake + HMAC-signed entry[].messaging[] events), final-message delivery via the Send API, sender-action typing, and direct-URL attachment download.
Package messenger implements the Facebook Messenger (Meta Messenger Platform for Pages) adapter for the orb chat gateway: webhook ingress over the Graph "page" object (hub handshake + HMAC-signed entry[].messaging[] events), final-message delivery via the Send API, sender-action typing, and direct-URL attachment download.
platforms
Package platforms is the catalog of chat platforms an agent runs on, shared by the assemblies that run agents (orb chat, the team agent image): one row per platform maps its environment, and its section of an agent file, onto the platform package's options.
Package platforms is the catalog of chat platforms an agent runs on, shared by the assemblies that run agents (orb chat, the team agent image): one row per platform maps its environment, and its section of an agent file, onto the platform package's options.
slack
Package slack implements the Slack adapter for the orb chat gateway: Events API ingress over HTTP (v0 request signing, url_verification handshake, echo filtering), Web API delivery with a bot token (streamed preview edits via chat.update, mrkdwn finalization with chunking), and authenticated file download.
Package slack implements the Slack adapter for the orb chat gateway: Events API ingress over HTTP (v0 request signing, url_verification handshake, echo filtering), Web API delivery with a bot token (streamed preview edits via chat.update, mrkdwn finalization with chunking), and authenticated file download.
teams
Package teams implements the Microsoft Teams (Bot Framework) adapter for the orb chat gateway, speaking the raw connector REST API with no SDK: JWT-validated webhook ingress, typing plus final-only delivery, markdown-subset formatting with UTF-16 chunking, and authenticated attachment download.
Package teams implements the Microsoft Teams (Bot Framework) adapter for the orb chat gateway, speaking the raw connector REST API with no SDK: JWT-validated webhook ingress, typing plus final-only delivery, markdown-subset formatting with UTF-16 chunking, and authenticated attachment download.
telegram
Package telegram implements the Telegram Bot API adapter for the orb chat gateway: ingress (webhook and long poll), delivery (typing indicator, streamed preview edits, HTML finalization with chunking), and media download.
Package telegram implements the Telegram Bot API adapter for the orb chat gateway: ingress (webhook and long poll), delivery (typing indicator, streamed preview edits, HTML finalization with chunking), and media download.
whatsapp
Package whatsapp implements the WhatsApp Business Cloud API adapter for the orb chat gateway: webhook ingress (hub handshake + HMAC-signed events), final-message delivery with reply threading, and authenticated media download.
Package whatsapp implements the WhatsApp Business Cloud API adapter for the orb chat gateway: webhook ingress (hub handshake + HMAC-signed events), final-message delivery with reply threading, and authenticated media download.
cmd
orb command
orb-wasm command
orb-wasm translates worker messages into calls on the Wasm assembly.
orb-wasm translates worker messages into calls on the Wasm assembly.
orb-worker command
orb-worker is Orb inside Durable Objects.
orb-worker is Orb inside Durable Objects.
conformance
f7
Package f7 builds the deterministic session the F7 RPC transcript runs on: a faux model replaying the scenario's responses with fixed clocks and entry ids, behind a session host whose session switches are no-ops.
Package f7 builds the deterministic session the F7 RPC transcript runs on: a faux model replaying the scenario's responses with fixed clocks and entry ids, behind a session host whose session switches are no-ops.
runner
Package runner provides shared conformance-fixture test helpers.
Package runner provides shared conformance-fixture test helpers.
harness/envtest
Package envtest is the shared conformance suite for harness.FileSystem port implementations (DECISIONS.md P10).
Package envtest is the shared conformance suite for harness.FileSystem port implementations (DECISIONS.md P10).
Package host bundles the ports through which the portable core reaches a platform (DECISIONS.md P10).
Package host bundles the ports through which the portable core reaches a platform (DECISIONS.md P10).
internal
chromalexers
Package chromalexers is github.com/alecthomas/chroma/v2/lexers at v2.27.0 with two deliberate changes: the lexer registry is built lazily on first use instead of at package init, and the 279 embedded XML lexer configs ship as one gzip-compressed tar archive decoded on first use.
Package chromalexers is github.com/alecthomas/chroma/v2/lexers at v2.27.0 with two deliberate changes: the lexer registry is built lazily on first use instead of at package init, and the 279 embedded XML lexer configs ship as one gzip-compressed tar archive decoded on first use.
chromalexers/gen command
Command gen rebuilds embedded.tar.gz from the embedded/ XML lexer configs.
Command gen rebuilds embedded.tar.gz from the embedded/ XML lexer configs.
document
Package document is the durable-document port every layer shares, ai and bridge included; host re-exports it as host.Document for embedders.
Package document is the durable-document port every layer shares, ai and bridge included; host re-exports it as host.Document for embedders.
filelock
Package filelock takes locks that upstream pi can interoperate with, and keeps the JSON documents those locks guard.
Package filelock takes locks that upstream pi can interoperate with, and keeps the JSON documents those locks guard.
ignorerules
Package ignorerules holds the shared gitignore-rule matching loop that both skill loaders (engine/harness and agent) port from the npm `ignore` dependency.
Package ignorerules holds the shared gitignore-rule matching loop that both skill loaders (engine/harness and agent) port from the npm `ignore` dependency.
jstrim
Package jstrim ports the ECMAScript String.prototype.trim whitespace set (WhiteSpace + LineTerminator), which differs from Go's unicode.IsSpace.
Package jstrim ports the ECMAScript String.prototype.trim whitespace set (WhiteSpace + LineTerminator), which differs from Go's unicode.IsSpace.
lazyregexp
Package lazyregexp compiles package-level regular expressions on first use, so a program that links a pattern but never matches it, as every Worker isolate does at startup, does not compile it.
Package lazyregexp compiles package-level regular expressions on first use, so a program that links a pattern but never matches it, as every Worker isolate does at startup, does not compile it.
mermaid
Package mermaid renders Mermaid diagram text (flowchart, sequence, state, class, er) as Unicode box-drawing art for terminals.
Package mermaid renders Mermaid diagram text (flowchart, sequence, state, class, er) as Unicode box-drawing art for terminals.
nodepath
Package nodepath converts path inputs the way upstream's Node runtime does on the platform orb runs on: url.fileURLToPath, url.pathToFileURL, and the win32 Git Bash/MSYS drive-path rewrite from upstream utils/paths.ts.
Package nodepath converts path inputs the way upstream's Node runtime does on the platform orb runs on: url.fileURLToPath, url.pathToFileURL, and the win32 Git Bash/MSYS drive-path rewrite from upstream utils/paths.ts.
orbalogo
Package orbalogo carries the official Ordalie mark as pre-rendered art.
Package orbalogo carries the official Ordalie mark as pre-rendered art.
partialjson
Package partialjson parses the incomplete JSON emitted while tool-call arguments are streaming.
Package partialjson parses the incomplete JSON emitted while tool-call arguments are streaming.
proctree
Package proctree runs a shell command as the root of its own process tree, streams its output, and kills the whole tree on cancellation, timeout or a failed output callback.
Package proctree runs a shell command as the root of its own process tree, streams its output, and kills the whole tree on cancellation, timeout or a failed output callback.
ptr
Package ptr holds the pointer helpers the clone code in every layer shares.
Package ptr holds the pointer helpers the clone code in every layer shares.
qr
Package qr encodes bytes as a QR code (ISO/IEC 18004: byte mode, error correction level L) so a phone can pair with a Bridge by photographing a terminal.
Package qr encodes bytes as a QR code (ISO/IEC 18004: byte mode, error correction level L) so a phone can pair with a Bridge by photographing a terminal.
semver
Package semver implements the subset of npm's semver used by pi package management: exact versions, ranges (^ ~ x-ranges, hyphen, ||, primitives), Satisfies and MaxSatisfying with npm's prerelease-inclusion rule.
Package semver implements the subset of npm's semver used by pi package management: exact versions, ranges (^ ~ x-ranges, hyphen, ||, primitives), Satisfies and MaxSatisfying with npm's prerelease-inclusion rule.
termcaps
Package termcaps detects terminal capabilities (image protocol, true color, OSC 8 hyperlinks) and provides the pure hyperlink escape helper.
Package termcaps detects terminal capabilities (image protocol, true color, OSC 8 hyperlinks) and provides the pure hyperlink escape helper.
themefile
Package themefile is the pi theme JSON resource format: parsing, validation, variable resolution, and path discovery.
Package themefile is the pi theme JSON resource format: parsing, validation, variable resolution, and path discovery.
toolenv
Package toolenv is the environment of the processes Orb's tools start: bash, MCP servers, extension hosts and external agents.
Package toolenv is the environment of the processes Orb's tools start: bash, MCP servers, extension hosts and external agents.
uuidv7
Package uuidv7 generates the monotonic UUID and short entry identifiers used by upstream harness session storage, and crypto.randomUUID()'s UUIDv4.
Package uuidv7 generates the monotonic UUID and short entry identifiers used by upstream harness session storage, and crypto.randomUUID()'s UUIDv4.
platforms
agent/harness command
Command orb-agent is the team agent image's entrypoint: it sets an agent up from one file, /agent/agent.yaml, and runs it, `orb chat` as the agent's user and each sidecar its platforms declare as another.
Command orb-agent is the team agent image's entrypoint: it sets an agent up from one file, /agent/agent.yaml, and runs it, `orb chat` as the agent's user and each sidecar its platforms declare as another.
browser
Package browser assembles Orb's engine with an isolated, in-memory workspace.
Package browser assembles Orb's engine with an isolated, in-memory workspace.
memory
Package memory is an in-memory harness.FileSystem port: POSIX virtual paths, files and directories, no symlinks.
Package memory is an in-memory harness.FileSystem port: POSIX virtual paths, files and directories, no symlinks.
native
Package native is the native host's durable state: the SQLite database that holds settings, credentials, model catalogs, sessions and Bridge documents, its one-time import from Pi-compatible files, and the per-conversation owner locks that keep one Orb process writing each conversation (DECISIONS.md "Native SQLite storage").
Package native is the native host's durable state: the SQLite database that holds settings, credentials, model catalogs, sessions and Bridge documents, its one-time import from Pi-compatible files, and the per-conversation owner locks that keep one Orb process writing each conversation (DECISIONS.md "Native SQLite storage").
native/accounts
Package accounts backs the named-credential store with a private JSON file.
Package accounts backs the named-credential store with a private JSON file.
native/bridge
Package bridge supplies explicit filesystem and IPC adapters for Orb Bridge.
Package bridge supplies explicit filesystem and IPC adapters for Orb Bridge.
native/bridge/daemon
Package daemon is the native Bridge service: the process `orb bridge run` serves, reached over private IPC sockets in the profile directory, its peers over Tailcat and WebSocket, the machine-level calls it answers peers (host.*), and its installation as a systemd user service or on a server over SSH.
Package daemon is the native Bridge service: the process `orb bridge run` serves, reached over private IPC sockets in the profile directory, its peers over Tailcat and WebSocket, the machine-level calls it answers peers (host.*), and its installation as a systemd user service or on a server over SSH.
native/sandbox
Package sandbox limits filesystem effects of child commands.
Package sandbox limits filesystem effects of child commands.
native/selfupdate
Package selfupdate replaces the running orb with a signed release: it fetches the same archive and checksums.txt that scripts/install.sh does, verifies the signature and sha256, and swaps the binary by atomic rename.
Package selfupdate replaces the running orb with a signed release: it fetches the same archive and checksums.txt that scripts/install.sh does, verifies the signature and sha256, and swaps the binary by atomic rename.
native/sqlite
Package sqlite supplies explicitly opened native persistence.
Package sqlite supplies explicitly opened native persistence.
native/tailcat
Package tailcat supplies stream transport only.
Package tailcat supplies stream transport only.
native/teamenv
Package teamenv is the receiving side of a team agent's entrypoint contract (platforms/agent/harness): credentials on ORB_SECRETS_FD and ORB_AUTH_FD, never in the environment or files the agent's tools could open, and a process its same-user tools cannot inspect.
Package teamenv is the receiving side of a team agent's entrypoint contract (platforms/agent/harness): credentials on ORB_SECRETS_FD and ORB_AUTH_FD, never in the environment or files the agent's tools could open, and a process its same-user tools cannot inspect.
websocket
Package websocket carries Bridge's pinned TLS stream over browser WebSockets.
Package websocket carries Bridge's pinned TLS stream over browser WebSockets.
worker
Package worker is the Worker host (DECISIONS.md P2, P10): the ports an Orb runtime needs inside a Cloudflare Durable Object or a self-hosted Celld cell, backed by the object's key-value storage, plus the assembly that resumes one session per object and serves it over kernel RPC frames.
Package worker is the Worker host (DECISIONS.md P2, P10): the ports an Orb runtime needs inside a Cloudflare Durable Object or a self-hosted Celld cell, backed by the object's key-value storage, plus the assembly that resumes one session per object and serves it over kernel RPC frames.
worker/peer
Package peer makes a Worker object a Bridge peer (DECISIONS.md P11): a persisted identity in the object's Store, the object's own Orb attached as its orb.instance/1 service, pinned-TLS streams over the object's WebSockets, and the owner's admin surface.
Package peer makes a Worker object a Bridge peer (DECISIONS.md P11): a persisted identity in the object's Store, the object's own Orb attached as its orb.instance/1 service, pinned-TLS streams over the object's WebSockets, and the owner's admin surface.
plugins
activity
Package activity normalizes session-local work without owning its execution.
Package activity normalizes session-local work without owning its execution.
claudesessions
Package claudesessions adapts native Claude Agent SDK sessions to Orb events.
Package claudesessions adapts native Claude Agent SDK sessions to Orb events.
codexsessions
Package codexsessions opens Codex CLI threads as Orb conversations, to read and continue with any model, and takes in the turns Codex adds afterwards.
Package codexsessions opens Codex CLI threads as Orb conversations, to read and continue with any model, and takes in the turns Codex adds afterwards.
herdr
Package herdr reports Orb's interactive lifecycle to a containing Herdr pane.
Package herdr reports Orb's interactive lifecycle to a containing Herdr pane.
jobs
Package jobs lets Orb's own models run shell commands in the background, as Claude Code does: bash gains run_in_background and monitor, a message reports each job's end (and, when monitored, the lines it prints), and stop_job ends one.
Package jobs lets Orb's own models run shell commands in the background, as Claude Code does: bash gains run_in_background and monitor, a message reports each job's end (and, when monitored, the lines it prints), and stop_job ends one.
mcp
Package mcp implements orb's bundled, settings-driven MCP extension.
Package mcp implements orb's bundled, settings-driven MCP extension.
mcp/cli
Package cli is `orb mcp`: it configures and checks MCP servers and signs in to OAuth servers without starting a session.
Package cli is `orb mcp`: it configures and checks MCP servers and signs in to OAuth servers without starting a session.
memory
Package memory defines orb's durable memory SDK seam.
Package memory defines orb's durable memory SDK seam.
memory/agent
Package agentmemory attaches Orb's bounded persistent memory to a plain engine.Agent.
Package agentmemory attaches Orb's bounded persistent memory to a plain engine.Agent.
memtree
Package memtree keeps a session's whole history reachable at a constant size: a binary tree of one-line summaries over every message, a view of it that fades with age, and a zoom tool that opens any line back down to its message.
Package memtree keeps a session's whole history reachable at a constant size: a binary tree of one-line summaries over every message, a view of it that fades with age, and a zoom tool that opens any line back down to its message.
permissions/native
Package native attaches filesystem containment to local tool operations.
Package native attaches filesystem containment to local tool operations.
questions
Package questions is Orb's shared human-question capability and native tool.
Package questions is Orb's shared human-question capability and native tool.
titles
Package titles names a session after its first exchange: a few words the session's own model picks, set once, never over a name the owner gave.
Package titles names a session after its first exchange: a few words the session's own model picks, set once, never over a name the owner gave.
Package tui provides pi's differential terminal renderer and components.
Package tui provides pi's differential terminal renderer and components.

Jump to

Keyboard shortcuts

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