Pre-alpha · no stable public API
Durable agent orchestration, written for Rust.
StateKnot is building typed graph execution and PostgreSQL-backed recovery around explicit durability contracts. The runtime loop and protocol adapters are still under development.
$
$ cargo test -p stateknot-store-postgres \
--test postgres --locked
CI matrix PostgreSQL 16 / 17
License Apache-2.0
Status pre-alpha The architecture is a set of evidence boundaries.
Wire protocols stay outside the stable domain. External work stays outside database transactions. Recovery decisions are derived from bounded, integrity-checked facts.
Core contracts
Graph execution
PostgreSQL durability
Protocols
Operations
Current cut, without roadmap theatre.
“Implemented” means code exists in the pre-alpha repository. It does not mean the API is stable or the framework is ready for production.
- Core domain contracts Implemented slice Canonical, typed, security-bounded values Inspect
- PostgreSQL store Implemented slice Mandatory PostgreSQL 16 and 17 CI matrix Inspect
- Recovery planner Implemented slice Fence-bound planning and durable start handoff Inspect
- Runnable agent loop Not shipped Blocked on the complete recovery/dispatch path Inspect
- MCP and A2A adapters Not shipped In v1 scope; wire boundaries remain planned Inspect
Validate the repository before trusting the claims.
The facade crate is intentionally unpublished. Today’s honest quickstart is for contributors reviewing the implementation and its failure semantics.
Read the contribution contractgit clone https://github.com/StateKnot/StateKnot.git
cd StateKnot
cargo fmt --all --check
cargo test --workspace --all-targets --all-features --locked The road ahead is ordered by proof.
Protocol breadth comes after one end-to-end durable path survives crashes, retries, stale workers, and lost acknowledgements.
- Now
Close the durable execution path
Finish route, reducer, successor, retry-wakeup, and barrier dispatch semantics around the existing recovery evidence.
- Next
Ship a runnable agent loop
Bind model and tool execution to durable attempts without weakening the core contracts or holding database transactions across external work.
- Planned
Add protocol adapters
Map MCP and A2A wire models into versioned internal types, with policy and tenant boundaries enforced at admission.
- Before v1
Publish qualification evidence
Run the frozen scenarios under load and failure, then publish compatibility, performance, and recovery evidence before support claims.