platonic-core 0.1.0

Core Rust harness primitives for disciplined, replayable agent execution.
Documentation

Platonic Core

Core Rust harness primitives for disciplined, replayable agent execution.

Platonic Core is not a chatbot, personal assistant, workflow SaaS, or “Agent OS.” It is the small kernel underneath those things: typed context assembly, tool-call boundaries, policy decisions, event logs, and replay/audit surfaces.

Part of the Referential stack.

Naming

  • Referential — company/product umbrella.
  • Platonic — harness core: clean forms, typed boundaries, no sprawl.
  • Plato Agent — planned usable agent product built on Platonic.

Design stance

  1. Every side effect is typed.
  2. Every context byte has a lane and a budget.
  3. Every run is an event log first; transcript is a derived view.
  4. Provider fallback is a policy event, not a silent retry.
  5. Tool output is structured data plus a short summary; raw logs become artifacts.
  6. Memory is scoped, typed, source-backed, and budgeted — not a junk drawer.
  7. The core stays small. Gateways, dashboards, cron, skills, voice, and platform adapters belong outside the kernel.

Current crate contents

The crate is intentionally modular inside the kernel:

ids      identifier newtypes
message  model-facing message primitives
context  lane-labeled context packs with budget validation
policy   effect classes and policy decisions
tool     tool-call and tool-result boundaries
event    durable harness event ledger
run        pure run state machine
projection pure run readback projection
error      shared error types

The public contract is documented in the crate rustdoc.

Verify

cargo test

Status

Seed kernel. The run contract is implemented as a pure multi-turn state machine with replay-validated readback projections; outer apps still own IO, providers, tools, stores, gateways, renderers, and schedulers.

License

Licensed under either of

at your option.