01
Observe
Record the approved market or system context that the agent received.
SOLvival wraps an existing agent workflow with a local, integrity-checked record. The pilot starts with one approved flow, so your team can validate the evidence before expanding anything.
Record the approved market or system context that the agent received.
Record the decision separately from a suggested or attempted action.
Record the outcome and a clear stop reason, then validate the campaign bundle.
from services.observability import AgentRun, EventType
run = AgentRun("agent-run", budget_units=50,
max_seconds=30)
run.emit(EventType.OBSERVATION, context,
cost_units=1, context=context)
run.emit(EventType.DECISION,
{"action": "paper_hold"})
run.emit(EventType.ACTION_PROPOSED,
{"action": "paper_buy"})
run.emit(EventType.RESULT,
{"status": "simulated"})
run.emit(EventType.STOP,
{"reason": "complete"})This example captures what an agent observed and intended. It contains no wallet handling, transaction signer or order-sending function.
We agree the evidence fields, limits and expected stop conditions first. The initial work is local-first and execution-disabled unless the team later approves a different, explicitly scoped environment.