Image Image opzero
Get access

opzero runtime

Durable memory and governed runs for agent work.

opzero gives coding and ops agents durable company context without granting blind write access. Leased retrieval, explicit human authority before consequential changes, and signed, replayable receipts.

Architecture

Runtime foundations

One process for Memory. Explicit human grants for Drive.

Memory SKU

usectx

One process, one catalogue, leased retrieve. Runs in-process or at 127.0.0.1:4790 (hosted at ctx.op0.ai). Validated with wire Postgres readiness.

Governed execution

Drive & Governed Runs

Separates what an agent may inspect from the consequential change requiring human approval. Every run settles into a signed, priced, replayable receipt.

Machine surface

MCP · CLI · OpenAPI

Remote MCP (POST /mcp with bearer auth), stdio plugins/usectx, and CLI. HostApi is the OpenAPI contract.

Interface

Protocol and endpoints

Standard HTTP and JSON-RPC contracts for tools, readiness, and discovery.

Method Path Target Purpose
GET /readyz Memory (usectx) Readiness probe: wire Postgres and evidence store status
POST /mcp JSON-RPC 2.0 Tool execution outlet for search, code_graph, and catalog tools
GET /openapi.json Public OpenAPI Public probes, bearer MCP pointer, and /ctx token UI
GET /docs/llms.txt Corpus Agent-readable index of architecture, contracts, and field notes

Setup

Agent configuration

Remote MCP uses https://ctx.op0.ai/mcp with workspace bearer token. In-repo checkout runs stdio via plugins/usectx.

.cursor/mcp.json (Remote MCP)

{
  "mcpServers": {
    "usectx": {
      "url": "https://ctx.op0.ai/mcp",
      "headers": {
        "Authorization": "Bearer CTX_HTTP_TOKEN"
      }
    }
  }
}

Readiness probe & tools

# Probe readiness (evidence store + wire Postgres + hybrid mode)
curl -sS https://ctx.op0.ai/readyz
# {"ok":true,"status":"ready","provider":"ctx","retrievalMode":"hybrid"}

# Tools exposed to your agent:
# - search (leased hybrid RRF over settled evidence)
# - code_graph (structural walk over pgGraph)
# - health (liveness and provider posture)