Skip to content

Research: AI agent state persistence compatibility #1329

Description

@mafredri

Scope: Research and document how each AI agent module handles state persistence to inform implementation of pause/resume functionality.

Deliverables:

  • Compatibility matrix documenting state persistence support for all 11 AI agent modules
  • Documentation of state storage mechanisms for each agent (file paths, formats, flags)
  • UX considerations and limitations for each agent type
  • Recommendations for module configuration defaults

Agents to research (11 total):

  • coder/modules/claude-code - Known: --continue flag + .claude/ directory (full support baseline)
  • coder/modules/aider
  • coder/modules/goose
  • coder/modules/amazon-q
  • coder-labs/modules/auggie
  • coder-labs/modules/codex
  • coder-labs/modules/copilot
  • coder-labs/modules/cursor-cli
  • coder-labs/modules/gemini
  • coder-labs/modules/opencode
  • coder-labs/modules/sourcegraph-amp

Research questions for each agent:

  • Does the agent have native session persistence?
  • Where does it store state (file paths, formats)?
  • Does it have resume/continue flags?
  • What happens when state files are present vs. absent on startup?
  • What UX issues arise when AgentAPI shows history but agent has no memory?

Compatibility levels (from RFC):

  • Full support: Session persistence + resume flag + status reporting
  • Partial support: Status reporting only, context lost on resume
  • No support: Agent cannot persist state

Acceptance criteria:

  • All 11 agents researched and documented
  • Compatibility matrix created showing support level for each agent
  • State storage mechanisms documented (paths, formats, flags)
  • UX considerations documented for each compatibility level
  • Recommendations provided for enable_state_persistence defaults per agent
  • Template requirements documented (persistent storage needs)

Blocks:

References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions