Developer ljedrz has released nachalnik, an agent runtime written in Rust that treats context, tools, permissions, and requests as explicit state rather than opaque framework decisions. The system provides a /context view to inspect items and their token costs, a /step command for manual state transitions, and an append-only event log.
- Context is structured data including id, kind, source, and metadata, allowing users to see exactly why items are excluded or elided.
- Turns preserve production order (reasoning → text → call) instead of flattening content and tool calls.
- The /step command stops at Ready without executing calls, enabling users to read, prune, drop, or continue manually.
- Sessions function as snapshots with an append-only event log, while budgets use a Calibrating counter that learns from actual provider charges.
- Tools are managed via a live registry that can be modified on the fly, and models can use an amend API to revise context.
The runtime is designed to give users full control over the agent's operation, ensuring transparency in how context is managed and decisions are made.