Phrony - Declare an agent in a manifest, run it, and trace every call
by•
Phrony is where AI agents live, run, and stay under control. An agent starts as a few lines of code. In production, with real tools, budgets, and humans in the loop, it's not a function anymore. It's an entity, and code is the wrong place to keep it. Phrony lets you declare an agent in one YAML manifest, run it on an open runtime, and trace every run. Open spec, open-source, portable.


Replies
Phrony
The manifest + runtime framing makes sense. Once an agent has tools, budgets, approvals, and real users depending on it, it stops feeling like “just code” and starts behaving more like an operational entity.
The part I’d be most interested in is state and handoff. Tracing every run is useful, but when a human needs to step in, they usually need more than logs: what the agent believed, what it tried, what it was unsure about, and what decision it needs from the reviewer.
How do you separate persistent agent state from per-run trace data? And does escalation preserve enough context for a human to re-enter without reconstructing the whole workflow from scratch?
Phrony
Hi@amir_mehrabi!
We split it by what the agent needs to resume vs what you need to audit.
Persistent state lives in the session + append-only event log (messages, tool calls/results, approvals). Conversation history is rebuilt from that log on read — not stored separately.
Trace data is mostly the same events, plus derived ledgers (tool invocations, approvals) and live streaming output that only gets persisted once a turn commits.
Escalation (human-in-the-loop): for tool approvals and dispatch failures, yes — enough context is preserved. A human can attach or approve/reject out of band, and the agent resumes the same turn from folded history. You don’t need to replay the whole workflow.
The approval card shows the pending decision (tool, args, reason); use session inspect for full context. Limit-based escalations are lighter; they unblock the session, but the operator usually sends a new message to continue.
For more detailed information please visit our documentation portal: phrony.com/docs