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.
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/PKG-INFO +104 -73
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/README.md +95 -70
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/pyproject.toml +11 -3
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/__init__.py +1 -1
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/ranking.py +668 -19
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/role_inference.py +19 -1
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/symbols.py +4 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/application/pack_service.py +56 -30
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/benchmark.py +1972 -26
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/diagnose_selection.py +1 -1
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/explain.py +11 -6
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/guard.py +4 -3
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/init.py +14 -16
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/migrate.py +4 -3
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/pack.py +6 -5
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/quickstart.py +5 -3
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/stats.py +2 -2
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/tune.py +1 -1
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/config.py +8 -4
- agentpack_cli-0.3.22/src/agentpack/core/context_pack.py +2083 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/models.py +4 -2
- agentpack_cli-0.3.22/src/agentpack/core/modes.py +23 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/mcp_server.py +2 -2
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/markdown.py +2 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/summaries/base.py +6 -2
- agentpack_cli-0.3.20/src/agentpack/core/context_pack.py +0 -838
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/.gitignore +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/LICENSE +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/antigravity.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/base.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/claude.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/codex.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/cursor.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/detect.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/generic.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/adapters/windsurf.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/dependency_graph.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/go_imports.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/java_imports.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/js_ts_imports.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/monorepo.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/naming_signals.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/python_ast.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/python_imports.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/repo_map.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/rust_imports.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/task_classifier.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/analysis/tests.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/application/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/cli.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/_shared.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/ci_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/claude_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/compress_output.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/dashboard.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/dev_check.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/diff.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/doctor.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/eval_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/hook_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/ignore_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/install.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/learn.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/mcp_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/memory.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/monitor.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/next_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/perf.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/release_check.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/release_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/repair.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/retrieve.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/route.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/scan.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/skills.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/start_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/state_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/status.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/summarize.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/task_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/threads.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/verify_wheel.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/watch.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/workflow_cmd.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/commands/wrap.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/bootstrap.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/cache.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/changed_paths.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/diff.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/evals.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/execution_state.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/git.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/git_hooks.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/global_install.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/ignore.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/loop_protocol.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/merkle.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/pack_registry.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/redactor.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/scanner.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/snapshot.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/task_freshness.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/thread_context.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/token_estimator.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/core/vscode_tasks.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/collectors.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/models.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/dashboard/renderers.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/data/agentpack.md +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/antigravity.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/claude.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/codex.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/cursor.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/installers/windsurf.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/agents.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/git_hooks.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/global_install.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/platform.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/integrations/vscode_tasks.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/collector.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/extractor.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/feedback.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/lesson_ranker.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/models.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/provider.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/quality.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/renderers.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/learning/skill_map.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/output_compression/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/output_compression/core.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/compact.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/renderers/receipts.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/discovery.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/models.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/parser.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/prompt_builder.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/scoring.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/service.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/router/skills_index.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/session/__init__.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/session/events.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/session/state.py +0 -0
- {agentpack_cli-0.3.20 → agentpack_cli-0.3.22}/src/agentpack/summaries/__init__.py +0 -0
- {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.
|
|
4
|
-
Summary: Local
|
|
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
|
[](https://opensource.org/licenses/MIT)
|
|
50
56
|
[](https://github.com/vishal2612200/agentpack/actions/workflows/ci.yml)
|
|
51
57
|
|
|
52
|
-
**Local
|
|
58
|
+
**Local context engine for AI coding agents.**
|
|
53
59
|
|
|
54
|
-
|
|
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
|
-
|
|
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
|
-
|
|
59
|
-
|
|
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
|

|
|
66
79
|
|
|
67
|
-
> **Status: alpha (v0.3.
|
|
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.
|
|
86
|
+
## What's New in 0.3.22
|
|
74
87
|
|
|
75
|
-
`0.3.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
##
|
|
94
|
+
## Core Workflow
|
|
81
95
|
|
|
82
|
-
|
|
96
|
+
### 1. Route
|
|
83
97
|
|
|
84
|
-
|
|
85
|
-
Task: fix auth token expiry
|
|
98
|
+
Use the read-only router when you want quick orientation without writing files:
|
|
86
99
|
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
104
|
+
### 2. Pack
|
|
95
105
|
|
|
96
106
|
```bash
|
|
97
|
-
agentpack
|
|
107
|
+
agentpack task set "fix auth token expiry"
|
|
108
|
+
agentpack pack --task auto
|
|
98
109
|
```
|
|
99
110
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
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
|
-
|
|
110
|
-
|
|
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
|
-
- **
|
|
116
|
-
- **
|
|
117
|
-
- **
|
|
118
|
-
- **
|
|
119
|
-
- **
|
|
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
|
-
|
|
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
|
-
|
|
|
133
|
-
| Avg
|
|
134
|
-
|
|
|
135
|
-
| Pack
|
|
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
|
-
|
|
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
|
-
|
|
142
|
-
- [MCP
|
|
143
|
-
|
|
144
|
-
|
|
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
|
|
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
|
|
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
|
[](https://opensource.org/licenses/MIT)
|
|
9
9
|
[](https://github.com/vishal2612200/agentpack/actions/workflows/ci.yml)
|
|
10
10
|
|
|
11
|
-
**Local
|
|
11
|
+
**Local context engine for AI coding agents.**
|
|
12
12
|
|
|
13
|
-
|
|
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
|
-
|
|
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
|
-
|
|
18
|
-
|
|
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
|

|
|
25
32
|
|
|
26
|
-
> **Status: alpha (v0.3.
|
|
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.
|
|
39
|
+
## What's New in 0.3.22
|
|
33
40
|
|
|
34
|
-
`0.3.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
##
|
|
47
|
+
## Core Workflow
|
|
40
48
|
|
|
41
|
-
|
|
49
|
+
### 1. Route
|
|
42
50
|
|
|
43
|
-
|
|
44
|
-
Task: fix auth token expiry
|
|
51
|
+
Use the read-only router when you want quick orientation without writing files:
|
|
45
52
|
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
57
|
+
### 2. Pack
|
|
54
58
|
|
|
55
59
|
```bash
|
|
56
|
-
agentpack
|
|
60
|
+
agentpack task set "fix auth token expiry"
|
|
61
|
+
agentpack pack --task auto
|
|
57
62
|
```
|
|
58
63
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
-
|
|
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
|
-
|
|
69
|
-
|
|
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
|
-
- **
|
|
75
|
-
- **
|
|
76
|
-
- **
|
|
77
|
-
- **
|
|
78
|
-
- **
|
|
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
|
-
|
|
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
|
-
|
|
|
92
|
-
| Avg
|
|
93
|
-
|
|
|
94
|
-
| Pack
|
|
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
|
-
|
|
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
|
-
|
|
101
|
-
- [MCP
|
|
102
|
-
|
|
103
|
-
|
|
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
|
|
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
|
|
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.
|
|
4
|
-
description = "Local
|
|
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
|
|