SuperAPIAI Directory

agentpack

github.com · AI agents

Repo-native task continuity for coding agents: a reviewed task-state ledger of decisions, dead ends, evidence and checkpoints that later sessions resume from.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Agentpack is a repository-native task continuity tool for AI coding agents. Its core idea is: agent memory (such as Claude Code memory, Codex memories, CLAUDE.md/AGENTS.md) remembers the ways you prefer to work, project conventions, and long-term unchanging facts; whereas Agentpack records the current progress of a task—the current task's goals, constraints, decisions, dead ends, next actions, and whether the results have been verified. The two can be used at the same time.

Purpose and problems solved: When a chat is closed or the context is compacted, the next session may need to reconstruct the task from files and conversation history, and decisions and failed approaches are easily missed. Agentpack keeps a small, reviewable task ledger in .agentpack/ within the repository, allowing a connected agent to record persistent state while working, and the next session to load it and continue.

Main capabilities:

  • Task Passport: Each task contains goals, status, constraints, write scope, next actions, and verification. Tasks can be started, paused, switched, and completed, making handoffs explicit.
  • Session start loads compact context: the current task passport, recent checkpoints, decisions, and reviewed conclusions about source files.
  • While working, record what is worth keeping: decisions, failed attempts, verification evidence. Conclusions about files come with a file hash, so subsequent sessions can determine whether the file has changed; a matching hash only means the file is unchanged, not that the conclusion is correct.
  • Create checkpoints at natural pause points: including status, next actions, and Git status.
  • Optional task gate: Warns when edits go beyond the scope of the active task. It uses Claude Code, Codex, Cursor native hooks as well as a pre-commit hook. By default it only warns; setting "gateMode": "block" in .agentpack/config.json can block such edits.
  • Recovery output stays within a rough token budget, giving the agent useful state rather than the entire history.
  • Codex, Claude Code, and Cursor installations also include an optional build subagent for larger implementation work. The main agent states what will be handed off before use; small tasks are still left to the main agent.

How to use: Requires Node.js >= 20. In a Git repository, init adds the patterns of untracked local files to Git's info/exclude, does not modify the project's .gitignore; files already tracked by Git remain tracked. Afterward, restart or reconnect the coding agent client, and the agent will load the Agentpack context at the start of the session, record decisions and evidence while working, and create checkpoints at meaningful progress points. You can run agentpack doctor to verify the setup, and run agentpack resume --preset agent --query "<topic>" to view the task status yourself. For per-item client setup, see docs/INTEGRATIONS.md.

Use cases:

  • The context window is compacted mid-task, and the next turn needs to restore state.
  • Start a fresh chat for an in-progress task.
  • Switch between Claude Code, Cursor, Codex, or another MCP client.
  • Return to a refactor or bug fix several days later.
  • Another agent continues from your checkpoint.
  • Work in different parts of a monorepo (api/, frontend/, cron/) using short-scope tasks, where task gating keeps the agent within the folders owned by the current task.

Limitations and security: Agentpack context also consumes tokens, and its compact output keeps task state available but does not include the full ledger history. On security: zero runtime dependencies, exact development dependencies, committed lockfiles, ignore-scripts=true; no telemetry and no network calls during normal CLI or MCP operation; best-effort redaction of suspected sensitive values in stored context and handoff output; releases are published via GitHub Actions with npm provenance (Trusted Publisher, no long-lived tokens), verifiable with npm audit signatures. See SECURITY.md for details. The repository mirror is on Codeberg, while issues, releases, and npm provenance remain on GitHub.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools