Skip to main content
The Decision Log Store records decisions made by agents with reasoning, context, and outcomes. Useful for auditing agent behavior, debugging unexpected outcomes, and building feedback loops.

Basic Usage

Agentic Mode

The agent receives tools to explicitly log decisions.
Available tools: 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.
Tradeoff: logs every tool call, may generate noise.

Data Model

Recording Outcomes

Update decisions with what actually happened to build feedback loops:
Or the agent can use the 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