agentorch 2.0.2__tar.gz → 2.2.0__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.
- {agentorch-2.0.2 → agentorch-2.2.0}/PKG-INFO +56 -26
- {agentorch-2.0.2 → agentorch-2.2.0}/README.md +52 -24
- {agentorch-2.0.2 → agentorch-2.2.0}/agentorch.egg-info/PKG-INFO +56 -26
- {agentorch-2.0.2 → agentorch-2.2.0}/agentorch.egg-info/SOURCES.txt +15 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/agentorch.egg-info/requires.txt +4 -1
- {agentorch-2.0.2 → agentorch-2.2.0}/agentorch.egg-info/top_level.txt +1 -3
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_cli/main.py +146 -44
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/dashboard_api.py +6 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hooks/installer.py +67 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/mcp/server.py +4 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/calibrate.py +14 -6
- agentorch-2.2.0/devtorch_core/metrics/delivery_time.py +70 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/augmenter.py +62 -3
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/config.py +27 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/api.py +104 -6
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/composer.py +23 -2
- agentorch-2.2.0/devtorch_core/reasoning_plus/learning/embeddings.py +209 -0
- agentorch-2.2.0/devtorch_core/reasoning_plus/learning/extractor.py +207 -0
- agentorch-2.2.0/devtorch_core/reasoning_plus/learning/provenance.py +126 -0
- agentorch-2.2.0/devtorch_core/reasoning_plus/learning/relevance.py +101 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/store.py +68 -1
- agentorch-2.2.0/devtorch_core/serve.py +258 -0
- agentorch-2.2.0/devtorch_core/templates/__init__.py +6 -0
- agentorch-2.2.0/devtorch_core/templates/engine.py +122 -0
- agentorch-2.2.0/devtorch_core/templates/go.py +18 -0
- agentorch-2.2.0/devtorch_core/templates/infra.py +19 -0
- agentorch-2.2.0/devtorch_core/templates/python.py +19 -0
- agentorch-2.2.0/devtorch_core/templates/react.py +18 -0
- agentorch-2.2.0/devtorch_core/templates/typescript.py +18 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/anthropic.py +142 -20
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/base.py +91 -4
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/bedrock.py +88 -21
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/gemini.py +117 -14
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/ollama.py +108 -17
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/openai.py +141 -19
- {agentorch-2.0.2 → agentorch-2.2.0}/pyproject.toml +5 -2
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s24_reasoning_plus_learning.py +359 -1
- agentorch-2.2.0/tests/test_s25_delivery_time.py +49 -0
- agentorch-2.2.0/tests/test_s25_serve.py +85 -0
- agentorch-2.2.0/tests/test_s25_setup_detection.py +76 -0
- agentorch-2.2.0/tests/test_s25_templates.py +56 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7_wrappers.py +418 -0
- agentorch-2.0.2/devtorch_core/reasoning_plus/learning/extractor.py +0 -80
- agentorch-2.0.2/devtorch_core/reasoning_plus/learning/relevance.py +0 -59
- {agentorch-2.0.2 → agentorch-2.2.0}/MANIFEST.in +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/agentorch.egg-info/dependency_links.txt +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/agentorch.egg-info/entry_points.txt +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/hidden_profile/run_baseline.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/hidden_profile/run_devtorch.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/hidden_profile/score.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/compare.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/context_utils.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/evaluate.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/patch_utils.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/run_baseline.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/run_devtorch.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/benchmarks/swe_bench/seed_gcc.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_cli/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_cli/__main__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/aggphi_textual.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/base.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/config.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/dispatcher.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/jira.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/linear.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/pagerduty.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/slack.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/alerts/teams.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/broadcast/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/broadcast/broadcaster.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/broadcast/watcher.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/capability.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_config.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_configs/.claude-opencode-fallback.json +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_configs/.claude-stdio.json +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_configs/.cursor-mcp.json +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_configs/.opencode-bridge.json +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_configs/.opencode.json +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/client_configs/.vscode-mcp.json +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/cloud/devtorch-mcp-bridge.js +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/codex/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/codex/__main__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/codex/capture.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/codex/proxy.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/consolidation/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/consolidation/synthesizer.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/consolidation/workflow.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/deltaf.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/disclosure.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/divergence/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/divergence/detector.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gateway/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gateway/key_manager.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gateway/metrics_webhook.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gateway/policy.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gateway/server.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gateway/sso.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gcc.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/github/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/github/app.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/github/comment_builder.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/github/pat.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/github/pr_parser.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/gitlab/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hitl/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hitl/channels.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hitl/orchestrator.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hooks/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hooks/claude_code.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hooks/git_commit.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/hooks/runner.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/identity/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/identity/agent.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/identity/providers.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/invariants.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/mcp/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/mcp/auth.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/aggregate.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/calibration.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/credibility.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/dhs.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/mcs.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/roi.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/session_writer.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/shadow_ai.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/metrics/sprint_writer.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/datadog.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/formatter.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/report.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/servicenow.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/splunk.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/observability/webhook.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/parser/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/parser/blocks.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/parser/inference.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/parser/thinking.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/projects.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/prompt_artifact.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/proxy/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/proxy/routes/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/proxy/routes/anthropic.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/proxy/routes/gemini.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/proxy/routes/openai.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/proxy/server.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rdp.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning/entry.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning/store.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/capture.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/context.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/models.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/recorder.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/learning/state.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/reasoning_plus/prompt.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rep.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rep_network/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rep_network/merge.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rep_network/node.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rep_network/server.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/rep_network/sync.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/sensitivity.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/signing.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/sis.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/storage.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/theta.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/theta_synthesis.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/variance.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/devtorch_core/wrapper/__init__.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/docs/generate_faq_pdf.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/docs/paper/figures/fig_architecture.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/docs/paper/figures/fig_comparison.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/docs/paper/figures/fig_coordination.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/docs/paper/figures/fig_hashchain.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/docs/paper/figures/fig_racp_flow.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/setup.cfg +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/conftest.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_backend_factory.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_broadcast.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_cloud_auth.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_cloud_bridge.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_cloud_integration.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_cloud_sse.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_cloud_storage.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_doctor_ci.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_getting_started.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_github_app.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_github_pat.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_hidden_profile_benchmark.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_rep_merge.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s0_gcc.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s10_jetbrains.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s10_vscode.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s11_codex.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s11_hooks_installer.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s12_github.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s12_gitlab.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s13_dashboard_api.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s13_forensic.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s14_audit_export.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s14_ciso_api.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s15_rep_network.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s16_alerts.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s17a_metrics.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s17b_observability.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s17b_sso.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s18_credibility.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s18_identity.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s19_projects.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s19_reasoning_query.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s1_branch_merge.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s20_divergence.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s20_metrics.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s20_wrapper_capture.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s21_hitl.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s22_swe_bench.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s22_swe_bench_dry_run.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s23_reasoning_plus.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s2_context.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s3_sensitivity.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s4_invariants.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s4_variance_lock.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s5_privacy_disclosure.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s5_rep_sis.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s6_debug.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7_mcp_hooks.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7_ollama_wrapper.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7_parser.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7_proxy.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7ent_gateway.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s7ent_helm.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s8_aggphi.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s8_theta_synthesis.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_s9_gaps.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_setup_command.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_setup_targets.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_signing.py +0 -0
- {agentorch-2.0.2 → agentorch-2.2.0}/tests/test_storage_azure.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentorch
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: DevTorch — AI reasoning capture, audit trail, and governance for agent-assisted development
|
|
5
5
|
Author-email: Hemant Joshi <hemant@flotorch.ai>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -33,6 +33,8 @@ Requires-Dist: fastapi>=0.115.0; extra == "proxy"
|
|
|
33
33
|
Requires-Dist: uvicorn[standard]>=0.32.0; extra == "proxy"
|
|
34
34
|
Requires-Dist: httpx>=0.27.0; extra == "proxy"
|
|
35
35
|
Requires-Dist: pydantic>=2.9.0; extra == "proxy"
|
|
36
|
+
Provides-Extra: embeddings
|
|
37
|
+
Requires-Dist: sentence-transformers>=3.0.0; extra == "embeddings"
|
|
36
38
|
Provides-Extra: mcp
|
|
37
39
|
Requires-Dist: mcp>=1.0.0; extra == "mcp"
|
|
38
40
|
Provides-Extra: cloud
|
|
@@ -46,16 +48,16 @@ Requires-Dist: azure-storage-blob>=12.19.0; extra == "cloud"
|
|
|
46
48
|
Provides-Extra: broadcast
|
|
47
49
|
Requires-Dist: watchdog>=3.0.0; extra == "broadcast"
|
|
48
50
|
Provides-Extra: all
|
|
49
|
-
Requires-Dist: agentorch[cloud,mcp,proxy,wrapper]; extra == "all"
|
|
51
|
+
Requires-Dist: agentorch[cloud,embeddings,mcp,proxy,wrapper]; extra == "all"
|
|
50
52
|
|
|
51
53
|
# DevTorch
|
|
52
54
|
|
|
53
55
|
**Local-first AI agent governance.** DevTorch gives multi-agent systems a shared on-disk audit trail, coordination vector, privacy controls, and LLM integration layer — all without a remote service.
|
|
54
56
|
|
|
55
|
-
> **Latest release:** `agentorch 2.0
|
|
57
|
+
> **Latest release:** `agentorch 2.2.0` — Reasoning Plus Learning: semantic relevance, learning deduplication, provenance tracking, LLM-based extraction, and a feedback loop. Install or upgrade with `pip install -U agentorch`.
|
|
56
58
|
|
|
57
59
|
```bash
|
|
58
|
-
pip install -U agentorch>=2.0
|
|
60
|
+
pip install -U agentorch>=2.1.0
|
|
59
61
|
devtorch init
|
|
60
62
|
devtorch setup # connects to Claude Code, Cursor, or Antigravity
|
|
61
63
|
devtorch debug timeline
|
|
@@ -101,6 +103,14 @@ pip install agentorch
|
|
|
101
103
|
|
|
102
104
|
**Requirements:** Python 3.10+
|
|
103
105
|
|
|
106
|
+
One-liner installer (Linux/macOS/WSL):
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
curl -fsSL https://raw.githubusercontent.com/hemantcgi/DevTorch/main/Implementation/scripts/install.sh | bash
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
This installs `agentorch` into an isolated virtual environment at `~/.devtorch-venv` and links `devtorch` onto PATH. It also supports `pip install` if you prefer to manage your own environment.
|
|
113
|
+
|
|
104
114
|
For optional extras:
|
|
105
115
|
|
|
106
116
|
```bash
|
|
@@ -120,7 +130,7 @@ DevTorch preserves your `.GCC/` store across upgrades. Newer releases add IDE co
|
|
|
120
130
|
**Upgrade any time:**
|
|
121
131
|
|
|
122
132
|
```bash
|
|
123
|
-
pip install -U agentorch>=2.0
|
|
133
|
+
pip install -U agentorch>=2.1.0
|
|
124
134
|
cd /path/to/your/project
|
|
125
135
|
devtorch setup # or: devtorch setup --target <ide>
|
|
126
136
|
devtorch doctor
|
|
@@ -184,7 +194,7 @@ Open Claude Code in your project. On the first task Claude will call `devtorch_c
|
|
|
184
194
|
|
|
185
195
|
**What you get:** Full RACP integration — reasoning commits, sensitivity events, coordination vector Θ, divergence detection, HITL conflict resolution.
|
|
186
196
|
|
|
187
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
197
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup` will rewrite `.claude/hooks.json`, `.claude/settings.json`, and `CLAUDE.md` with the latest versions.
|
|
188
198
|
|
|
189
199
|
---
|
|
190
200
|
|
|
@@ -228,7 +238,7 @@ devtorch doctor
|
|
|
228
238
|
|
|
229
239
|
**What you get:** MCP tools, VS Code sidebar, optional HTTP proxy for passive capture of all LLM calls (`devtorch proxy start`).
|
|
230
240
|
|
|
231
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
241
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup --target cursor` will regenerate `.cursor/mcp.json` and update `CLAUDE.md`.
|
|
232
242
|
|
|
233
243
|
---
|
|
234
244
|
|
|
@@ -260,7 +270,7 @@ devtorch doctor
|
|
|
260
270
|
|
|
261
271
|
**What you get:** Full RACP integration. The multi-agent nature of Antigravity makes Θ accumulation especially valuable — multiple agents share the same reasoning state through `devtorch_context`.
|
|
262
272
|
|
|
263
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
273
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup --target antigravity` will regenerate the MCP config and update `AGENTS.md`.
|
|
264
274
|
|
|
265
275
|
---
|
|
266
276
|
|
|
@@ -298,7 +308,7 @@ Open the project in OpenCode. The DevTorch MCP tools will be listed, and the mod
|
|
|
298
308
|
|
|
299
309
|
**What you get:** Cloud-hosted MCP server integration with automatic local fallback, automatic reasoning commits via `AGENTS.md` instructions, and a shared Θ state across sessions.
|
|
300
310
|
|
|
301
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
311
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch cloud client-config opencode --org <org> --repo <repo> --api-key <api-key>` will regenerate `opencode.json` with the latest bridge and fallback settings. **Restart OpenCode** after updating the config.
|
|
302
312
|
|
|
303
313
|
---
|
|
304
314
|
|
|
@@ -330,7 +340,7 @@ devtorch sensitivity add --source you --concept auth --confidence 0.9 --disclosu
|
|
|
330
340
|
|
|
331
341
|
**What you get:** Sidebar panel (read-only), git-commit-level event capture, manual reasoning commits. Full capture requires switching to Claude Code, Cursor, Kiro, or Antigravity.
|
|
332
342
|
|
|
333
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
343
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup` will reinstall the git hook and update the governance instructions.
|
|
334
344
|
|
|
335
345
|
---
|
|
336
346
|
|
|
@@ -395,7 +405,7 @@ devtorch doctor
|
|
|
395
405
|
|
|
396
406
|
**What you get:** Full RACP integration equivalent to Claude Code — MCP tools, steering-document governance, agent action hooks.
|
|
397
407
|
|
|
398
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
408
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0`, then re-run the manual steps above and refresh your steering document with the latest `AGENTS.md` text.
|
|
399
409
|
|
|
400
410
|
---
|
|
401
411
|
|
|
@@ -428,7 +438,7 @@ All `invoke_model()` and `converse()` calls are identical. DevTorch injects the
|
|
|
428
438
|
devtorch doctor
|
|
429
439
|
```
|
|
430
440
|
|
|
431
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
441
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
432
442
|
|
|
433
443
|
---
|
|
434
444
|
|
|
@@ -462,7 +472,7 @@ client = AzureOpenAI(
|
|
|
462
472
|
devtorch doctor
|
|
463
473
|
```
|
|
464
474
|
|
|
465
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
475
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
466
476
|
|
|
467
477
|
---
|
|
468
478
|
|
|
@@ -488,7 +498,7 @@ codex "Add error handling to the payment service"
|
|
|
488
498
|
|
|
489
499
|
All Codex calls are intercepted by the proxy, which injects the RACP prefix and captures responses into `.GCC/`.
|
|
490
500
|
|
|
491
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
501
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0`.
|
|
492
502
|
|
|
493
503
|
---
|
|
494
504
|
|
|
@@ -522,7 +532,7 @@ devtorch doctor
|
|
|
522
532
|
|
|
523
533
|
No API key required. Fully local — RACP context and captures stay on-device.
|
|
524
534
|
|
|
525
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
535
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
526
536
|
|
|
527
537
|
---
|
|
528
538
|
|
|
@@ -535,11 +545,33 @@ For teams that want a single shared reasoning backend across all projects and ma
|
|
|
535
545
|
```bash
|
|
536
546
|
cd /path/to/DevTorch/Implementation/deploy/cloudflare-worker
|
|
537
547
|
cp .env.example .env
|
|
538
|
-
# Fill in
|
|
539
|
-
|
|
548
|
+
# Fill in R2_ACCOUNT_ID, R2_BUCKET, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY
|
|
549
|
+
# Optionally set OPENAI_API_KEY for the DRPL openai embedding backend
|
|
550
|
+
source .env
|
|
551
|
+
./setup-mcp-server.sh
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
The script will:
|
|
555
|
+
|
|
556
|
+
1. Ensure the R2 bucket exists.
|
|
557
|
+
2. Deploy the Cloudflare Worker.
|
|
558
|
+
3. Create an org/repo-scoped API key.
|
|
559
|
+
4. Install the MCP client config for your IDE.
|
|
560
|
+
5. Run a health check.
|
|
561
|
+
|
|
562
|
+
For CI/CD, the same script runs non-interactively:
|
|
563
|
+
|
|
564
|
+
```bash
|
|
565
|
+
./setup-mcp-server.sh --non-interactive \
|
|
566
|
+
--org myorg \
|
|
567
|
+
--repo myproject \
|
|
568
|
+
--ide opencode \
|
|
569
|
+
--openai-key "$OPENAI_API_KEY"
|
|
540
570
|
```
|
|
541
571
|
|
|
542
|
-
The
|
|
572
|
+
The repository also includes `.github/workflows/deploy-cloudflare-worker.yml`, which runs on every `v*` tag and deploys the Worker (skipping key creation and client config).
|
|
573
|
+
|
|
574
|
+
**Live URL:**
|
|
543
575
|
|
|
544
576
|
```text
|
|
545
577
|
https://devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
@@ -557,21 +589,19 @@ devtorch cloud key create --org myorg --repo myproject
|
|
|
557
589
|
|
|
558
590
|
```bash
|
|
559
591
|
export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
560
|
-
|
|
561
|
-
<ide> <org> <repo> <api-key>
|
|
592
|
+
devtorch cloud client-config <ide> --org myorg --repo myproject --api-key <api-key>
|
|
562
593
|
```
|
|
563
594
|
|
|
564
595
|
Supported `<ide>` values: `opencode`, `claude`, `cursor`, `vscode`, `stdio`.
|
|
565
596
|
|
|
566
|
-
**Full walkthrough:** `IDE_SETUP.md` has step-by-step setup for OpenCode, Claude Code, Cursor, VS Code, Kiro, Antigravity, JetBrains, and generic MCP clients.
|
|
597
|
+
**Full walkthrough:** `deploy/cloudflare-worker/README.md` has manual setup details and the full tool list. `IDE_SETUP.md` has step-by-step setup for OpenCode, Claude Code, Cursor, VS Code, Kiro, Antigravity, JetBrains, and generic MCP clients.
|
|
567
598
|
|
|
568
599
|
> **Updating from an older version:** You do **not** need to redeploy the Cloudflare Worker for client-side changes. Just regenerate the IDE config on each machine after upgrading `agentorch`:
|
|
569
600
|
> ```bash
|
|
570
|
-
> pip install -U agentorch>=2.0
|
|
571
|
-
> export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
572
|
-
>
|
|
573
|
-
>
|
|
574
|
-
> ```
|
|
601
|
+
> > pip install -U agentorch>=2.1.0
|
|
602
|
+
> > export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
603
|
+
> > devtorch cloud client-config <ide> --org <org> --repo <repo> --api-key <api-key>
|
|
604
|
+
> > ```
|
|
575
605
|
|
|
576
606
|
---
|
|
577
607
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
**Local-first AI agent governance.** DevTorch gives multi-agent systems a shared on-disk audit trail, coordination vector, privacy controls, and LLM integration layer — all without a remote service.
|
|
4
4
|
|
|
5
|
-
> **Latest release:** `agentorch 2.0
|
|
5
|
+
> **Latest release:** `agentorch 2.2.0` — Reasoning Plus Learning: semantic relevance, learning deduplication, provenance tracking, LLM-based extraction, and a feedback loop. Install or upgrade with `pip install -U agentorch`.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
pip install -U agentorch>=2.0
|
|
8
|
+
pip install -U agentorch>=2.1.0
|
|
9
9
|
devtorch init
|
|
10
10
|
devtorch setup # connects to Claude Code, Cursor, or Antigravity
|
|
11
11
|
devtorch debug timeline
|
|
@@ -51,6 +51,14 @@ pip install agentorch
|
|
|
51
51
|
|
|
52
52
|
**Requirements:** Python 3.10+
|
|
53
53
|
|
|
54
|
+
One-liner installer (Linux/macOS/WSL):
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
curl -fsSL https://raw.githubusercontent.com/hemantcgi/DevTorch/main/Implementation/scripts/install.sh | bash
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
This installs `agentorch` into an isolated virtual environment at `~/.devtorch-venv` and links `devtorch` onto PATH. It also supports `pip install` if you prefer to manage your own environment.
|
|
61
|
+
|
|
54
62
|
For optional extras:
|
|
55
63
|
|
|
56
64
|
```bash
|
|
@@ -70,7 +78,7 @@ DevTorch preserves your `.GCC/` store across upgrades. Newer releases add IDE co
|
|
|
70
78
|
**Upgrade any time:**
|
|
71
79
|
|
|
72
80
|
```bash
|
|
73
|
-
pip install -U agentorch>=2.0
|
|
81
|
+
pip install -U agentorch>=2.1.0
|
|
74
82
|
cd /path/to/your/project
|
|
75
83
|
devtorch setup # or: devtorch setup --target <ide>
|
|
76
84
|
devtorch doctor
|
|
@@ -134,7 +142,7 @@ Open Claude Code in your project. On the first task Claude will call `devtorch_c
|
|
|
134
142
|
|
|
135
143
|
**What you get:** Full RACP integration — reasoning commits, sensitivity events, coordination vector Θ, divergence detection, HITL conflict resolution.
|
|
136
144
|
|
|
137
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
145
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup` will rewrite `.claude/hooks.json`, `.claude/settings.json`, and `CLAUDE.md` with the latest versions.
|
|
138
146
|
|
|
139
147
|
---
|
|
140
148
|
|
|
@@ -178,7 +186,7 @@ devtorch doctor
|
|
|
178
186
|
|
|
179
187
|
**What you get:** MCP tools, VS Code sidebar, optional HTTP proxy for passive capture of all LLM calls (`devtorch proxy start`).
|
|
180
188
|
|
|
181
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
189
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup --target cursor` will regenerate `.cursor/mcp.json` and update `CLAUDE.md`.
|
|
182
190
|
|
|
183
191
|
---
|
|
184
192
|
|
|
@@ -210,7 +218,7 @@ devtorch doctor
|
|
|
210
218
|
|
|
211
219
|
**What you get:** Full RACP integration. The multi-agent nature of Antigravity makes Θ accumulation especially valuable — multiple agents share the same reasoning state through `devtorch_context`.
|
|
212
220
|
|
|
213
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
221
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup --target antigravity` will regenerate the MCP config and update `AGENTS.md`.
|
|
214
222
|
|
|
215
223
|
---
|
|
216
224
|
|
|
@@ -248,7 +256,7 @@ Open the project in OpenCode. The DevTorch MCP tools will be listed, and the mod
|
|
|
248
256
|
|
|
249
257
|
**What you get:** Cloud-hosted MCP server integration with automatic local fallback, automatic reasoning commits via `AGENTS.md` instructions, and a shared Θ state across sessions.
|
|
250
258
|
|
|
251
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
259
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch cloud client-config opencode --org <org> --repo <repo> --api-key <api-key>` will regenerate `opencode.json` with the latest bridge and fallback settings. **Restart OpenCode** after updating the config.
|
|
252
260
|
|
|
253
261
|
---
|
|
254
262
|
|
|
@@ -280,7 +288,7 @@ devtorch sensitivity add --source you --concept auth --confidence 0.9 --disclosu
|
|
|
280
288
|
|
|
281
289
|
**What you get:** Sidebar panel (read-only), git-commit-level event capture, manual reasoning commits. Full capture requires switching to Claude Code, Cursor, Kiro, or Antigravity.
|
|
282
290
|
|
|
283
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
291
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup` will reinstall the git hook and update the governance instructions.
|
|
284
292
|
|
|
285
293
|
---
|
|
286
294
|
|
|
@@ -345,7 +353,7 @@ devtorch doctor
|
|
|
345
353
|
|
|
346
354
|
**What you get:** Full RACP integration equivalent to Claude Code — MCP tools, steering-document governance, agent action hooks.
|
|
347
355
|
|
|
348
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
356
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0`, then re-run the manual steps above and refresh your steering document with the latest `AGENTS.md` text.
|
|
349
357
|
|
|
350
358
|
---
|
|
351
359
|
|
|
@@ -378,7 +386,7 @@ All `invoke_model()` and `converse()` calls are identical. DevTorch injects the
|
|
|
378
386
|
devtorch doctor
|
|
379
387
|
```
|
|
380
388
|
|
|
381
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
389
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
382
390
|
|
|
383
391
|
---
|
|
384
392
|
|
|
@@ -412,7 +420,7 @@ client = AzureOpenAI(
|
|
|
412
420
|
devtorch doctor
|
|
413
421
|
```
|
|
414
422
|
|
|
415
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
423
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
416
424
|
|
|
417
425
|
---
|
|
418
426
|
|
|
@@ -438,7 +446,7 @@ codex "Add error handling to the payment service"
|
|
|
438
446
|
|
|
439
447
|
All Codex calls are intercepted by the proxy, which injects the RACP prefix and captures responses into `.GCC/`.
|
|
440
448
|
|
|
441
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
449
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0`.
|
|
442
450
|
|
|
443
451
|
---
|
|
444
452
|
|
|
@@ -472,7 +480,7 @@ devtorch doctor
|
|
|
472
480
|
|
|
473
481
|
No API key required. Fully local — RACP context and captures stay on-device.
|
|
474
482
|
|
|
475
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
483
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
476
484
|
|
|
477
485
|
---
|
|
478
486
|
|
|
@@ -485,11 +493,33 @@ For teams that want a single shared reasoning backend across all projects and ma
|
|
|
485
493
|
```bash
|
|
486
494
|
cd /path/to/DevTorch/Implementation/deploy/cloudflare-worker
|
|
487
495
|
cp .env.example .env
|
|
488
|
-
# Fill in
|
|
489
|
-
|
|
496
|
+
# Fill in R2_ACCOUNT_ID, R2_BUCKET, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY
|
|
497
|
+
# Optionally set OPENAI_API_KEY for the DRPL openai embedding backend
|
|
498
|
+
source .env
|
|
499
|
+
./setup-mcp-server.sh
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
The script will:
|
|
503
|
+
|
|
504
|
+
1. Ensure the R2 bucket exists.
|
|
505
|
+
2. Deploy the Cloudflare Worker.
|
|
506
|
+
3. Create an org/repo-scoped API key.
|
|
507
|
+
4. Install the MCP client config for your IDE.
|
|
508
|
+
5. Run a health check.
|
|
509
|
+
|
|
510
|
+
For CI/CD, the same script runs non-interactively:
|
|
511
|
+
|
|
512
|
+
```bash
|
|
513
|
+
./setup-mcp-server.sh --non-interactive \
|
|
514
|
+
--org myorg \
|
|
515
|
+
--repo myproject \
|
|
516
|
+
--ide opencode \
|
|
517
|
+
--openai-key "$OPENAI_API_KEY"
|
|
490
518
|
```
|
|
491
519
|
|
|
492
|
-
The
|
|
520
|
+
The repository also includes `.github/workflows/deploy-cloudflare-worker.yml`, which runs on every `v*` tag and deploys the Worker (skipping key creation and client config).
|
|
521
|
+
|
|
522
|
+
**Live URL:**
|
|
493
523
|
|
|
494
524
|
```text
|
|
495
525
|
https://devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
@@ -507,21 +537,19 @@ devtorch cloud key create --org myorg --repo myproject
|
|
|
507
537
|
|
|
508
538
|
```bash
|
|
509
539
|
export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
510
|
-
|
|
511
|
-
<ide> <org> <repo> <api-key>
|
|
540
|
+
devtorch cloud client-config <ide> --org myorg --repo myproject --api-key <api-key>
|
|
512
541
|
```
|
|
513
542
|
|
|
514
543
|
Supported `<ide>` values: `opencode`, `claude`, `cursor`, `vscode`, `stdio`.
|
|
515
544
|
|
|
516
|
-
**Full walkthrough:** `IDE_SETUP.md` has step-by-step setup for OpenCode, Claude Code, Cursor, VS Code, Kiro, Antigravity, JetBrains, and generic MCP clients.
|
|
545
|
+
**Full walkthrough:** `deploy/cloudflare-worker/README.md` has manual setup details and the full tool list. `IDE_SETUP.md` has step-by-step setup for OpenCode, Claude Code, Cursor, VS Code, Kiro, Antigravity, JetBrains, and generic MCP clients.
|
|
517
546
|
|
|
518
547
|
> **Updating from an older version:** You do **not** need to redeploy the Cloudflare Worker for client-side changes. Just regenerate the IDE config on each machine after upgrading `agentorch`:
|
|
519
548
|
> ```bash
|
|
520
|
-
> pip install -U agentorch>=2.0
|
|
521
|
-
> export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
522
|
-
>
|
|
523
|
-
>
|
|
524
|
-
> ```
|
|
549
|
+
> > pip install -U agentorch>=2.1.0
|
|
550
|
+
> > export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
551
|
+
> > devtorch cloud client-config <ide> --org <org> --repo <repo> --api-key <api-key>
|
|
552
|
+
> > ```
|
|
525
553
|
|
|
526
554
|
---
|
|
527
555
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentorch
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: DevTorch — AI reasoning capture, audit trail, and governance for agent-assisted development
|
|
5
5
|
Author-email: Hemant Joshi <hemant@flotorch.ai>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -33,6 +33,8 @@ Requires-Dist: fastapi>=0.115.0; extra == "proxy"
|
|
|
33
33
|
Requires-Dist: uvicorn[standard]>=0.32.0; extra == "proxy"
|
|
34
34
|
Requires-Dist: httpx>=0.27.0; extra == "proxy"
|
|
35
35
|
Requires-Dist: pydantic>=2.9.0; extra == "proxy"
|
|
36
|
+
Provides-Extra: embeddings
|
|
37
|
+
Requires-Dist: sentence-transformers>=3.0.0; extra == "embeddings"
|
|
36
38
|
Provides-Extra: mcp
|
|
37
39
|
Requires-Dist: mcp>=1.0.0; extra == "mcp"
|
|
38
40
|
Provides-Extra: cloud
|
|
@@ -46,16 +48,16 @@ Requires-Dist: azure-storage-blob>=12.19.0; extra == "cloud"
|
|
|
46
48
|
Provides-Extra: broadcast
|
|
47
49
|
Requires-Dist: watchdog>=3.0.0; extra == "broadcast"
|
|
48
50
|
Provides-Extra: all
|
|
49
|
-
Requires-Dist: agentorch[cloud,mcp,proxy,wrapper]; extra == "all"
|
|
51
|
+
Requires-Dist: agentorch[cloud,embeddings,mcp,proxy,wrapper]; extra == "all"
|
|
50
52
|
|
|
51
53
|
# DevTorch
|
|
52
54
|
|
|
53
55
|
**Local-first AI agent governance.** DevTorch gives multi-agent systems a shared on-disk audit trail, coordination vector, privacy controls, and LLM integration layer — all without a remote service.
|
|
54
56
|
|
|
55
|
-
> **Latest release:** `agentorch 2.0
|
|
57
|
+
> **Latest release:** `agentorch 2.2.0` — Reasoning Plus Learning: semantic relevance, learning deduplication, provenance tracking, LLM-based extraction, and a feedback loop. Install or upgrade with `pip install -U agentorch`.
|
|
56
58
|
|
|
57
59
|
```bash
|
|
58
|
-
pip install -U agentorch>=2.0
|
|
60
|
+
pip install -U agentorch>=2.1.0
|
|
59
61
|
devtorch init
|
|
60
62
|
devtorch setup # connects to Claude Code, Cursor, or Antigravity
|
|
61
63
|
devtorch debug timeline
|
|
@@ -101,6 +103,14 @@ pip install agentorch
|
|
|
101
103
|
|
|
102
104
|
**Requirements:** Python 3.10+
|
|
103
105
|
|
|
106
|
+
One-liner installer (Linux/macOS/WSL):
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
curl -fsSL https://raw.githubusercontent.com/hemantcgi/DevTorch/main/Implementation/scripts/install.sh | bash
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
This installs `agentorch` into an isolated virtual environment at `~/.devtorch-venv` and links `devtorch` onto PATH. It also supports `pip install` if you prefer to manage your own environment.
|
|
113
|
+
|
|
104
114
|
For optional extras:
|
|
105
115
|
|
|
106
116
|
```bash
|
|
@@ -120,7 +130,7 @@ DevTorch preserves your `.GCC/` store across upgrades. Newer releases add IDE co
|
|
|
120
130
|
**Upgrade any time:**
|
|
121
131
|
|
|
122
132
|
```bash
|
|
123
|
-
pip install -U agentorch>=2.0
|
|
133
|
+
pip install -U agentorch>=2.1.0
|
|
124
134
|
cd /path/to/your/project
|
|
125
135
|
devtorch setup # or: devtorch setup --target <ide>
|
|
126
136
|
devtorch doctor
|
|
@@ -184,7 +194,7 @@ Open Claude Code in your project. On the first task Claude will call `devtorch_c
|
|
|
184
194
|
|
|
185
195
|
**What you get:** Full RACP integration — reasoning commits, sensitivity events, coordination vector Θ, divergence detection, HITL conflict resolution.
|
|
186
196
|
|
|
187
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
197
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup` will rewrite `.claude/hooks.json`, `.claude/settings.json`, and `CLAUDE.md` with the latest versions.
|
|
188
198
|
|
|
189
199
|
---
|
|
190
200
|
|
|
@@ -228,7 +238,7 @@ devtorch doctor
|
|
|
228
238
|
|
|
229
239
|
**What you get:** MCP tools, VS Code sidebar, optional HTTP proxy for passive capture of all LLM calls (`devtorch proxy start`).
|
|
230
240
|
|
|
231
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
241
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup --target cursor` will regenerate `.cursor/mcp.json` and update `CLAUDE.md`.
|
|
232
242
|
|
|
233
243
|
---
|
|
234
244
|
|
|
@@ -260,7 +270,7 @@ devtorch doctor
|
|
|
260
270
|
|
|
261
271
|
**What you get:** Full RACP integration. The multi-agent nature of Antigravity makes Θ accumulation especially valuable — multiple agents share the same reasoning state through `devtorch_context`.
|
|
262
272
|
|
|
263
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
273
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup --target antigravity` will regenerate the MCP config and update `AGENTS.md`.
|
|
264
274
|
|
|
265
275
|
---
|
|
266
276
|
|
|
@@ -298,7 +308,7 @@ Open the project in OpenCode. The DevTorch MCP tools will be listed, and the mod
|
|
|
298
308
|
|
|
299
309
|
**What you get:** Cloud-hosted MCP server integration with automatic local fallback, automatic reasoning commits via `AGENTS.md` instructions, and a shared Θ state across sessions.
|
|
300
310
|
|
|
301
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
311
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch cloud client-config opencode --org <org> --repo <repo> --api-key <api-key>` will regenerate `opencode.json` with the latest bridge and fallback settings. **Restart OpenCode** after updating the config.
|
|
302
312
|
|
|
303
313
|
---
|
|
304
314
|
|
|
@@ -330,7 +340,7 @@ devtorch sensitivity add --source you --concept auth --confidence 0.9 --disclosu
|
|
|
330
340
|
|
|
331
341
|
**What you get:** Sidebar panel (read-only), git-commit-level event capture, manual reasoning commits. Full capture requires switching to Claude Code, Cursor, Kiro, or Antigravity.
|
|
332
342
|
|
|
333
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
343
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0 && devtorch setup` will reinstall the git hook and update the governance instructions.
|
|
334
344
|
|
|
335
345
|
---
|
|
336
346
|
|
|
@@ -395,7 +405,7 @@ devtorch doctor
|
|
|
395
405
|
|
|
396
406
|
**What you get:** Full RACP integration equivalent to Claude Code — MCP tools, steering-document governance, agent action hooks.
|
|
397
407
|
|
|
398
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
408
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0`, then re-run the manual steps above and refresh your steering document with the latest `AGENTS.md` text.
|
|
399
409
|
|
|
400
410
|
---
|
|
401
411
|
|
|
@@ -428,7 +438,7 @@ All `invoke_model()` and `converse()` calls are identical. DevTorch injects the
|
|
|
428
438
|
devtorch doctor
|
|
429
439
|
```
|
|
430
440
|
|
|
431
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
441
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
432
442
|
|
|
433
443
|
---
|
|
434
444
|
|
|
@@ -462,7 +472,7 @@ client = AzureOpenAI(
|
|
|
462
472
|
devtorch doctor
|
|
463
473
|
```
|
|
464
474
|
|
|
465
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
475
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
466
476
|
|
|
467
477
|
---
|
|
468
478
|
|
|
@@ -488,7 +498,7 @@ codex "Add error handling to the payment service"
|
|
|
488
498
|
|
|
489
499
|
All Codex calls are intercepted by the proxy, which injects the RACP prefix and captures responses into `.GCC/`.
|
|
490
500
|
|
|
491
|
-
> **Updating from an older version:** `pip install -U agentorch>=2.0
|
|
501
|
+
> **Updating from an older version:** `pip install -U agentorch>=2.1.0`.
|
|
492
502
|
|
|
493
503
|
---
|
|
494
504
|
|
|
@@ -522,7 +532,7 @@ devtorch doctor
|
|
|
522
532
|
|
|
523
533
|
No API key required. Fully local — RACP context and captures stay on-device.
|
|
524
534
|
|
|
525
|
-
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.0
|
|
535
|
+
> **Updating from an older version:** `pip install -U agentorch[wrapper]>=2.1.0`.
|
|
526
536
|
|
|
527
537
|
---
|
|
528
538
|
|
|
@@ -535,11 +545,33 @@ For teams that want a single shared reasoning backend across all projects and ma
|
|
|
535
545
|
```bash
|
|
536
546
|
cd /path/to/DevTorch/Implementation/deploy/cloudflare-worker
|
|
537
547
|
cp .env.example .env
|
|
538
|
-
# Fill in
|
|
539
|
-
|
|
548
|
+
# Fill in R2_ACCOUNT_ID, R2_BUCKET, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY
|
|
549
|
+
# Optionally set OPENAI_API_KEY for the DRPL openai embedding backend
|
|
550
|
+
source .env
|
|
551
|
+
./setup-mcp-server.sh
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
The script will:
|
|
555
|
+
|
|
556
|
+
1. Ensure the R2 bucket exists.
|
|
557
|
+
2. Deploy the Cloudflare Worker.
|
|
558
|
+
3. Create an org/repo-scoped API key.
|
|
559
|
+
4. Install the MCP client config for your IDE.
|
|
560
|
+
5. Run a health check.
|
|
561
|
+
|
|
562
|
+
For CI/CD, the same script runs non-interactively:
|
|
563
|
+
|
|
564
|
+
```bash
|
|
565
|
+
./setup-mcp-server.sh --non-interactive \
|
|
566
|
+
--org myorg \
|
|
567
|
+
--repo myproject \
|
|
568
|
+
--ide opencode \
|
|
569
|
+
--openai-key "$OPENAI_API_KEY"
|
|
540
570
|
```
|
|
541
571
|
|
|
542
|
-
The
|
|
572
|
+
The repository also includes `.github/workflows/deploy-cloudflare-worker.yml`, which runs on every `v*` tag and deploys the Worker (skipping key creation and client config).
|
|
573
|
+
|
|
574
|
+
**Live URL:**
|
|
543
575
|
|
|
544
576
|
```text
|
|
545
577
|
https://devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
@@ -557,21 +589,19 @@ devtorch cloud key create --org myorg --repo myproject
|
|
|
557
589
|
|
|
558
590
|
```bash
|
|
559
591
|
export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
560
|
-
|
|
561
|
-
<ide> <org> <repo> <api-key>
|
|
592
|
+
devtorch cloud client-config <ide> --org myorg --repo myproject --api-key <api-key>
|
|
562
593
|
```
|
|
563
594
|
|
|
564
595
|
Supported `<ide>` values: `opencode`, `claude`, `cursor`, `vscode`, `stdio`.
|
|
565
596
|
|
|
566
|
-
**Full walkthrough:** `IDE_SETUP.md` has step-by-step setup for OpenCode, Claude Code, Cursor, VS Code, Kiro, Antigravity, JetBrains, and generic MCP clients.
|
|
597
|
+
**Full walkthrough:** `deploy/cloudflare-worker/README.md` has manual setup details and the full tool list. `IDE_SETUP.md` has step-by-step setup for OpenCode, Claude Code, Cursor, VS Code, Kiro, Antigravity, JetBrains, and generic MCP clients.
|
|
567
598
|
|
|
568
599
|
> **Updating from an older version:** You do **not** need to redeploy the Cloudflare Worker for client-side changes. Just regenerate the IDE config on each machine after upgrading `agentorch`:
|
|
569
600
|
> ```bash
|
|
570
|
-
> pip install -U agentorch>=2.0
|
|
571
|
-
> export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
572
|
-
>
|
|
573
|
-
>
|
|
574
|
-
> ```
|
|
601
|
+
> > pip install -U agentorch>=2.1.0
|
|
602
|
+
> > export DEVTORCH_MCP_DOMAIN=devtorch-mcp.YOUR_ACCOUNT.workers.dev
|
|
603
|
+
> > devtorch cloud client-config <ide> --org <org> --repo <repo> --api-key <api-key>
|
|
604
|
+
> > ```
|
|
575
605
|
|
|
576
606
|
---
|
|
577
607
|
|
|
@@ -33,6 +33,7 @@ devtorch_core/prompt_artifact.py
|
|
|
33
33
|
devtorch_core/rdp.py
|
|
34
34
|
devtorch_core/rep.py
|
|
35
35
|
devtorch_core/sensitivity.py
|
|
36
|
+
devtorch_core/serve.py
|
|
36
37
|
devtorch_core/signing.py
|
|
37
38
|
devtorch_core/sis.py
|
|
38
39
|
devtorch_core/storage.py
|
|
@@ -100,6 +101,7 @@ devtorch_core/metrics/aggregate.py
|
|
|
100
101
|
devtorch_core/metrics/calibrate.py
|
|
101
102
|
devtorch_core/metrics/calibration.py
|
|
102
103
|
devtorch_core/metrics/credibility.py
|
|
104
|
+
devtorch_core/metrics/delivery_time.py
|
|
103
105
|
devtorch_core/metrics/dhs.py
|
|
104
106
|
devtorch_core/metrics/mcs.py
|
|
105
107
|
devtorch_core/metrics/roi.py
|
|
@@ -135,8 +137,10 @@ devtorch_core/reasoning_plus/prompt.py
|
|
|
135
137
|
devtorch_core/reasoning_plus/learning/__init__.py
|
|
136
138
|
devtorch_core/reasoning_plus/learning/api.py
|
|
137
139
|
devtorch_core/reasoning_plus/learning/composer.py
|
|
140
|
+
devtorch_core/reasoning_plus/learning/embeddings.py
|
|
138
141
|
devtorch_core/reasoning_plus/learning/extractor.py
|
|
139
142
|
devtorch_core/reasoning_plus/learning/models.py
|
|
143
|
+
devtorch_core/reasoning_plus/learning/provenance.py
|
|
140
144
|
devtorch_core/reasoning_plus/learning/recorder.py
|
|
141
145
|
devtorch_core/reasoning_plus/learning/relevance.py
|
|
142
146
|
devtorch_core/reasoning_plus/learning/state.py
|
|
@@ -146,6 +150,13 @@ devtorch_core/rep_network/merge.py
|
|
|
146
150
|
devtorch_core/rep_network/node.py
|
|
147
151
|
devtorch_core/rep_network/server.py
|
|
148
152
|
devtorch_core/rep_network/sync.py
|
|
153
|
+
devtorch_core/templates/__init__.py
|
|
154
|
+
devtorch_core/templates/engine.py
|
|
155
|
+
devtorch_core/templates/go.py
|
|
156
|
+
devtorch_core/templates/infra.py
|
|
157
|
+
devtorch_core/templates/python.py
|
|
158
|
+
devtorch_core/templates/react.py
|
|
159
|
+
devtorch_core/templates/typescript.py
|
|
149
160
|
devtorch_core/wrapper/__init__.py
|
|
150
161
|
devtorch_core/wrapper/anthropic.py
|
|
151
162
|
devtorch_core/wrapper/base.py
|
|
@@ -202,6 +213,10 @@ tests/test_s22_swe_bench.py
|
|
|
202
213
|
tests/test_s22_swe_bench_dry_run.py
|
|
203
214
|
tests/test_s23_reasoning_plus.py
|
|
204
215
|
tests/test_s24_reasoning_plus_learning.py
|
|
216
|
+
tests/test_s25_delivery_time.py
|
|
217
|
+
tests/test_s25_serve.py
|
|
218
|
+
tests/test_s25_setup_detection.py
|
|
219
|
+
tests/test_s25_templates.py
|
|
205
220
|
tests/test_s2_context.py
|
|
206
221
|
tests/test_s3_sensitivity.py
|
|
207
222
|
tests/test_s4_invariants.py
|