Expand description
Reference runtime (server side) for the Agent Runtime Control Protocol.
This crate ships the production-ready runtime — the part that accepts sessions, dispatches messages, runs tools, manages jobs / streams / permissions / leases / subscriptions, and persists what needs persisting:
runtime—ARCPRuntimeentrypoint.store— SQLite-backed append-only event log + credential ledger.auth— bearer,signed_jwt, and noneAuthenticatorimplementations. The trait itself lives inarcp-core.
Wire-format types (Envelope, MessageType,
errors, IDs, transport trait) are re-exported here for convenience but
ultimately live in arcp-core. Most users should depend on the umbrella
arcp crate; pull arcp-runtime in directly if you don’t need the
client side.
The crate also ships an arcp binary that runs a configurable demo
runtime over stdio or websockets — handy for ad-hoc conformance testing.
Re-exports§
pub use runtime::ARCPRuntime;
Modules§
- auth
- Concrete
Authenticatorimplementations for the schemes ARCP §8.2 defines:bearer,signed_jwt, andnone. - runtime
- ARCP runtime — the server side of the protocol.
- store
- Persistent storage primitives.
Structs§
- Envelope
- Typed protocol envelope (RFC §6.1).
Enums§
- ARCP
Error - In-process error type returned from library APIs.
- Error
Code - Canonical wire-level error code (RFC §18.2).
- Message
Type - Tagged enum of every protocol message payload (RFC §6.2).
Constants§
- IMPL_
KIND - Implementation kind reported in
runtime.kind/client.kindblocks (RFC §8.2, §8.3). - IMPL_
VERSION - Implementation version of this crate, derived from
Cargo.toml. Sibling crates in this workspace move in lockstep, so this constant also reflects the runtime / client / umbrella version. - PROTOCOL_
VERSION - Protocol version implemented by this crate, as carried in the
arcpfield of every envelope (RFC §6.1).