Managing Multiple Agent Sessions: One Progress Ledger and Decision Queue
Running three AI coding or personal Agents in parallel is easy to start and hard to supervise. When every session holds its own prompts, progress, and blocked questions, you become the human dispatcher between terminals.
Why parallel Agent sessions stall in practice
An individual agent harness is built around a single session. Once you run several tasks in parallel—a bug fix in one terminal, a research task in another, a personal follow-up in a third—four concrete failure modes appear:
- Ephemeral approval prompts. One session asks whether to break an API signature, another asks to confirm a cleanup script. Miss one window and it blocks indefinitely; close the process and there is no record of what was decided.
- Repeated context briefings. Every new session starts from zero. Switching from one Agent to another means re-explaining project rules, prior decisions, and current status.
- Unobserved completions. A background sub-agent finishes with a PR or a report, but its output stays buried in a scrollback buffer until you remember to check.
- No single view of in-flight work. Neither your terminal multiplexer nor your chat history can answer "what is running, what is waiting on me, and what is overdue?" across different Agents.
Separating execution from state
APA (Awesome Personal Agent) does not replace your agent harness or wrap its loop. It draws a clean line: your Agent owns execution; APA owns the ledger, the clock, and the decision queue.
| Problem across sessions | Without a workbench | With APA |
|---|---|---|
| Session needs your decision | Blocks silently in a terminal or chat tab | Calls apa ask; appears in For you to decide with numbered options and no timeout default |
| Handing work to another Agent | Ad-hoc sub-agent spawn; easy to lose track | apa delegate --start or apa dispatch add creates a tracked child item and collects apa report |
| Starting a fresh session | Paste background notes manually | apa context gives a bounded overview; apa search and apa item thread drill down on demand |
| Auditing what happened | Grep terminal logs and chat scrollback | apa why <id> replays source, rules, judgments, reports, and who answered each decision |
The concrete CLI loop every Agent follows
Whether an Agent connects through a native plugin (Hermes, Alma) or runs the apa binary directly (Claude Code, Codex CLI, Pi), every session speaks the same ledger commands:
# 1. Start with current state (overview on first call, only changes after)
apa context
# 2. Drill down into a specific item without flooding the context window
apa search "android crash"
apa item show itm_01...
apa item thread itm_01...
# 3. Queue a real decision instead of stalling in a hidden prompt
apa ask itm_01... --question "Ship fix in 1.3 beta or hold for 1.4?" \
--option beta="Include in 1.3 beta" --option hold="Hold for 1.4"
# 4. Delegate to another registered executor and collect its report
apa delegate --parent itm_01... --assignee coder --start
apa report itm_02... --outcome done --summary "Fixed crash and opened PR #147"
Questions created with apa ask require at least two real options (or free-text input) and never time out into a default answer. Replies from the Web console or a paired channel (such as Telegram) resume the item and are recorded permanently in the discussion thread.