Skip to main content
Each time you start a Trading Agent, it creates a new session that tracks all activity, decisions, and state changes.

Session Structure

Sessions are stored in the agent’s trading_sessions/ directory:

journal.md

The journal is the agent’s working memory for the session. It contains:

Summary Section

High-level overview updated each tick:

Decisions Section

Key decisions made during the session:

Ticks Section

Record of each OODA loop iteration:

Executors Section

Active and completed executor states:

snapshots/

Full tick snapshots for debugging and replay. This is one of the most important parts of the system: observability. Each snapshot captures the complete state of a tick:
This lets you:
  • Debug exactly what the agent was thinking when it made a decision
  • Understand why a trade was placed or not placed
  • Replay the prompt that was passed to the agent
  • Audit all reasoning and tool calls
Retention: Maximum 100 snapshots per session. Older snapshots are pruned automatically.

Session Continuity

The ~/condor directory stores all agent state. Combined with ACP (Agent Client Protocol), this enables seamless continuity across interfaces: When you switch interfaces:
  • Same session continues
  • Full conversation history preserved
  • Agent state unchanged

Starting a New Session

To start a fresh session instead of resuming: Telegram: /agent β†’ Select agent β†’ New Session CLI:

Injecting Directives

You can send real-time instructions to a running agent using directives. The directive will be included in the agent’s next tick prompt under a USER DIRECTIVES section, then cleared. Telegram: /agent β†’ Select running agent β†’ Inject Directive Programmatic:
Common directive use cases:
  • Alert the agent to upcoming news events
  • Request exposure reduction before volatility
  • Override normal behavior temporarily
  • Provide market context the agent can’t observe
The agent sees the directive verbatim and decides how to act on it based on its strategy rules.

Session Lifecycle