Docs
These docs are deliberately few. A page earns its place by recording a decision, a constraint that spans components, or a trap that is hard to discover from the source.
Using Octopus
Install it, set it up, work in it.
- Getting started The research preview runs locally on macOS. Install the released app, or build it from this repository; either way you finish setup inside the app. Codex is the first supported provider, and sign-in is Sign in with ChatG
- Desktop client The terminal client provides chat, tasks, results, and operator responses against the same Home without opening this app.
- Terminal client Octopus CLI is another client of the same system. It uses the same Home, Projects, Agents, tasks, model settings, and recorded results as the desktop client. You can start a task in either client and continue it in the o
- Process isolation on Linux Octopus's Linux backend uses AppArmor to enforce a process's declared read, write, execute, network, local IPC and signal authority. The same launch path serves verifier scripts, interface lives and tool processes. A mis
- Troubleshooting Octopus fails closed. When something is wrong you should see an error, not a quiet fallback. This page says where to look.
- Security model Octopus runs a model with tools on your machine. This page says what stands between a model's output and an effect, and what does not.
Understanding Octopus
What it is built around, and why.
- UX Octopus has to feel native - like an operating system, not like a research harness with a chat window attached. That is the main difference from other self-improving agent projects: the architecture exists so that the ex
- Architecture Octopus is a self-evolving agentic operating system. It is built on operating-system principles, with an architecture that lets agents reshape their execution environment and influence the trajectory of their future work
- Glossary Terms whose meaning matters across Octopus. Constraints and reasons belong in Architecture and the contracts, not in these definitions.
- Scenarios Four design examples show how Octopus can acquire a capability, change what it listens for, change its own client, and tell a model what matters when you come back. They describe the intended use of the architecture, rat
Contracts
What each primitive is, what the runtime guarantees about it, and what it refuses to do.
- Contracts Architecture is the picture. These pages are the detail: what each primitive is, what the runtime guarantees about it, and what it refuses to do.
- Policy - the formation contract Policy is what the rest of Octopus depends on. Every rule on this page is relied on elsewhere.
- Artifacts Artifacts are the universal data carrier. Every piece of data that enters the framework through an interface arrives as an artifact; every piece that leaves departs as one. Inputs, outputs, memory, tool calls, tool resul
- Interfaces Interfaces and artifacts are the skeleton of the framework. Any API call or external event is a transaction of artifacts across a declared interface.
- Workers If you come from other agent frameworks: a worker is your agent. A coding agent is a coder worker, a browser agent is a web worker. What changes is that the agent stops being a program. The loop it used to own is express
- Environments "Environment" means two different things in Octopus. They are not interchangeable and they do not nest under a third concept.
- Tools Tools sit below worker environments. A tool is code behind a room's door. A tool call is an ordinary artifact emitted to the door interface; the room executes it and returns a result artifact.
- Marks and verifiers Checkpoints can require evidence before work continues. A verifier checks the evidence artifact, and the runtime records a mark when the check passes. That mark establishes the specific result checked by the verifier.
- The ledger and its indexes The system's core record is not a message bus or an event store. It is the log of artifacts and their movements. Nothing in the framework works without artifacts, and every meaningful action is an artifact crossing an in
- Registry descriptors Octopus runs every dynamic registry through the same shape:
- Memory, skills, and persona Memory, skills, and persona are artifacts bound to runs. Updating one is an ordinary run under policy.
- Extending Octopus The cookbook for adding capabilities without editing the runtime.
Authoring guides
The guides that live beside the descriptors they describe.
- Writing an interface package An interface is a folder-identity in registry/interface: an artifact goes in, an artifact comes out. The runtime does not call interface code and does not select a compiled family. If an interface needs to live, its fold
- Writing a worker_environment_kind A worker environment is the technical room where a tool's effect physically happens: a shell, a git worktree, a browser session, a remote machine. It is needed only when a run needs tools that act on the world; a pure tr
- Writing a tool package A tool is an executable process behind the door interface of a worker environment. The model sends an ordinary tool.call artifact; the door checks the formed grant, loads registry/tool/<id>/tool.json, starts or reuses th
- Writing a verifier package A verifier is a deterministic check of one artifact on a movement edge: an artifact arrives at a checkpoint, the checkpoint has requiredverifiedartifacts, the runtime calls the verifier, and the verifier returns a verdic
- Writing a mark package A mark is a tick: the ledger fact "required verified artifact X was closed by artifact Y through verifier Z". Neither the model nor an interface emits a mark - the runtime records it after a verifier passes an artifact a
Working on Octopus
Building it, changing it, reporting what is wrong.
- Development Use Getting started for the macOS build, Architecture for the picture, and the contracts for what each primitive guarantees.
- Contributing Octopus is a fully public initiative. There is no commercial plan behind it and there will not be one: no paid tier, no hosted version, no company waiting at the end. The motivation is simple: everyone should end up with
- Security policy Do not open public issues containing an Octopus Home, ledger rows, interface state, provider sign-in files, API keys, prompts, tool results, or local filesystem paths. Redact diagnostics before sharing them.