Skip to content

Astromesh Nexus

Astromesh Nexus is the control plane of the agent cloud. It publishes, executes, meters and bills the agents that run on the Astromesh runtime, for many tenants at once.

A client calls the Nexus REST API. Nexus resolves the tenant, admits the run against its limits, loads the agent into a shared pool of runtimes, measures what the run consumed, prices it, and records the invocation.

AreaWhat you get
Tenants and accessUsers, tenants, API keys and an operator role. JWT for people, X-API-Key for programs.
Agent registryFull astromesh/v1 specs in PostgreSQL. Every publish appends an immutable version with its author and checksum.
ExecutionSynchronous runs (POST …/run) and WebSocket streaming with server-side cancel, dispatched to a shared runtime pool.
AdmissionPer-plan caps on concurrency, requests per minute and credits per period, plus token and iteration ceilings clamped into the spec.
Metering and pricingPer-model token usage (including the provider’s prompt cache), priced against effective-dated tariffs into credits.
Subscriptions and billingPlans sold per vertical (argo), business-unit usage events, and a monthly period close that writes charges and a statement.
ConnectionsPer-tenant credentials (an ERP key, an API, an MCP server), sealed with AES-256-GCM and forwarded to each run.
MessagingProactive sends through Herald, including from an agent mid-run with a per-run token.
ObservabilityPer-agent status, logs and metrics, invocation detail, tenant usage, and cross-tenant reads for operators.
Operator consoleA web console embedded in the binary: platform, customers, agent health, invocations, plans and tariffs, billing.
  • Not the agent runtime. Agents execute inside the Astromesh runtime pool. Nexus decides whether a run may happen and what it cost.
  • Not a Kubernetes operator. Agents are rows in PostgreSQL, not Custom Resources, and tenants share one runtime pool instead of getting a namespace and a node each.
  • Not single-tenant. Tenant isolation and per-tenant accounting are enforced in every query.

The pool is a cache, not a registry: Nexus pushes a tenant’s agent into it on first use and again only when the spec changed. The durable copy of every spec lives in PostgreSQL.

Astromesh runtimeWhat the pool runs. Each Nexus release pins one runtime version (astromesh 0.63.0 at Nexus 0.26.4).
HeraldThe messaging gateway. Herald invokes agents through Nexus; Nexus sends proactive messages through Herald.
CortexThe desktop console. It connects to Nexus as a managed hub to publish agents.
LeiaThe same operations in natural language, from Claude Code.
  • Architecture: components, data model, the run path and its guarantees.
  • Quick Start: deploy Nexus and run your first agent.
  • API Reference: every route, its auth and its errors.
  • Plans & Billing: admission, credits, tariffs, subscriptions and the period close.
  • Operations: configuration, the console, nexus-admin, deploy and backups.