Basic Usage
Agentic Mode
The agent receives tools to explicitly log decisions.log_decision, record_outcome, search_decisions
The agent decides when a decision is significant enough to log.
Always Mode
Tool calls are automatically logged as decisions.Extraction starts in the background before the model finishes generating its response, and only scans tool calls already present in the message snapshot at that point. On a single run, the current turn’s tool calls may not be captured; logging becomes reliable from the next run once those messages are part of the conversation history.
Data Model
Recording Outcomes
Update decisions with what actually happened to build feedback loops:record_outcome tool during conversation.
Accessing Decisions
Context Injection
Recent decisions are injected into the system prompt:Decision Types
Common categories for organizing decisions:Use Cases
- Auditing: Review what decisions agents made and why
- Debugging: Understand unexpected behavior by examining reasoning
- Learning: Analyze outcome patterns to improve agent instructions
- Feedback loops: Record outcomes to identify successful patterns