Session Structure
Sessions are stored in the agent’strading_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:- 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
Session Continuity
The~/condor directory stores all agent state. Combined with ACP (Agent Client Protocol), this enables seamless continuity across interfaces:
| Interface | How to Connect |
|---|---|
| Telegram | /agent → Select agent → Resume session |
| Claude Code | claude --agent ~/condor/trading_agents/my-strategy |
| Web Dashboard | Select agent from dashboard (coming soon) |
- 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 aUSER DIRECTIVES section, then cleared.
Telegram: /agent → Select running agent → Inject Directive
Programmatic:
- Alert the agent to upcoming news events
- Request exposure reduction before volatility
- Override normal behavior temporarily
- Provide market context the agent can’t observe

