agentpack-cli 0.3.20__tar.gz → 0.3.22__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/PKG-INFO +104 -73
  2. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/README.md +95 -70
  3. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/pyproject.toml +11 -3
  4. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/__init__.py +1 -1
  5. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/ranking.py +668 -19
  6. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/role_inference.py +19 -1
  7. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/symbols.py +4 -0
  8. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/application/pack_service.py +56 -30
  9. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/benchmark.py +1972 -26
  10. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/diagnose_selection.py +1 -1
  11. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/explain.py +11 -6
  12. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/guard.py +4 -3
  13. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/init.py +14 -16
  14. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/migrate.py +4 -3
  15. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/pack.py +6 -5
  16. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/quickstart.py +5 -3
  17. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/stats.py +2 -2
  18. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/tune.py +1 -1
  19. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/config.py +8 -4
  20. agentpack_cli-0.3.22/src/agentpack/core/context_pack.py +2083 -0
  21. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/models.py +4 -2
  22. agentpack_cli-0.3.22/src/agentpack/core/modes.py +23 -0
  23. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/mcp_server.py +2 -2
  24. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/markdown.py +2 -0
  25. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/summaries/base.py +6 -2
  26. agentpack_cli-0.3.20/src/agentpack/core/context_pack.py +0 -838
  27. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/.gitignore +0 -0
  28. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/LICENSE +0 -0
  29. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/__init__.py +0 -0
  30. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/antigravity.py +0 -0
  31. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/base.py +0 -0
  32. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/claude.py +0 -0
  33. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/codex.py +0 -0
  34. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/cursor.py +0 -0
  35. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/detect.py +0 -0
  36. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/generic.py +0 -0
  37. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/windsurf.py +0 -0
  38. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/__init__.py +0 -0
  39. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/dependency_graph.py +0 -0
  40. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/go_imports.py +0 -0
  41. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/java_imports.py +0 -0
  42. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/js_ts_imports.py +0 -0
  43. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/monorepo.py +0 -0
  44. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/naming_signals.py +0 -0
  45. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/python_ast.py +0 -0
  46. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/python_imports.py +0 -0
  47. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/repo_map.py +0 -0
  48. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/rust_imports.py +0 -0
  49. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/task_classifier.py +0 -0
  50. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/tests.py +0 -0
  51. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/application/__init__.py +0 -0
  52. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/cli.py +0 -0
  53. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/__init__.py +0 -0
  54. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/_shared.py +0 -0
  55. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/ci_cmd.py +0 -0
  56. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/claude_cmd.py +0 -0
  57. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/compress_output.py +0 -0
  58. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/dashboard.py +0 -0
  59. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/dev_check.py +0 -0
  60. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/diff.py +0 -0
  61. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/doctor.py +0 -0
  62. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/eval_cmd.py +0 -0
  63. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/hook_cmd.py +0 -0
  64. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/ignore_cmd.py +0 -0
  65. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/install.py +0 -0
  66. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/learn.py +0 -0
  67. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/mcp_cmd.py +0 -0
  68. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/memory.py +0 -0
  69. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/monitor.py +0 -0
  70. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/next_cmd.py +0 -0
  71. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/perf.py +0 -0
  72. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/release_check.py +0 -0
  73. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/release_cmd.py +0 -0
  74. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/repair.py +0 -0
  75. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/retrieve.py +0 -0
  76. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/route.py +0 -0
  77. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/scan.py +0 -0
  78. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/skills.py +0 -0
  79. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/start_cmd.py +0 -0
  80. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/state_cmd.py +0 -0
  81. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/status.py +0 -0
  82. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/summarize.py +0 -0
  83. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/task_cmd.py +0 -0
  84. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/threads.py +0 -0
  85. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/verify_wheel.py +0 -0
  86. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/watch.py +0 -0
  87. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/workflow_cmd.py +0 -0
  88. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/wrap.py +0 -0
  89. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/__init__.py +0 -0
  90. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/bootstrap.py +0 -0
  91. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/cache.py +0 -0
  92. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/changed_paths.py +0 -0
  93. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/diff.py +0 -0
  94. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/evals.py +0 -0
  95. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/execution_state.py +0 -0
  96. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/git.py +0 -0
  97. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/git_hooks.py +0 -0
  98. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/global_install.py +0 -0
  99. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/ignore.py +0 -0
  100. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/loop_protocol.py +0 -0
  101. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/merkle.py +0 -0
  102. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/pack_registry.py +0 -0
  103. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/redactor.py +0 -0
  104. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/scanner.py +0 -0
  105. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/snapshot.py +0 -0
  106. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/task_freshness.py +0 -0
  107. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/thread_context.py +0 -0
  108. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/token_estimator.py +0 -0
  109. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/vscode_tasks.py +0 -0
  110. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/__init__.py +0 -0
  111. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/collectors.py +0 -0
  112. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/models.py +0 -0
  113. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/renderers.py +0 -0
  114. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/data/agentpack.md +0 -0
  115. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/__init__.py +0 -0
  116. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/antigravity.py +0 -0
  117. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/claude.py +0 -0
  118. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/codex.py +0 -0
  119. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/cursor.py +0 -0
  120. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/windsurf.py +0 -0
  121. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/__init__.py +0 -0
  122. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/agents.py +0 -0
  123. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/git_hooks.py +0 -0
  124. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/global_install.py +0 -0
  125. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/platform.py +0 -0
  126. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/vscode_tasks.py +0 -0
  127. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/__init__.py +0 -0
  128. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/collector.py +0 -0
  129. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/extractor.py +0 -0
  130. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/feedback.py +0 -0
  131. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/lesson_ranker.py +0 -0
  132. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/models.py +0 -0
  133. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/provider.py +0 -0
  134. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/quality.py +0 -0
  135. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/renderers.py +0 -0
  136. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/skill_map.py +0 -0
  137. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/output_compression/__init__.py +0 -0
  138. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/output_compression/core.py +0 -0
  139. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/__init__.py +0 -0
  140. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/compact.py +0 -0
  141. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/receipts.py +0 -0
  142. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/__init__.py +0 -0
  143. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/discovery.py +0 -0
  144. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/models.py +0 -0
  145. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/parser.py +0 -0
  146. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/prompt_builder.py +0 -0
  147. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/scoring.py +0 -0
  148. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/service.py +0 -0
  149. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/skills_index.py +0 -0
  150. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/session/__init__.py +0 -0
  151. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/session/events.py +0 -0
  152. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/session/state.py +0 -0
  153. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/summaries/__init__.py +0 -0
  154. {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/summaries/offline.py +0 -0
@@ -1,10 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentpack-cli
3
- Version: 0.3.20
4
- Summary: Local MCP context router for Claude Code, Codex, Cursor, and AI coding agents.
3
+ Version: 0.3.22
4
+ Summary: Local context engine for AI coding agents that ranks relevant repo files and builds compact task-focused context packs for Claude Code, Codex, Cursor, Windsurf, MCP, and CI workflows.
5
+ Project-URL: Homepage, https://github.com/vishal2612200/agentpack
6
+ Project-URL: Documentation, https://vishal2612200.github.io/agentpack/
7
+ Project-URL: Repository, https://github.com/vishal2612200/agentpack
8
+ Project-URL: Issues, https://github.com/vishal2612200/agentpack/issues
9
+ Project-URL: Changelog, https://github.com/vishal2612200/agentpack/blob/main/CHANGELOG.md
5
10
  License: MIT
6
11
  License-File: LICENSE
7
- Keywords: ai,ai-agent,ai-coding-agents,antigravity,ci,claude-code,codex,coding-agent,context,context-engine,context-packing,context-router,cursor,developer-tools,llm,mcp,mcp-context-engine,packing,prompt-context,reduce-token-usage,repo-analysis,repo-context,windsurf
12
+ Keywords: ai,ai-agent,ai-coding-agents,antigravity,ci,claude-code,codex,coding-agent,context,context-engine,context-packing,context-router,cursor,developer-tools,llm,local-first,mcp,mcp-context-engine,packing,prompt-context,reduce-token-usage,repo-analysis,repo-context,repo-map,task-focused-context,windsurf
8
13
  Classifier: Development Status :: 3 - Alpha
9
14
  Classifier: Intended Audience :: Developers
10
15
  Classifier: License :: OSI Approved :: MIT License
@@ -12,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.10
12
17
  Classifier: Programming Language :: Python :: 3.11
13
18
  Classifier: Programming Language :: Python :: 3.12
14
19
  Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
15
21
  Classifier: Topic :: Software Development :: Build Tools
16
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
17
23
  Requires-Python: >=3.10
@@ -49,14 +55,21 @@ Description-Content-Type: text/markdown
49
55
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
50
56
  [![CI](https://github.com/vishal2612200/agentpack/actions/workflows/ci.yml/badge.svg)](https://github.com/vishal2612200/agentpack/actions/workflows/ci.yml)
51
57
 
52
- **Local MCP context router for AI coding agents.**
58
+ **Local context engine for AI coding agents.**
53
59
 
54
- Claude Code, Codex, Cursor, and other coding agents can waste tool calls rediscovering your repo before they make the edit you asked for.
60
+ AgentPack ranks relevant repository files and builds compact task-focused context packs for Claude Code, Codex, Cursor, Windsurf, Antigravity, MCP tools, CI jobs, and markdown-based LLM workflows.
55
61
 
56
- AgentPack gives them a ranked map of likely relevant files, tests, rules, and skills for each task. It analyzes your repo locally and packages compact context for CLI and MCP workflows.
62
+ It runs local/offline repo analysis, compresses selected files into a token budget, and keeps context fresh through CLI commands, MCP tools, hooks, and agent integrations. Use it when an AI coding agent needs a ranked starting map instead of burning tool calls rediscovering your repo.
57
63
 
58
- How it works: AgentPack compresses repo context into ranked packs, caches scans/summaries/pack metadata for fast refreshes, and retrieves exact file or symbol blocks later when an agent needs more detail. Rendered packs also put stable instructions before volatile task, timestamp, git, and file sections so provider prompt-prefix caches can reuse the front of repeated refreshes. No cloud indexing, embeddings, or API calls are required for scan, summarize, rank, pack, stats, or benchmark. See [How AgentPack works](docs/how-agentpack-works.md) for the full scan, rank, compress, cache, retrieve, route, and benchmark flow.
59
- Try the read-only task router without writing context files:
64
+ AgentPack is a context preparation tool, not a coding agent.
65
+
66
+ One workflow matters:
67
+
68
+ ```text
69
+ route -> pack -> agent acts -> benchmark captures miss
70
+ ```
71
+
72
+ First route the task to likely files, tests, rules, and skills:
60
73
 
61
74
  ```bash
62
75
  pipx run --spec agentpack-cli agentpack route --task "fix auth token expiry"
@@ -64,89 +77,119 @@ pipx run --spec agentpack-cli agentpack route --task "fix auth token expiry"
64
77
 
65
78
  ![AgentPack route demo](docs/assets/agentpack-route-demo.svg)
66
79
 
67
- > **Status: alpha (v0.3.20).** Works, tested, and used in real sessions. Python and JavaScript/TypeScript are the best-supported languages. Current benchmarks are useful regression checks, not broad proof that AgentPack improves coding-agent success. API may change before 1.0.
80
+ > **Status: alpha (v0.3.22).** Works, tested, and used in real sessions. Python and JavaScript/TypeScript are the best-supported languages. Current benchmarks are useful regression checks, not broad proof that AgentPack improves coding-agent success. API may change before 1.0.
68
81
  >
69
82
  > **Platform note:** macOS, Linux, and Windows are supported. Windows support targets PowerShell plus Git for Windows. `cmd.exe` and bare Git setups are not a supported path yet.
70
83
  >
71
84
  > **Name note:** PyPI package is `agentpack-cli`, npm package is `@vishal2612200/agentpack`, and the command is `agentpack`. This project is unrelated to AgentPack dataset papers or other repos with the same name.
72
85
 
73
- ## What's New in 0.3.20
86
+ ## What's New in 0.3.22
74
87
 
75
- `0.3.20` adds a dedicated "How AgentPack works" guide for scan, rank, compress,
76
- cache, retrieve, route, stable-prefix caching, and skill keyword quality. It
77
- also polishes the local dashboard and expands skill-routing benchmark guidance
78
- for `expected_skills`, `avoid_skills`, recall, precision, MRR, and noise.
88
+ `0.3.22` is a benchmark recall release. It promotes maintenance-context
89
+ recovery to the current expanded public-suite baseline: **66.0% recall / 51.1%
90
+ token precision** across 108 scored public cases.
91
+ `0.3.21` established the prior honest baseline at **57.0% recall / 50.6% token precision**. The new result clears the 65% recall target while keeping token
92
+ precision above the 51% release floor; remaining risk is config/build recall and NestJS token precision. Result: [`benchmarks/results/2026-06-13-public.md`](benchmarks/results/2026-06-13-public.md).
79
93
 
80
- ## Before vs After
94
+ ## Core Workflow
81
95
 
82
- Without AgentPack, a cold coding-agent session often starts with manual repo orientation:
96
+ ### 1. Route
83
97
 
84
- ```text
85
- Task: fix auth token expiry
98
+ Use the read-only router when you want quick orientation without writing files:
86
99
 
87
- Agent:
88
- - searches for auth files
89
- - opens nearby middleware and config
90
- - may miss related tests
91
- - spends early turns building a repo map
100
+ ```bash
101
+ agentpack route --task "fix auth token expiry"
92
102
  ```
93
103
 
94
- With AgentPack:
104
+ ### 2. Pack
95
105
 
96
106
  ```bash
97
- agentpack route --task "fix auth token expiry"
107
+ agentpack task set "fix auth token expiry"
108
+ agentpack pack --task auto
98
109
  ```
99
110
 
100
- ```text
101
- Task:
102
- fix auth token expiry
111
+ AgentPack writes `.agentpack/context.md` with selected files, omitted-file
112
+ receipts, task freshness, token stats, and suggested checks.
113
+
114
+ ### 3. Agent Acts
115
+
116
+ Point the agent at the pack or use MCP tools. Agent still verifies code before
117
+ editing; AgentPack is map, not correctness proof.
118
+
119
+ ### 4. Benchmark Captures Miss
103
120
 
104
- Relevant files:
105
- - tests/test_auth.py
106
- - src/app/auth.py
107
- - src/app/users.py
121
+ After a task, capture the files that actually changed:
108
122
 
109
- Suggested commands:
110
- - pytest tests/test_auth.py -q
123
+ ```bash
124
+ agentpack benchmark capture --since main --task "fix auth token expiry"
125
+ agentpack benchmark --misses
111
126
  ```
112
127
 
128
+ Miss diagnostics show whether a required file was ignored, scored too low,
129
+ ranked but cut by budget, or absent from scan.
130
+
113
131
  ## Features
114
132
 
115
- - **Task-focused packing**: ranks files from git changes, task terms, symbols, imports, related tests, configs, churn, repo history, and deterministic offline summaries.
116
- - **Budget-aware compression**: emits `full`, `diff`, `symbols`, `skeleton`, or `summary` views instead of all-or-nothing file dumps.
117
- - **Rendered-token accounting and reserve buckets**: budgets against actual markdown while protecting changed files, tests, docs, and dependencies.
118
- - **Execution state**: optional task state files and git-derived fallback status show whether work is planned, in progress, blocked, done, committed, or committed but not pushed.
119
- - **Thread-scoped context**: explicit `--thread <id>` or `--thread auto` isolates task/context files for multiple agents in one repo and warns on same-branch file overlap.
120
- - **Task router**: MCP and CLI surfaces route a task to relevant files, scoped rules, installed skills, suggested commands, and safety warnings without executing skills automatically.
121
- - **Reversible registry and learning layer**: retrieves packed context by block ID, writes developer lessons, and feeds bounded selected-file miss feedback into future ranking.
122
- - **Runtime scorecard and output compression**: `perf --history` tracks activity, while `compress-output` preserves failures, paths, diffs, and search hits from noisy logs.
123
- - **Agent integrations**: installs Claude Code, Cursor, Windsurf, Codex, Antigravity, VS Code tasks, git hooks, and MCP configuration.
124
- - **Local and measurable**: no API calls for scan, summarize, rank, pack, stats, or benchmark; quality is measured with expected-file evals.
133
+ - **Route**: read-only task map with relevant files, tests, rules, skills, commands, and warnings.
134
+ - **Pack**: budgeted context with `full`, `diff`, `symbols`, `skeleton`, or `summary` file views.
135
+ - **Act**: CLI, markdown, MCP, and agent integrations for Claude Code, Codex, Cursor, Windsurf, Antigravity, and generic agents.
136
+ - **Benchmark**: expected-file recall, token precision, miss diagnostics, public commit suites, and E2E A/B reports.
137
+ - **Local**: no cloud indexing, embeddings, or API calls for scan, summarize, rank, pack, stats, or benchmark.
125
138
 
126
139
  ## Benchmark Proof
127
140
 
128
- Latest public release gate: 8 real commits from Pallets Click, ItsDangerous, and MarkupSafe, scored against files actually changed by each commit.
141
+ Current local release-candidate table: expanded public-suite historical commits
142
+ across Python, TypeScript, Go, Java, and monorepo repos, scored against files
143
+ actually changed by each commit.
129
144
 
130
145
  | Metric | Result |
131
146
  |---|---:|
132
- | Avg recall | 79.2% |
133
- | Avg token precision | 51.2% |
134
- | Pack p50 | 1,450 tokens |
135
- | Pack p95 | 3,805 tokens |
147
+ | Scored cases | 108 |
148
+ | Avg recall | 66.0% |
149
+ | Avg token precision | 51.1% |
150
+ | Pack p50 | 315 tokens |
151
+ | Pack p95 | 1,150 tokens |
152
+
153
+ Full local table: [`benchmarks/results/2026-06-13-public.md`](benchmarks/results/2026-06-13-public.md). This is scoped benchmark evidence, not a universal quality claim.
154
+ The latest published v0.3.20 table remains available at
155
+ [`benchmarks/results/2026-06-11-public.md`](benchmarks/results/2026-06-11-public.md).
156
+ Reproduce the expanded public suite:
136
157
 
137
- Full table: [`benchmarks/results/2026-05-27-public.md`](benchmarks/results/2026-05-27-public.md). This is public smoke proof, not a claim of universal ranking quality; expand cases for your own repo with `agentpack benchmark capture`.
158
+ ```bash
159
+ agentpack benchmark --public-suite --reproduce v0.3.20
160
+ ```
161
+
162
+ Benchmark methodology lives under [`benchmarks/results/v0.3.20/`](benchmarks/results/v0.3.20/methodology.md).
163
+
164
+ ### Release Benchmark Gate
165
+
166
+ The current local release-candidate result clears the target: **66.0% recall**
167
+ and **51.1% token precision**. The target should continue to be measured on the
168
+ same 100+ public historical-commit suite, with per-language slices published so
169
+ aggregate gains are not hiding TypeScript, Go, Java, or monorepo regressions.
170
+
171
+ Decision gate for the next public table:
172
+
173
+ - full-suite recall is at least 65.0%
174
+ - full-suite token precision is at least 51.0%
175
+ - no major language or task slice loses more than 2 recall points
176
+ - Vite/TypeScript, Gin/Go, Click/Python, and NestJS monorepo misses are reported separately
177
+ - any AgentPack-vs-no-AgentPack A/B claim includes task success, tool calls,
178
+ token cost, and time-to-first-correct-file
179
+
180
+ ## Trust
181
+
182
+ AgentPack is MIT licensed, local-first, and uses PyPI Trusted Publishing plus
183
+ npm provenance for release artifacts. See [`SECURITY.md`](SECURITY.md),
184
+ [`docs/privacy.md`](docs/privacy.md), [`docs/threat-model.md`](docs/threat-model.md),
185
+ and [`docs/data-flow.md`](docs/data-flow.md).
138
186
 
139
187
  ## Use Cases
140
188
 
141
- - [Claude Code context engine](docs/claude-code-context-engine.md)
142
- - [MCP context engine](docs/mcp-context-engine.md)
143
- - [Cursor context packing](docs/cursor-context-packing.md)
144
- - [AI coding agent context packing](docs/ai-coding-agent-context.md)
145
- - [Reduce Claude Code token usage](docs/reduce-claude-code-token-usage.md)
146
- - [How AgentPack works](docs/how-agentpack-works.md)
147
- - [AgentPack vs Repomix](docs/agentpack-vs-repomix.md)
148
- - [AgentPack vs Augment Context Engine](docs/agentpack-vs-augment-context-engine.md)
149
- - [Docs index](docs/index.md)
189
+ Start with the [docs index](docs/index.md), or jump to guides for
190
+ [Claude Code](docs/claude-code-context-engine.md), [MCP](docs/mcp-context-engine.md),
191
+ [Cursor](docs/cursor-context-packing.md), [token usage](docs/reduce-claude-code-token-usage.md),
192
+ [AI coding agent context](docs/ai-coding-agent-context.md), and [how AgentPack works](docs/how-agentpack-works.md).
150
193
 
151
194
  ## Install
152
195
 
@@ -155,7 +198,7 @@ pipx install agentpack-cli
155
198
  agentpack --version
156
199
  ```
157
200
 
158
- Requires Python 3.10+. The PyPI package is `agentpack-cli`; the command is `agentpack`. Use `pipx` for normal installs because many macOS/Linux Python distributions block global `pip install` with PEP 668's `externally-managed-environment` error. If you prefer `pip`, install inside a virtual environment.
201
+ Requires Python 3.10+ and is tested on Python 3.10-3.14. The PyPI package is `agentpack-cli`; the command is `agentpack`. Use `pipx` for normal installs because many macOS/Linux Python distributions block global `pip install` with PEP 668's `externally-managed-environment` error. If you prefer `pip`, install inside a virtual environment.
159
202
 
160
203
  Install `pipx` first if needed:
161
204
 
@@ -274,7 +317,7 @@ budget = 8000
274
317
  output = ".agentpack/context.md"
275
318
  ```
276
319
 
277
- Use `agentpack pack --mode lite` when you want a cheap ranked map before deeper file reads. Use `minimal`, `balanced`, or `deep` when you want progressively more file content in the generated pack.
320
+ Use `agentpack pack --mode lite` when you want a cheap ranked map before deeper file reads. Use the default `balanced` mode for normal agent work and benchmark claims. Use `deep` when the task needs broader docs and source context.
278
321
 
279
322
  Use `.agentignore` to remove generated output, vendored code, large exports, or files that repeatedly appear as ranking noise. AgentPack imports obvious generated/noisy entries from gitignore sources during init, but repository-specific outputs should still be added by hand.
280
323
 
@@ -391,18 +434,6 @@ THREAD=codex-local make context-thread
391
434
  AGENTPACK_THREAD_ID=codex-local make context-thread
392
435
  ```
393
436
 
394
- ## Benchmark Proof
395
-
396
- AgentPack is best treated as a ranked starting map. It can reduce repeated orientation work, but the agent and reviewer still own correctness.
397
-
398
- Use real repo evals instead of trusting compression numbers:
399
-
400
- ```bash
401
- agentpack benchmark --release-gate
402
- ```
403
-
404
- Current benchmark evidence is documented in [`benchmarks/README.md`](benchmarks/README.md) and the generated tables under `benchmarks/results/`. Treat these as scoped evidence for the included cases, not a universal performance claim.
405
-
406
437
  ## What A Pack Contains
407
438
 
408
439
  Rendered packs are meant to be readable by humans and directly useful to agents. A typical pack includes:
@@ -8,14 +8,21 @@
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
9
  [![CI](https://github.com/vishal2612200/agentpack/actions/workflows/ci.yml/badge.svg)](https://github.com/vishal2612200/agentpack/actions/workflows/ci.yml)
10
10
 
11
- **Local MCP context router for AI coding agents.**
11
+ **Local context engine for AI coding agents.**
12
12
 
13
- Claude Code, Codex, Cursor, and other coding agents can waste tool calls rediscovering your repo before they make the edit you asked for.
13
+ AgentPack ranks relevant repository files and builds compact task-focused context packs for Claude Code, Codex, Cursor, Windsurf, Antigravity, MCP tools, CI jobs, and markdown-based LLM workflows.
14
14
 
15
- AgentPack gives them a ranked map of likely relevant files, tests, rules, and skills for each task. It analyzes your repo locally and packages compact context for CLI and MCP workflows.
15
+ It runs local/offline repo analysis, compresses selected files into a token budget, and keeps context fresh through CLI commands, MCP tools, hooks, and agent integrations. Use it when an AI coding agent needs a ranked starting map instead of burning tool calls rediscovering your repo.
16
16
 
17
- How it works: AgentPack compresses repo context into ranked packs, caches scans/summaries/pack metadata for fast refreshes, and retrieves exact file or symbol blocks later when an agent needs more detail. Rendered packs also put stable instructions before volatile task, timestamp, git, and file sections so provider prompt-prefix caches can reuse the front of repeated refreshes. No cloud indexing, embeddings, or API calls are required for scan, summarize, rank, pack, stats, or benchmark. See [How AgentPack works](docs/how-agentpack-works.md) for the full scan, rank, compress, cache, retrieve, route, and benchmark flow.
18
- Try the read-only task router without writing context files:
17
+ AgentPack is a context preparation tool, not a coding agent.
18
+
19
+ One workflow matters:
20
+
21
+ ```text
22
+ route -> pack -> agent acts -> benchmark captures miss
23
+ ```
24
+
25
+ First route the task to likely files, tests, rules, and skills:
19
26
 
20
27
  ```bash
21
28
  pipx run --spec agentpack-cli agentpack route --task "fix auth token expiry"
@@ -23,89 +30,119 @@ pipx run --spec agentpack-cli agentpack route --task "fix auth token expiry"
23
30
 
24
31
  ![AgentPack route demo](docs/assets/agentpack-route-demo.svg)
25
32
 
26
- > **Status: alpha (v0.3.20).** Works, tested, and used in real sessions. Python and JavaScript/TypeScript are the best-supported languages. Current benchmarks are useful regression checks, not broad proof that AgentPack improves coding-agent success. API may change before 1.0.
33
+ > **Status: alpha (v0.3.22).** Works, tested, and used in real sessions. Python and JavaScript/TypeScript are the best-supported languages. Current benchmarks are useful regression checks, not broad proof that AgentPack improves coding-agent success. API may change before 1.0.
27
34
  >
28
35
  > **Platform note:** macOS, Linux, and Windows are supported. Windows support targets PowerShell plus Git for Windows. `cmd.exe` and bare Git setups are not a supported path yet.
29
36
  >
30
37
  > **Name note:** PyPI package is `agentpack-cli`, npm package is `@vishal2612200/agentpack`, and the command is `agentpack`. This project is unrelated to AgentPack dataset papers or other repos with the same name.
31
38
 
32
- ## What's New in 0.3.20
39
+ ## What's New in 0.3.22
33
40
 
34
- `0.3.20` adds a dedicated "How AgentPack works" guide for scan, rank, compress,
35
- cache, retrieve, route, stable-prefix caching, and skill keyword quality. It
36
- also polishes the local dashboard and expands skill-routing benchmark guidance
37
- for `expected_skills`, `avoid_skills`, recall, precision, MRR, and noise.
41
+ `0.3.22` is a benchmark recall release. It promotes maintenance-context
42
+ recovery to the current expanded public-suite baseline: **66.0% recall / 51.1%
43
+ token precision** across 108 scored public cases.
44
+ `0.3.21` established the prior honest baseline at **57.0% recall / 50.6% token precision**. The new result clears the 65% recall target while keeping token
45
+ precision above the 51% release floor; remaining risk is config/build recall and NestJS token precision. Result: [`benchmarks/results/2026-06-13-public.md`](benchmarks/results/2026-06-13-public.md).
38
46
 
39
- ## Before vs After
47
+ ## Core Workflow
40
48
 
41
- Without AgentPack, a cold coding-agent session often starts with manual repo orientation:
49
+ ### 1. Route
42
50
 
43
- ```text
44
- Task: fix auth token expiry
51
+ Use the read-only router when you want quick orientation without writing files:
45
52
 
46
- Agent:
47
- - searches for auth files
48
- - opens nearby middleware and config
49
- - may miss related tests
50
- - spends early turns building a repo map
53
+ ```bash
54
+ agentpack route --task "fix auth token expiry"
51
55
  ```
52
56
 
53
- With AgentPack:
57
+ ### 2. Pack
54
58
 
55
59
  ```bash
56
- agentpack route --task "fix auth token expiry"
60
+ agentpack task set "fix auth token expiry"
61
+ agentpack pack --task auto
57
62
  ```
58
63
 
59
- ```text
60
- Task:
61
- fix auth token expiry
64
+ AgentPack writes `.agentpack/context.md` with selected files, omitted-file
65
+ receipts, task freshness, token stats, and suggested checks.
66
+
67
+ ### 3. Agent Acts
68
+
69
+ Point the agent at the pack or use MCP tools. Agent still verifies code before
70
+ editing; AgentPack is map, not correctness proof.
71
+
72
+ ### 4. Benchmark Captures Miss
62
73
 
63
- Relevant files:
64
- - tests/test_auth.py
65
- - src/app/auth.py
66
- - src/app/users.py
74
+ After a task, capture the files that actually changed:
67
75
 
68
- Suggested commands:
69
- - pytest tests/test_auth.py -q
76
+ ```bash
77
+ agentpack benchmark capture --since main --task "fix auth token expiry"
78
+ agentpack benchmark --misses
70
79
  ```
71
80
 
81
+ Miss diagnostics show whether a required file was ignored, scored too low,
82
+ ranked but cut by budget, or absent from scan.
83
+
72
84
  ## Features
73
85
 
74
- - **Task-focused packing**: ranks files from git changes, task terms, symbols, imports, related tests, configs, churn, repo history, and deterministic offline summaries.
75
- - **Budget-aware compression**: emits `full`, `diff`, `symbols`, `skeleton`, or `summary` views instead of all-or-nothing file dumps.
76
- - **Rendered-token accounting and reserve buckets**: budgets against actual markdown while protecting changed files, tests, docs, and dependencies.
77
- - **Execution state**: optional task state files and git-derived fallback status show whether work is planned, in progress, blocked, done, committed, or committed but not pushed.
78
- - **Thread-scoped context**: explicit `--thread <id>` or `--thread auto` isolates task/context files for multiple agents in one repo and warns on same-branch file overlap.
79
- - **Task router**: MCP and CLI surfaces route a task to relevant files, scoped rules, installed skills, suggested commands, and safety warnings without executing skills automatically.
80
- - **Reversible registry and learning layer**: retrieves packed context by block ID, writes developer lessons, and feeds bounded selected-file miss feedback into future ranking.
81
- - **Runtime scorecard and output compression**: `perf --history` tracks activity, while `compress-output` preserves failures, paths, diffs, and search hits from noisy logs.
82
- - **Agent integrations**: installs Claude Code, Cursor, Windsurf, Codex, Antigravity, VS Code tasks, git hooks, and MCP configuration.
83
- - **Local and measurable**: no API calls for scan, summarize, rank, pack, stats, or benchmark; quality is measured with expected-file evals.
86
+ - **Route**: read-only task map with relevant files, tests, rules, skills, commands, and warnings.
87
+ - **Pack**: budgeted context with `full`, `diff`, `symbols`, `skeleton`, or `summary` file views.
88
+ - **Act**: CLI, markdown, MCP, and agent integrations for Claude Code, Codex, Cursor, Windsurf, Antigravity, and generic agents.
89
+ - **Benchmark**: expected-file recall, token precision, miss diagnostics, public commit suites, and E2E A/B reports.
90
+ - **Local**: no cloud indexing, embeddings, or API calls for scan, summarize, rank, pack, stats, or benchmark.
84
91
 
85
92
  ## Benchmark Proof
86
93
 
87
- Latest public release gate: 8 real commits from Pallets Click, ItsDangerous, and MarkupSafe, scored against files actually changed by each commit.
94
+ Current local release-candidate table: expanded public-suite historical commits
95
+ across Python, TypeScript, Go, Java, and monorepo repos, scored against files
96
+ actually changed by each commit.
88
97
 
89
98
  | Metric | Result |
90
99
  |---|---:|
91
- | Avg recall | 79.2% |
92
- | Avg token precision | 51.2% |
93
- | Pack p50 | 1,450 tokens |
94
- | Pack p95 | 3,805 tokens |
100
+ | Scored cases | 108 |
101
+ | Avg recall | 66.0% |
102
+ | Avg token precision | 51.1% |
103
+ | Pack p50 | 315 tokens |
104
+ | Pack p95 | 1,150 tokens |
105
+
106
+ Full local table: [`benchmarks/results/2026-06-13-public.md`](benchmarks/results/2026-06-13-public.md). This is scoped benchmark evidence, not a universal quality claim.
107
+ The latest published v0.3.20 table remains available at
108
+ [`benchmarks/results/2026-06-11-public.md`](benchmarks/results/2026-06-11-public.md).
109
+ Reproduce the expanded public suite:
95
110
 
96
- Full table: [`benchmarks/results/2026-05-27-public.md`](benchmarks/results/2026-05-27-public.md). This is public smoke proof, not a claim of universal ranking quality; expand cases for your own repo with `agentpack benchmark capture`.
111
+ ```bash
112
+ agentpack benchmark --public-suite --reproduce v0.3.20
113
+ ```
114
+
115
+ Benchmark methodology lives under [`benchmarks/results/v0.3.20/`](benchmarks/results/v0.3.20/methodology.md).
116
+
117
+ ### Release Benchmark Gate
118
+
119
+ The current local release-candidate result clears the target: **66.0% recall**
120
+ and **51.1% token precision**. The target should continue to be measured on the
121
+ same 100+ public historical-commit suite, with per-language slices published so
122
+ aggregate gains are not hiding TypeScript, Go, Java, or monorepo regressions.
123
+
124
+ Decision gate for the next public table:
125
+
126
+ - full-suite recall is at least 65.0%
127
+ - full-suite token precision is at least 51.0%
128
+ - no major language or task slice loses more than 2 recall points
129
+ - Vite/TypeScript, Gin/Go, Click/Python, and NestJS monorepo misses are reported separately
130
+ - any AgentPack-vs-no-AgentPack A/B claim includes task success, tool calls,
131
+ token cost, and time-to-first-correct-file
132
+
133
+ ## Trust
134
+
135
+ AgentPack is MIT licensed, local-first, and uses PyPI Trusted Publishing plus
136
+ npm provenance for release artifacts. See [`SECURITY.md`](SECURITY.md),
137
+ [`docs/privacy.md`](docs/privacy.md), [`docs/threat-model.md`](docs/threat-model.md),
138
+ and [`docs/data-flow.md`](docs/data-flow.md).
97
139
 
98
140
  ## Use Cases
99
141
 
100
- - [Claude Code context engine](docs/claude-code-context-engine.md)
101
- - [MCP context engine](docs/mcp-context-engine.md)
102
- - [Cursor context packing](docs/cursor-context-packing.md)
103
- - [AI coding agent context packing](docs/ai-coding-agent-context.md)
104
- - [Reduce Claude Code token usage](docs/reduce-claude-code-token-usage.md)
105
- - [How AgentPack works](docs/how-agentpack-works.md)
106
- - [AgentPack vs Repomix](docs/agentpack-vs-repomix.md)
107
- - [AgentPack vs Augment Context Engine](docs/agentpack-vs-augment-context-engine.md)
108
- - [Docs index](docs/index.md)
142
+ Start with the [docs index](docs/index.md), or jump to guides for
143
+ [Claude Code](docs/claude-code-context-engine.md), [MCP](docs/mcp-context-engine.md),
144
+ [Cursor](docs/cursor-context-packing.md), [token usage](docs/reduce-claude-code-token-usage.md),
145
+ [AI coding agent context](docs/ai-coding-agent-context.md), and [how AgentPack works](docs/how-agentpack-works.md).
109
146
 
110
147
  ## Install
111
148
 
@@ -114,7 +151,7 @@ pipx install agentpack-cli
114
151
  agentpack --version
115
152
  ```
116
153
 
117
- Requires Python 3.10+. The PyPI package is `agentpack-cli`; the command is `agentpack`. Use `pipx` for normal installs because many macOS/Linux Python distributions block global `pip install` with PEP 668's `externally-managed-environment` error. If you prefer `pip`, install inside a virtual environment.
154
+ Requires Python 3.10+ and is tested on Python 3.10-3.14. The PyPI package is `agentpack-cli`; the command is `agentpack`. Use `pipx` for normal installs because many macOS/Linux Python distributions block global `pip install` with PEP 668's `externally-managed-environment` error. If you prefer `pip`, install inside a virtual environment.
118
155
 
119
156
  Install `pipx` first if needed:
120
157
 
@@ -233,7 +270,7 @@ budget = 8000
233
270
  output = ".agentpack/context.md"
234
271
  ```
235
272
 
236
- Use `agentpack pack --mode lite` when you want a cheap ranked map before deeper file reads. Use `minimal`, `balanced`, or `deep` when you want progressively more file content in the generated pack.
273
+ Use `agentpack pack --mode lite` when you want a cheap ranked map before deeper file reads. Use the default `balanced` mode for normal agent work and benchmark claims. Use `deep` when the task needs broader docs and source context.
237
274
 
238
275
  Use `.agentignore` to remove generated output, vendored code, large exports, or files that repeatedly appear as ranking noise. AgentPack imports obvious generated/noisy entries from gitignore sources during init, but repository-specific outputs should still be added by hand.
239
276
 
@@ -350,18 +387,6 @@ THREAD=codex-local make context-thread
350
387
  AGENTPACK_THREAD_ID=codex-local make context-thread
351
388
  ```
352
389
 
353
- ## Benchmark Proof
354
-
355
- AgentPack is best treated as a ranked starting map. It can reduce repeated orientation work, but the agent and reviewer still own correctness.
356
-
357
- Use real repo evals instead of trusting compression numbers:
358
-
359
- ```bash
360
- agentpack benchmark --release-gate
361
- ```
362
-
363
- Current benchmark evidence is documented in [`benchmarks/README.md`](benchmarks/README.md) and the generated tables under `benchmarks/results/`. Treat these as scoped evidence for the included cases, not a universal performance claim.
364
-
365
390
  ## What A Pack Contains
366
391
 
367
392
  Rendered packs are meant to be readable by humans and directly useful to agents. A typical pack includes:
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "agentpack-cli"
3
- version = "0.3.20"
4
- description = "Local MCP context router for Claude Code, Codex, Cursor, and AI coding agents."
3
+ version = "0.3.22"
4
+ description = "Local context engine for AI coding agents that ranks relevant repo files and builds compact task-focused context packs for Claude Code, Codex, Cursor, Windsurf, MCP, and CI workflows."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
7
7
  license = {text = "MIT"}
8
- keywords = ["ai-coding-agents", "coding-agent", "ai-agent", "claude-code", "developer-tools", "repo-analysis", "repo-context", "context-engine", "mcp-context-engine", "context-router", "context-packing", "prompt-context", "reduce-token-usage", "mcp", "ci", "codex", "cursor", "windsurf", "antigravity", "ai", "llm", "context", "packing"]
8
+ keywords = ["ai-coding-agents", "coding-agent", "ai-agent", "claude-code", "developer-tools", "repo-analysis", "repo-context", "context-engine", "mcp-context-engine", "context-router", "context-packing", "prompt-context", "task-focused-context", "reduce-token-usage", "local-first", "repo-map", "mcp", "ci", "codex", "cursor", "windsurf", "antigravity", "ai", "llm", "context", "packing"]
9
9
  classifiers = [
10
10
  "Development Status :: 3 - Alpha",
11
11
  "Intended Audience :: Developers",
@@ -14,6 +14,7 @@ classifiers = [
14
14
  "Programming Language :: Python :: 3.11",
15
15
  "Programming Language :: Python :: 3.12",
16
16
  "Programming Language :: Python :: 3.13",
17
+ "Programming Language :: Python :: 3.14",
17
18
  "Topic :: Software Development :: Libraries :: Python Modules",
18
19
  "Topic :: Software Development :: Build Tools",
19
20
  ]
@@ -28,6 +29,13 @@ dependencies = [
28
29
  "tomli>=2.0.0; python_version < '3.11'"
29
30
  ]
30
31
 
32
+ [project.urls]
33
+ Homepage = "https://github.com/vishal2612200/agentpack"
34
+ Documentation = "https://vishal2612200.github.io/agentpack/"
35
+ Repository = "https://github.com/vishal2612200/agentpack"
36
+ Issues = "https://github.com/vishal2612200/agentpack/issues"
37
+ Changelog = "https://github.com/vishal2612200/agentpack/blob/main/CHANGELOG.md"
38
+
31
39
  [project.scripts]
32
40
  agentpack = "agentpack.cli:app"
33
41
 
@@ -1,3 +1,3 @@
1
1
  """AgentPack — task-aware context packing for AI coding agents."""
2
2
 
3
- __version__ = "0.3.20"
3
+ __version__ = "0.3.22"