praisonai run agents.yaml --continue resumes a whole team exactly where it left off — prior turns and per-agent chat history replay before your new prompt.
Quick Start
1
Run your team once
memory: true needed in your YAML.2
Continue the team later
How It Works
The adapter resolves the session, restores team state and per-agent chat history, runsastart(), then captures fresh history back into state on save.
YAML/team runs go through the same core APIs as single-agent runs — AgentTeam.restore_session_state and AgentTeam.save_session_state. No new params, no YAML changes.
Configuration Options
restore_session_state
Core API that rehydrates team state on resume
save_session_state
Core API that persists team state after kickoff
What Gets Persisted
Team state, per-agent chat history, and shared memory all survive a resume.
What does not persist: running tool subprocesses, in-flight streaming state, InteractiveRuntime (ACP/LSP) sessions, and ephemeral in-memory tool caches.
User Interaction Flow
A research team YAML runs Monday and continues Wednesday with every agent’s prior findings intact.team._state, re-injects each agent’s captured chat history, then runs the new prompt — the researcher, analyst, and writer all pick up their earlier context.
Common Patterns
Resume yesterday’s team run:Best Practices
Run from the project root
Run from the project root
Git-remote / root-commit identity resolves consistently from the repo root, so
--continue always finds the right session.Fork before risky refactors
Fork before risky refactors
--fork --session <id> branches the thread — the parent session is left untouched while you try a variation.Use --no-save for one-off exploration
Use --no-save for one-off exploration
Nothing hits disk after kickoff, so PII-sensitive or throwaway prompts leave no session trail.
Skip memory: true in agents.yaml
Skip memory: true in agents.yaml
Session continuity opts the team into shared memory automatically — you do not need to add
memory: true for resume to work.Related
Project Sessions
How project identity and the session store resolve
--continueRun Command
Full
praisonai run reference with session flagsRun Stream Events
Stream YAML / team runs as per-agent NDJSON with
--output stream-json
