agentledger-runtime 1.3.2__tar.gz → 1.5.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.
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/.github/workflows/ci.yml +41 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/CHANGELOG.md +113 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/CODE_OF_CONDUCT.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/CONTRIBUTING.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/PKG-INFO +47 -24
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/README.md +28 -5
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/README.zh-CN.md +27 -5
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/SECURITY.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/agentledger.runtime.v1.json +6 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/cost_failure_attribution.v1.json +18 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/ADAPTER_CERTIFICATION.md +8 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/ADAPTER_PACKAGING.md +7 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/ADAPTER_ROADMAP.md +9 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/ADOPTION.md +11 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/ARCHITECTURE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/BACKUP_RESTORE.md +4 -0
- agentledger_runtime-1.5.0/docs/BENCHMARKS.md +111 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/COMPARISONS.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/COMPLETE_CORE_PARITY_CHECKLIST.md +7 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/DESIGN_AND_IMPLEMENTATION.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/DISTRIBUTED_WORKERS.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/EXECUTION_BACKENDS.md +6 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/EXTENSIBILITY.md +4 -0
- agentledger_runtime-1.5.0/docs/FRAMEWORK_TEMPORAL_ADOPTION_DESIGN.md +249 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/GETTING_STARTED.md +11 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/HARNESS_STACK.md +22 -17
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/IMPLEMENTATION_PLAN.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/IMPLEMENTATION_STATUS.md +28 -8
- agentledger_runtime-1.5.0/docs/INSPECTOR.md +351 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/LANGUAGE_IMPLEMENTATION_COMPARISON.md +7 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/LANGUAGE_PARITY_AUDIT.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/LANGUAGE_PARITY_MATRIX.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/LANGUAGE_QUICKSTART.md +10 -6
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/MAINTAINER_NOTES.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/MATURITY_MODEL.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/MULTI_LANGUAGE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/MYSQL.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/OPEN_SOURCE_IMPACT.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/POLICY_ENGINE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/POSTGRES.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/QUERY_EXAMPLES.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/README.md +14 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/RELEASE_CHECKLIST.md +27 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/ROADMAP.md +316 -80
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/RUNTIME_SPEC.md +31 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/S3_MINIO.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/SECURITY_ENTERPRISE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/STORAGE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/USAGE.md +7 -3
- agentledger_runtime-1.5.0/docs/USE_CASES.md +145 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/VERSIONING.md +4 -0
- agentledger_runtime-1.5.0/docs/articles/social-posts.md +54 -0
- agentledger_runtime-1.5.0/docs/articles/what-happened-after-agent-tool-failure.zh-CN.md +84 -0
- agentledger_runtime-1.5.0/docs/assets/inspector/runs-index.png +0 -0
- agentledger_runtime-1.5.0/docs/assets/inspector/single-run-timeline.png +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/case-studies/legal-agent.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/ADAPTER_CERTIFICATION.md +8 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/ADAPTER_PACKAGING.md +6 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/ADAPTER_ROADMAP.md +9 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/ADOPTION.md +11 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/ARCHITECTURE.md +4 -0
- agentledger_runtime-1.5.0/docs/zh/BENCHMARKS.md +111 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/COMPARISONS.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/COMPLETE_CORE_PARITY_CHECKLIST.md +5 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/DESIGN_AND_IMPLEMENTATION.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/EXECUTION_BACKENDS.md +6 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/EXTENSIBILITY.md +4 -0
- agentledger_runtime-1.5.0/docs/zh/FRAMEWORK_TEMPORAL_ADOPTION_DESIGN.md +249 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/GETTING_STARTED.md +11 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/HARNESS_STACK.md +22 -17
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/IMPLEMENTATION_STATUS.md +28 -8
- agentledger_runtime-1.5.0/docs/zh/INSPECTOR.md +351 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/LANGUAGE_IMPLEMENTATION_COMPARISON.md +7 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/LANGUAGE_PARITY_AUDIT.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/LANGUAGE_PARITY_MATRIX.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/LANGUAGE_QUICKSTART.md +10 -6
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/MAINTAINER_NOTES.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/MYSQL.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/OPEN_SOURCE_IMPACT.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/POLICY_ENGINE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/QUERY_EXAMPLES.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/README.md +13 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/RELEASE_CHECKLIST.md +27 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/ROADMAP.md +332 -76
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/RUNTIME_SPEC.md +29 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/SECURITY_ENTERPRISE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/STORAGE.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/USAGE.md +7 -3
- agentledger_runtime-1.5.0/docs/zh/USE_CASES.md +145 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/zh/case-studies/legal-agent.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/README.md +10 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/docs/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/inspector/README.md +26 -0
- agentledger_runtime-1.5.0/examples/inspector/failure_demo.py +113 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/mcp_governance/README.md +4 -0
- agentledger_runtime-1.5.0/examples/model_evidence/README.md +23 -0
- agentledger_runtime-1.5.0/examples/model_evidence/demo.py +74 -0
- agentledger_runtime-1.5.0/examples/openai_agents/README.md +34 -0
- agentledger_runtime-1.5.0/examples/openai_agents/approval_replay.py +210 -0
- agentledger_runtime-1.5.0/examples/showcase/duplicate_side_effect_crash/README.md +49 -0
- agentledger_runtime-1.5.0/examples/showcase/duplicate_side_effect_crash/demo.py +182 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/side_effect_idempotency/README.md +4 -0
- agentledger_runtime-1.5.0/examples/temporal_bridge/README.md +34 -0
- agentledger_runtime-1.5.0/examples/temporal_bridge/demo.py +229 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/three_minute_demo/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/three_minute_demo/demo.py +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/transient_retry/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/travel_assistant/demo.py +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/README.md +9 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/cmd/agentledger-go/main.go +4 -4
- agentledger_runtime-1.5.0/go/evidence.go +641 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/examples/README.md +7 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/review.go +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/runtime.go +118 -6
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/runtime_test.go +43 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-inspector/README.md +20 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-inspector/pyproject.toml +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-inspector/src/agentledger_inspector/__init__.py +4 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-inspector/tests/test_import.py +3 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langfuse/README.md +5 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langfuse/pyproject.toml +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langfuse/src/agentledger_langfuse/__init__.py +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langgraph/README.md +5 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langgraph/examples/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langgraph/pyproject.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langgraph/src/agentledger_langgraph/__init__.py +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mcp/README.md +4 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mcp/examples/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mcp/pyproject.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mcp/src/agentledger_mcp/__init__.py +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mysql/README.md +6 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mysql/examples/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mysql/pyproject.toml +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mysql/src/agentledger_mysql/__init__.py +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-otel/README.md +5 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-otel/examples/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-otel/pyproject.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-otel/src/agentledger_otel/__init__.py +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-postgres/README.md +6 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-postgres/examples/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-postgres/pyproject.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-postgres/src/agentledger_postgres/__init__.py +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-s3/README.md +6 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-s3/examples/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-s3/pyproject.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-s3/src/agentledger_s3/__init__.py +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-sandbox-docker/README.md +4 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-sandbox-docker/examples/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-sandbox-docker/pyproject.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-sandbox-docker/src/agentledger_sandbox_docker/__init__.py +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/pyproject.toml +19 -19
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/Cargo.lock +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/Cargo.toml +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/README.md +6 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-framework/Cargo.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-framework/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-langfuse/Cargo.toml +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-langfuse/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-mcp/Cargo.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-mcp/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-mysql/Cargo.toml +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-mysql/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-otel/Cargo.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-otel/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-postgres/Cargo.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-postgres/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-s3/Cargo.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-s3/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-sandbox-docker/Cargo.toml +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-sandbox-docker/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/examples/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/src/lib.rs +812 -26
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/src/main.rs +6 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/scripts/audit_python_parity.py +1 -0
- agentledger_runtime-1.5.0/scripts/benchmark_runtime.py +1268 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/scripts/check_adapter_packages.py +4 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/__init__.py +17 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/cli.py +82 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/context.py +164 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/contract.py +6 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/evidence.py +11 -7
- agentledger_runtime-1.5.0/src/agentledger/failure.py +1354 -0
- agentledger_runtime-1.5.0/src/agentledger/inspector.py +2070 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/lint.py +153 -13
- agentledger_runtime-1.5.0/src/agentledger/model.py +129 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/protocol.py +1 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/review.py +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/store.py +6 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/timetravel.py +12 -6
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/tests/test_runtime.py +542 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/README.md +6 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/examples/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/package.json +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langfuse/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langfuse/package.json +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langgraph/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langgraph/package.json +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mcp/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mcp/package.json +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mysql/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mysql/package.json +2 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-otel/README.md +3 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-otel/package.json +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-postgres/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-postgres/package.json +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-s3/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-s3/package.json +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-sandbox-docker/README.md +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-sandbox-docker/package.json +2 -3
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/langfuse.js +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/langgraph.js +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/mcp.js +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/mysql.js +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/otel.js +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/postgres.js +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/s3.js +1 -2
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/sandbox-docker.js +1 -1
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/cli.js +4 -4
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/index.d.ts +4 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/index.js +265 -8
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/test/runtime.test.js +29 -2
- agentledger_runtime-1.3.2/docs/INSPECTOR.md +0 -209
- agentledger_runtime-1.3.2/docs/zh/INSPECTOR.md +0 -209
- agentledger_runtime-1.3.2/go/evidence.go +0 -277
- agentledger_runtime-1.3.2/src/agentledger/failure.py +0 -190
- agentledger_runtime-1.3.2/src/agentledger/inspector.py +0 -761
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/.gitignore +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/LICENSE +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/adversarial_review.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/boundary_lint.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/evidence_consumers.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/evidence_regression.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/failure_injection.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/framework_adapters.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/local_blob_store.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/local_persistence.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/mcp_adapters.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/media_stream_artifacts.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/official_adapters.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/ops_readiness.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/optional_adapters.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/otlp_trace_export.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/policy_approval_sandbox.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/repro.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/runtime_baseline.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/runtime_semantics.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/scheduler.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/shadow.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/simple_api.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/static_debug_html.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/storage_schema.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/time_travel.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/tool_schema_validation.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/contracts/conformance/worker_service.v1.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/assets/agent-policy-engine-evaluate-detail.svg +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/assets/agent-policy-engine-relationship-map.svg +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/assets/agentledger-runtime-architecture.svg +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/assets/agentledger-social-architecture.svg +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/docs/assets/langgraph-agentledger-relationship.svg +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/autogen/basic_agent.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/crewai/basic_crew.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/hello_world/hello.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/inspector/custom_viewer.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/langchain/basic_runnable.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/langgraph/basic_graph.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/lint/boundary_rules.json +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/llamaindex/basic_query.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/mcp_context/basic_context_server.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/mcp_governance/demo.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/mcp_tool/basic_tool.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/media_stream/basic_media_stream.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/media_stream/managed_tool.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/openai_agents/basic_agent.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/policy/local.policy.yaml +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/sandbox/command_tool.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/sandbox/sandbox.yaml +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/semantic_kernel/basic_kernel.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/examples/tool_catalog/basic_catalog.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/framework/framework.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/langfuse/langfuse.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/mcp/mcp.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/mysql/mysql.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/otel/otel.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/postgres/postgres.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/s3/s3.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters/sandbox/docker/docker.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/adapters.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/blobstore.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/consumers.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/eval.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/examples/mcp_governance/main.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/examples/quickstart/main.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/examples/three_minute_demo/main.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/examples/travel_assistant/main.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/failure_injection.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/go.mod +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/lint.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/mcp.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/official_adapters.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/ops.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/optional_adapters.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/replay.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/repro.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/scheduler.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/schema.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/shadow.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/simple.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/store.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/timetravel.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/tools.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/travel_assistant +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/types.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/go/worker.go +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/migrations/postgres/0001_initial.sql +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/migrations/sqlite/0001_initial.sql +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langfuse/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-langgraph/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mcp/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-mysql/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-otel/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-postgres/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-s3/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/packages/agentledger-sandbox-docker/tests/test_import.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-framework/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-langfuse/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-mcp/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-mysql/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-otel/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-postgres/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-s3/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/crates/agentledger-sandbox-docker/src/lib.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/examples/mcp_governance.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/examples/quickstart.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/examples/three_minute_demo.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/rust/examples/travel_assistant.rs +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/scripts/check_complete_core_parity.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/scripts/check_language_parity.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/__main__.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/adapter_certification.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/adapters.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/adapters_frameworks.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/adapters_langgraph.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/adapters_mcp.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/approval.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/backup.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/blobstore.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/blobstore_s3.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/conformance.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/cost.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/diff.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/eval.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/examples.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/failure_injection.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/ids.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/jsonutil.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/media.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/media_tools.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/policy.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/replay.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/repro.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/retention.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/runtime.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/sandbox.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/scheduler.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/shadow.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/simple.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/storage_mysql.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/storage_postgres.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/storage_schema.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/tools.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/trace.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/src/agentledger/worker.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/tests/test_postgres_integration.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/tests/test_s3_integration.py +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/examples/mcp_governance/mcp_governance.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/examples/quickstart/quickstart.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/examples/three_minute_demo/three_minute_demo.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/examples/travel_assistant/travel_assistant.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langfuse/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langfuse/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langgraph/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-langgraph/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mcp/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mcp/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mysql/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-mysql/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-otel/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-otel/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-postgres/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-postgres/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-s3/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-s3/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-sandbox-docker/src/index.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/packages/agentledger-sandbox-docker/src/index.js +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/langfuse.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/langgraph.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/mcp.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/mysql.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/otel.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/postgres.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/s3.d.ts +0 -0
- {agentledger_runtime-1.3.2 → agentledger_runtime-1.5.0}/typescript/src/adapters/sandbox-docker.d.ts +0 -0
|
@@ -114,6 +114,43 @@ jobs:
|
|
|
114
114
|
go run ./cmd/agentledger-go conformance
|
|
115
115
|
go run ./cmd/agentledger-go contract validate
|
|
116
116
|
|
|
117
|
+
benchmark:
|
|
118
|
+
name: Runtime benchmark gate
|
|
119
|
+
runs-on: ubuntu-latest
|
|
120
|
+
|
|
121
|
+
steps:
|
|
122
|
+
- name: Checkout
|
|
123
|
+
uses: actions/checkout@v4
|
|
124
|
+
|
|
125
|
+
- name: Set up Python
|
|
126
|
+
uses: actions/setup-python@v5
|
|
127
|
+
with:
|
|
128
|
+
python-version: "3.12"
|
|
129
|
+
|
|
130
|
+
- name: Set up Go
|
|
131
|
+
uses: actions/setup-go@v5
|
|
132
|
+
with:
|
|
133
|
+
go-version: "1.22"
|
|
134
|
+
|
|
135
|
+
- name: Set up Node
|
|
136
|
+
uses: actions/setup-node@v4
|
|
137
|
+
with:
|
|
138
|
+
node-version: "22"
|
|
139
|
+
|
|
140
|
+
- name: Set up Rust
|
|
141
|
+
uses: dtolnay/rust-toolchain@stable
|
|
142
|
+
|
|
143
|
+
- name: Run full runtime benchmark
|
|
144
|
+
run: |
|
|
145
|
+
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python scripts/benchmark_runtime.py --iterations 20 --output-dir benchmark-artifacts --command-timeout 180
|
|
146
|
+
|
|
147
|
+
- name: Upload benchmark report
|
|
148
|
+
uses: actions/upload-artifact@v4
|
|
149
|
+
with:
|
|
150
|
+
name: agentledger-benchmark
|
|
151
|
+
path: benchmark-artifacts/**
|
|
152
|
+
retention-days: 14
|
|
153
|
+
|
|
117
154
|
python:
|
|
118
155
|
name: Python ${{ matrix.python-version }}
|
|
119
156
|
runs-on: ubuntu-latest
|
|
@@ -225,12 +262,16 @@ jobs:
|
|
|
225
262
|
python -m json.tool /tmp/agentledger-example-mcp.json >/dev/null
|
|
226
263
|
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python examples/openai_agents/basic_agent.py >/tmp/agentledger-example-openai-agents.json
|
|
227
264
|
python -m json.tool /tmp/agentledger-example-openai-agents.json >/dev/null
|
|
265
|
+
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python examples/openai_agents/approval_replay.py >/tmp/agentledger-example-openai-approval-replay.json
|
|
266
|
+
python -m json.tool /tmp/agentledger-example-openai-approval-replay.json >/dev/null
|
|
228
267
|
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python examples/sandbox/command_tool.py >/tmp/agentledger-example-sandbox.json
|
|
229
268
|
python -m json.tool /tmp/agentledger-example-sandbox.json >/dev/null
|
|
230
269
|
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python examples/tool_catalog/basic_catalog.py >/tmp/agentledger-example-tool-catalog.json
|
|
231
270
|
python -m json.tool /tmp/agentledger-example-tool-catalog.json >/dev/null
|
|
232
271
|
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python examples/semantic_kernel/basic_kernel.py >/tmp/agentledger-example-semantic-kernel.json
|
|
233
272
|
python -m json.tool /tmp/agentledger-example-semantic-kernel.json >/dev/null
|
|
273
|
+
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python examples/temporal_bridge/demo.py >/tmp/agentledger-example-temporal-bridge.json
|
|
274
|
+
python -m json.tool /tmp/agentledger-example-temporal-bridge.json >/dev/null
|
|
234
275
|
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python -m agentledger --root /tmp/agentledger-ci-worker-run worker-run examples/transient_retry >/tmp/agentledger-example-worker-run.json
|
|
235
276
|
python -m json.tool /tmp/agentledger-example-worker-run.json >/dev/null
|
|
236
277
|
|
|
@@ -6,7 +6,115 @@ This project follows semantic versioning for the stable runtime-core contract. O
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## 1.5.0 - 2026-07-08
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Added a dependency-free OpenAI Agents SDK-style approval/replay example that records model evidence, proposed tool calls, approval state, Tool Ledger history, and replay-safe resume behavior without requiring external framework installs.
|
|
14
|
+
- Added a dependency-free Temporal bridge retry-safety example that shows workflow/activity ownership boundaries, retry correlation, archived tool-proposal reuse, and single-write side-effect behavior after an activity crash.
|
|
15
|
+
- Added framework-native smoke coverage and CI checks for the new OpenAI Agents SDK-style and Temporal bridge adoption paths.
|
|
16
|
+
- Added a dependency-free runtime benchmark suite with a semantic coverage matrix for all required runtime checks.
|
|
17
|
+
- Added benchmark documentation and release checklist gates for recording local timing, evidence/debug artifact generation, failure injection, adapter contract dry-runs, and cross-language conformance command baselines.
|
|
18
|
+
|
|
19
|
+
### Clarified
|
|
20
|
+
|
|
21
|
+
- This is a four-language 1.5.0 runtime-core release train. Python, Go, TypeScript, and Rust keep the same portable runtime-core semantics introduced in the 1.4 line.
|
|
22
|
+
- The new OpenAI Agents SDK-style and Temporal bridge assets are Python adoption examples and documentation entrypoints. They do not imply official upstream endorsement or new language-specific runtime-core requirements.
|
|
23
|
+
|
|
24
|
+
## 1.4.2 - 2026-06-19
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Added dedicated Inspector read models and HTML panels for archived model calls and model-proposed tool calls.
|
|
29
|
+
- Added stronger Inspector links between model evidence, proposed tool calls, runtime events, Tool Ledger rows, and failure records.
|
|
30
|
+
- Added model evidence and proposed-tool references to portable failure exports, including Langfuse, OpenTelemetry, LangSmith, Temporal-style, and CI-friendly local mappings.
|
|
31
|
+
- Added a dependency-free model evidence example showing how to record externally executed provider/gateway calls without making AgentLedger a model router.
|
|
32
|
+
- Hardened boundary lint for direct database calls, direct filesystem mutation, and risky tool metadata that omits idempotency, approval, or sandbox boundaries.
|
|
33
|
+
- Added a shareable side-effect safety showcase that contrasts naive duplicate side effects with AgentLedger safe retry and generated Inspector HTML.
|
|
34
|
+
- Added adoption content for the showcase, including a Chinese article draft, short social posts, and a deterministic GIF recording flow.
|
|
35
|
+
|
|
36
|
+
### Clarified
|
|
37
|
+
|
|
38
|
+
- This is a four-language 1.4.2 release train. Runtime-core semantics remain aligned across Python, Go, TypeScript, and Rust.
|
|
39
|
+
- Inspector and boundary lint remain companion/read-model tooling distributed through the Python reference package; Inspector can still consume language-neutral evidence from non-Python runtimes.
|
|
40
|
+
- AgentLedger continues to record model evidence and tool proposals, not provider routing, retry, fallback, key management, or pricing catalogs.
|
|
41
|
+
|
|
42
|
+
## 1.4.1 - 2026-06-19
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- Added the Runtime Model Evidence Boundary across Python, Go, TypeScript, and Rust runtime-core packages.
|
|
47
|
+
- Added `agentledger.model.evidence.v1` for externally executed model-call evidence.
|
|
48
|
+
- Added `model_call_requested`, `model_call_completed`, `model_call_failed`, and `tool_call_proposed` runtime events.
|
|
49
|
+
- Added APIs to record archived model requests/responses, model failures, model-proposed tool calls, token usage, and USD cost evidence without making AgentLedger a model router.
|
|
50
|
+
- Added `model_call_failed` to failure attribution, failure lifecycle, Inspector failure detection, adversarial review checks, and cross-language tests.
|
|
51
|
+
|
|
52
|
+
### Clarified
|
|
53
|
+
|
|
54
|
+
- AgentLedger records model evidence produced by user code, agent frameworks, provider SDKs, LiteLLM/new-api/one-api, or enterprise gateways.
|
|
55
|
+
- AgentLedger does not own provider routing, retry, timeout, fallback, key management, provider SDK compatibility, or pricing catalogs in runtime-core.
|
|
56
|
+
- This is a four-language runtime-core patch release. Inspector remains a language-neutral companion viewer distributed through Python/PyPI.
|
|
57
|
+
|
|
58
|
+
## 1.4.0 - 2026-06-13
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- Added the Agent Failure Lifecycle baseline across Python, Go, TypeScript, and Rust runtime-core packages.
|
|
63
|
+
- Added `agentledger.failure.envelope.v1`, a normalized failure read model for terminal failures, recoverable retries, approval waits, blocked tools, and unknown side-effect states.
|
|
64
|
+
- Added `agentledger.failure.lifecycle.v1`, `agentledger.failure.causal_graph.v1`, `agentledger.failure.replay_plan.v1`, `agentledger.failure.regression.v1`, `agentledger.failure.alerts.v1`, and `agentledger.failure.export.v1`.
|
|
65
|
+
- Added failure lifecycle, causal graph, replay plan, local alert records, regression comparison, and external export mappings for OpenTelemetry, Langfuse, LangSmith, and Temporal-style consumers.
|
|
66
|
+
- Added `agentledger failure export` and `agentledger failure regress` CLI commands.
|
|
67
|
+
- Added Inspector panels for Failure Lifecycle, Failure Replay Plan, Failure Alerts, and Failure Causal Graph.
|
|
68
|
+
|
|
69
|
+
### Tested
|
|
70
|
+
|
|
71
|
+
- Added non-happy-path tests for missing event payloads, retry-scheduled steps, pending approvals, pending tool verification, blocked tools, terminal failure reports, Inspector HTML rendering, unsafe replay planning, local failure alerts, export mappings, and failure regression classification.
|
|
72
|
+
- Added matching failure lifecycle assertions to Go, TypeScript, and Rust runtime-core tests.
|
|
73
|
+
|
|
74
|
+
### Clarified
|
|
75
|
+
|
|
76
|
+
- This is a runtime-core feature release, not an Inspector-only patch. Python, Go, TypeScript, and Rust share the 1.4.0 failure lifecycle contract.
|
|
77
|
+
- Inspector remains a language-neutral read-only companion viewer distributed through Python/PyPI.
|
|
78
|
+
- Failure export mappings are local JSON contracts. They do not send data to external SaaS systems or replace incident management, eval, or observability platforms.
|
|
79
|
+
|
|
80
|
+
## 1.3.5 - 2026-06-07
|
|
81
|
+
|
|
82
|
+
### Added
|
|
83
|
+
|
|
84
|
+
- Added an Inspector chronological Event Stream view sorted by event timestamp, showing runtime run id, extracted agent run id, step id, event type, summary, and links back to detailed timeline records.
|
|
85
|
+
- Added `agentledger inspector runs` and the `agentledger.inspector.runs.v1` read model for a read-only run index over SQLite/Postgres/MySQL runtime metadata.
|
|
86
|
+
|
|
87
|
+
### Fixed
|
|
88
|
+
|
|
89
|
+
- Improved packaged Inspector/static HTML layout so large JSON/details payloads and long ids do not expand tables or break the page width.
|
|
90
|
+
- Reworked detailed Inspector, evidence, and time-travel tables so JSON opens in a full-width row below the record instead of a narrow right-side column.
|
|
91
|
+
- Reworked the Inspector run-index HTML from a wide multi-column table into a compact paginated run list with status, timestamps, counters, Inspector links, and folded JSON details.
|
|
92
|
+
|
|
93
|
+
### Clarified
|
|
94
|
+
|
|
95
|
+
- This is an Inspector companion patch release. Inspector is language-neutral, but the current packaged implementation is distributed through the Python/PyPI CLI. The release does not change the stable runtime-core contract or require Go, TypeScript, or Rust runtime-core package changes.
|
|
96
|
+
|
|
97
|
+
## 1.3.4
|
|
98
|
+
|
|
99
|
+
### Fixed
|
|
100
|
+
|
|
101
|
+
- Corrected the `agentledger-inspector` package module `__version__` so it matches published package metadata.
|
|
102
|
+
- Added a release metadata regression check so the runtime package, Inspector companion package, and optional Inspector extra stay aligned in future patch releases.
|
|
103
|
+
|
|
104
|
+
### Clarified
|
|
105
|
+
|
|
106
|
+
- This is an Inspector/package metadata patch release. It does not change the stable runtime-core contract or require Go, TypeScript, or Rust runtime-core changes.
|
|
107
|
+
|
|
108
|
+
## 1.3.3
|
|
109
|
+
|
|
110
|
+
### Added
|
|
111
|
+
|
|
112
|
+
- Added stable Inspector read-model anchors and related links for timeline events, steps, Tool Ledger rows, approval requests, policy decisions, and artifacts.
|
|
113
|
+
- Added static HTML report navigation and internal cross-links so local reports can jump between events, tools, approvals, and artifacts without running a server.
|
|
114
|
+
|
|
115
|
+
### Clarified
|
|
116
|
+
|
|
117
|
+
- This is an Inspector-only patch release. It does not change the stable runtime-core contract or require Go, TypeScript, or Rust runtime-core changes.
|
|
10
118
|
|
|
11
119
|
## 1.3.2
|
|
12
120
|
|
|
@@ -267,3 +375,7 @@ No unreleased changes yet.
|
|
|
267
375
|
- Exact optional framework packages are not implemented.
|
|
268
376
|
- Rust, TypeScript, and Go implementations are not started.
|
|
269
377
|
- Production sandbox hardening requires external deployment policy.
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
generated by codex cli
|
|
@@ -20,3 +20,7 @@ AgentLedger is an open-source engineering project. Contributors, maintainers, an
|
|
|
20
20
|
## Enforcement
|
|
21
21
|
|
|
22
22
|
Maintainers may edit or remove comments, close issues, reject contributions, or restrict participation when behavior harms the project. Security concerns should be reported through `SECURITY.md`.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
generated by codex cli
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentledger-runtime
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: Runtime reliability layer for Agent Harness stacks
|
|
5
5
|
Project-URL: Homepage, https://github.com/yaogdu/AgentLedger
|
|
6
6
|
Project-URL: Repository, https://github.com/yaogdu/AgentLedger
|
|
@@ -21,33 +21,33 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
21
21
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
22
|
Requires-Python: >=3.11
|
|
23
23
|
Provides-Extra: all
|
|
24
|
-
Requires-Dist: agentledger-inspector<2,>=1.
|
|
25
|
-
Requires-Dist: agentledger-langfuse<2,>=1.
|
|
26
|
-
Requires-Dist: agentledger-langgraph<2,>=1.
|
|
27
|
-
Requires-Dist: agentledger-mcp<2,>=1.
|
|
28
|
-
Requires-Dist: agentledger-mysql<2,>=1.
|
|
29
|
-
Requires-Dist: agentledger-otel<2,>=1.
|
|
30
|
-
Requires-Dist: agentledger-postgres<2,>=1.
|
|
31
|
-
Requires-Dist: agentledger-s3<2,>=1.
|
|
32
|
-
Requires-Dist: agentledger-sandbox-docker<2,>=1.
|
|
24
|
+
Requires-Dist: agentledger-inspector<2,>=1.5.0; extra == 'all'
|
|
25
|
+
Requires-Dist: agentledger-langfuse<2,>=1.5; extra == 'all'
|
|
26
|
+
Requires-Dist: agentledger-langgraph<2,>=1.5; extra == 'all'
|
|
27
|
+
Requires-Dist: agentledger-mcp<2,>=1.5; extra == 'all'
|
|
28
|
+
Requires-Dist: agentledger-mysql<2,>=1.5; extra == 'all'
|
|
29
|
+
Requires-Dist: agentledger-otel<2,>=1.5; extra == 'all'
|
|
30
|
+
Requires-Dist: agentledger-postgres<2,>=1.5; extra == 'all'
|
|
31
|
+
Requires-Dist: agentledger-s3<2,>=1.5; extra == 'all'
|
|
32
|
+
Requires-Dist: agentledger-sandbox-docker<2,>=1.5; extra == 'all'
|
|
33
33
|
Provides-Extra: docker
|
|
34
|
-
Requires-Dist: agentledger-sandbox-docker<2,>=1.
|
|
34
|
+
Requires-Dist: agentledger-sandbox-docker<2,>=1.5; extra == 'docker'
|
|
35
35
|
Provides-Extra: inspector
|
|
36
|
-
Requires-Dist: agentledger-inspector<2,>=1.
|
|
36
|
+
Requires-Dist: agentledger-inspector<2,>=1.5.0; extra == 'inspector'
|
|
37
37
|
Provides-Extra: langfuse
|
|
38
|
-
Requires-Dist: agentledger-langfuse<2,>=1.
|
|
38
|
+
Requires-Dist: agentledger-langfuse<2,>=1.5; extra == 'langfuse'
|
|
39
39
|
Provides-Extra: langgraph
|
|
40
|
-
Requires-Dist: agentledger-langgraph<2,>=1.
|
|
40
|
+
Requires-Dist: agentledger-langgraph<2,>=1.5; extra == 'langgraph'
|
|
41
41
|
Provides-Extra: mcp
|
|
42
|
-
Requires-Dist: agentledger-mcp<2,>=1.
|
|
42
|
+
Requires-Dist: agentledger-mcp<2,>=1.5; extra == 'mcp'
|
|
43
43
|
Provides-Extra: mysql
|
|
44
|
-
Requires-Dist: agentledger-mysql<2,>=1.
|
|
44
|
+
Requires-Dist: agentledger-mysql<2,>=1.5; extra == 'mysql'
|
|
45
45
|
Provides-Extra: otel
|
|
46
|
-
Requires-Dist: agentledger-otel<2,>=1.
|
|
46
|
+
Requires-Dist: agentledger-otel<2,>=1.5; extra == 'otel'
|
|
47
47
|
Provides-Extra: postgres
|
|
48
|
-
Requires-Dist: agentledger-postgres<2,>=1.
|
|
48
|
+
Requires-Dist: agentledger-postgres<2,>=1.5; extra == 'postgres'
|
|
49
49
|
Provides-Extra: s3
|
|
50
|
-
Requires-Dist: agentledger-s3<2,>=1.
|
|
50
|
+
Requires-Dist: agentledger-s3<2,>=1.5; extra == 's3'
|
|
51
51
|
Description-Content-Type: text/markdown
|
|
52
52
|
|
|
53
53
|
# AgentLedger
|
|
@@ -55,7 +55,7 @@ Description-Content-Type: text/markdown
|
|
|
55
55
|
[English](README.md) | [中文](README.zh-CN.md)
|
|
56
56
|
|
|
57
57
|

|
|
58
|
-

|
|
59
59
|

|
|
60
60
|

|
|
61
61
|

|
|
@@ -64,11 +64,11 @@ Description-Content-Type: text/markdown
|
|
|
64
64
|
|
|
65
65
|
Your agent called a tool. Did it happen? Can you retry safely? Can you prove it later?
|
|
66
66
|
|
|
67
|
-
AgentLedger `1.
|
|
67
|
+
AgentLedger `1.5.x` is a runtime reliability layer for Agent Harness stacks. It does not try to teach agents how to reason or replace the surrounding harness ecosystem; it makes agent runs durable, auditable, replayable, policy-governed, and recoverable when workers crash, tools fail, or prompts change.
|
|
68
68
|
|
|
69
69
|
Most agent frameworks focus on planning, reasoning, and workflow logic. AgentLedger sits underneath or beside LangChain, LangGraph, CrewAI, AutoGen, OpenAI Agents SDK, LlamaIndex, Semantic Kernel, or custom agents to provide runtime guarantees around state, tools, evidence, replay, and recovery.
|
|
70
70
|
|
|
71
|
-
In a full harness stack, systems such as LangGraph, Temporal, Langfuse, MCP, model
|
|
71
|
+
In a full harness stack, systems such as LangGraph, Temporal, Langfuse, MCP, model gateways, storage backends, and sandbox providers can each own the layer they are good at. AgentLedger owns the reliability substrate between them: durable execution, tool/model governance, evidence, replay, policy/sandbox boundaries, cost/failure attribution, and adapter contracts.
|
|
72
72
|
|
|
73
73
|
Python remains the reference implementation, and Go, TypeScript, and Rust now have native runtime-core baselines aligned to the same language-neutral runtime contract. Provider-specific drivers and framework-native adapters intentionally vary by ecosystem. See `docs/LANGUAGE_IMPLEMENTATION_COMPARISON.md` for the exact four-language comparison and adapter boundary.
|
|
74
74
|
|
|
@@ -76,11 +76,14 @@ Python remains the reference implementation, and Go, TypeScript, and Rust now ha
|
|
|
76
76
|
|
|
77
77
|
| Need | Go to |
|
|
78
78
|
| --- | --- |
|
|
79
|
+
| See the core value in 3 minutes | [examples/showcase/duplicate_side_effect_crash](examples/showcase/duplicate_side_effect_crash/README.md) |
|
|
79
80
|
| Install and run the first example | [docs/GETTING_STARTED.md](docs/GETTING_STARTED.md) |
|
|
81
|
+
| Decide whether AgentLedger fits your use case | [docs/USE_CASES.md](docs/USE_CASES.md) |
|
|
80
82
|
| Choose Python / Go / TypeScript / Rust | [docs/LANGUAGE_QUICKSTART.md](docs/LANGUAGE_QUICKSTART.md) |
|
|
81
83
|
| Find runnable examples | [examples/README.md](examples/README.md), [go/examples/README.md](go/examples/README.md), [typescript/examples/README.md](typescript/examples/README.md), [rust/examples/README.md](rust/examples/README.md) |
|
|
82
84
|
| Query runtime tables | [docs/QUERY_EXAMPLES.md](docs/QUERY_EXAMPLES.md) |
|
|
83
85
|
| Inspect a run visually | [docs/INSPECTOR.md](docs/INSPECTOR.md) |
|
|
86
|
+
| Run benchmark and coverage gates | [docs/BENCHMARKS.md](docs/BENCHMARKS.md) |
|
|
84
87
|
| Understand Harness stack composition | [docs/HARNESS_STACK.md](docs/HARNESS_STACK.md) |
|
|
85
88
|
| Understand open-source impact | [docs/OPEN_SOURCE_IMPACT.md](docs/OPEN_SOURCE_IMPACT.md) |
|
|
86
89
|
| Understand maintainer responsibilities | [docs/MAINTAINER_NOTES.md](docs/MAINTAINER_NOTES.md) |
|
|
@@ -90,6 +93,14 @@ Python remains the reference implementation, and Go, TypeScript, and Rust now ha
|
|
|
90
93
|
| Use Go correctly | [go/README.md](go/README.md#install) |
|
|
91
94
|
| Read the full documentation map | [docs/README.md](docs/README.md) |
|
|
92
95
|
|
|
96
|
+
## Inspector Preview
|
|
97
|
+
|
|
98
|
+
Inspector exports self-contained, read-only HTML for local or internal debugging. It can show a run index before opening a single run, then drill into chronological events, Tool Ledger rows, approvals, artifacts, and full-width JSON details.
|
|
99
|
+
|
|
100
|
+

|
|
101
|
+
|
|
102
|
+

|
|
103
|
+
|
|
93
104
|
## At a glance
|
|
94
105
|
|
|
95
106
|
| Question | Answer |
|
|
@@ -100,6 +111,12 @@ Python remains the reference implementation, and Go, TypeScript, and Rust now ha
|
|
|
100
111
|
| What is not in core? | Planning engines, full eval systems, RAG/vector memory, trace stores, application administration backends, and sandbox infrastructure providers. |
|
|
101
112
|
| How should other languages work? | This repo is contract-first. Python is the reference runtime; Go, Node/TypeScript, and Rust now have native runtime baselines under `go/`, `typescript/`, and `rust/`. Runtime-ready requires `contracts/agentledger.runtime.v1.json`, the shared semantic manifest `contracts/conformance/runtime_semantics.v1.json`, shared conformance fixtures, and per-language conformance commands. |
|
|
102
113
|
|
|
114
|
+
## When to use it
|
|
115
|
+
|
|
116
|
+
Use AgentLedger when an agent starts doing work you may need to recover, prove, or replay later: creating tickets, sending emails, changing files, calling internal APIs, querying sensitive systems, waiting for human approval, or running long enough that a worker crash is realistic.
|
|
117
|
+
|
|
118
|
+
The fastest way to validate the value is the [3-minute side-effect safety showcase](examples/showcase/duplicate_side_effect_crash/README.md). It contrasts a naive retry that sends an external email twice with an AgentLedger-managed retry that records the side effect once, resumes safely, and exports Inspector HTML evidence. For concrete production scenarios, guarantee boundaries, and adoption guidance, see [docs/USE_CASES.md](docs/USE_CASES.md).
|
|
119
|
+
|
|
103
120
|
## Scope principle
|
|
104
121
|
|
|
105
122
|
AgentLedger keeps the runtime thin but hard to replace: core only owns guarantees that cannot be reliably enforced outside the runtime boundary. Everything else should integrate through adapters, contracts, conformance tests, and examples.
|
|
@@ -145,7 +162,7 @@ For concrete stack patterns, from a minimal local harness to a Temporal + LangGr
|
|
|
145
162
|
| Durable orchestration | Temporal, Ray, Kubernetes workers | provide agent-specific leases, fencing, checkpoints, cancellation, cost/failure attribution, and replay semantics inside the worker step |
|
|
146
163
|
| Observability / eval UI | Langfuse, LangSmith, OpenTelemetry, custom dashboards | export structured runtime events, evidence bundles, trace/cost/failure data, and correlation IDs |
|
|
147
164
|
| Tool and context protocols | MCP, internal tool servers, provider SDK tools | enforce schema, permissions, approval, sandbox, idempotency, and audit before side effects happen |
|
|
148
|
-
| Model providers /
|
|
165
|
+
| Model providers / gateways | OpenAI, Anthropic, Gemini, Bedrock, Ollama, LiteLLM/new-api/one-api, enterprise gateways | execute or route model calls externally while AgentLedger records model evidence, archived responses, proposed tool calls, cost/failure attribution, and replay semantics |
|
|
149
166
|
| Storage / artifacts | SQLite, Postgres, MySQL, S3/MinIO, internal stores | keep runtime metadata, state versions, migrations, blob refs, and evidence refs durable and conformance-tested |
|
|
150
167
|
|
|
151
168
|
The intended production shape is therefore not `AgentLedger instead of LangGraph/Temporal/Langfuse`. It is `AgentLedger with LangGraph/Temporal/Langfuse` where AgentLedger governs the model/tool/state boundary that those systems otherwise cannot enforce by themselves.
|
|
@@ -177,6 +194,7 @@ The repository includes cross-language 3-minute side-effect safety demos, MCP go
|
|
|
177
194
|
|
|
178
195
|
| Goal | Demo | Run |
|
|
179
196
|
| --- | --- | --- |
|
|
197
|
+
| Shareable crash/retry showcase | Python | `PYTHONPATH=src python3 examples/showcase/duplicate_side_effect_crash/demo.py` |
|
|
180
198
|
| 3-minute side-effect safety | Python / Go / Rust / TypeScript | `PYTHONPATH=src python3 examples/three_minute_demo/demo.py`; `cd go && go run ./examples/three_minute_demo`; `cd rust && cargo run --example three_minute_demo`; `cd typescript && node examples/three_minute_demo/three_minute_demo.js` |
|
|
181
199
|
| MCP tool governance | Python / Go / Rust / TypeScript | `PYTHONPATH=src python3 examples/mcp_governance/demo.py`; `cd go && go run ./examples/mcp_governance`; `cd rust && cargo run --example mcp_governance`; `cd typescript && node examples/mcp_governance/mcp_governance.js` |
|
|
182
200
|
| Python | `examples/travel_assistant/demo.py` | `python3 examples/travel_assistant/demo.py` |
|
|
@@ -239,6 +257,7 @@ Temporal + LangGraph + AgentLedger is a valid production stack: Temporal runs th
|
|
|
239
257
|
- Contributing guide: [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
240
258
|
- Community conduct: [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
241
259
|
- Release gates: [docs/RELEASE_CHECKLIST.md](docs/RELEASE_CHECKLIST.md)
|
|
260
|
+
- Benchmark gates: [docs/BENCHMARKS.md](docs/BENCHMARKS.md)
|
|
242
261
|
- Compatibility policy: [docs/VERSIONING.md](docs/VERSIONING.md)
|
|
243
262
|
|
|
244
263
|
## Quick start
|
|
@@ -333,7 +352,7 @@ AgentLedger is also not a new LLM SDK, not a workflow engine, not a general obse
|
|
|
333
352
|
|
|
334
353
|
## Current maturity
|
|
335
354
|
|
|
336
|
-
AgentLedger 1.
|
|
355
|
+
AgentLedger 1.5.x is a stable runtime-core line with Python as the reference implementation and Go, TypeScript, and Rust covered by shared runtime-core parity gates. The four language runtimes share the same runtime-core failure semantics and model evidence boundary: failed steps, retry scheduling, cancellation, lease recovery, Tool Ledger unknown-state handling, cost/failure attribution, evidence, replay, normalized failure envelopes, failure lifecycle, causal graph, replay plan, regression report, alerts, failure export mappings, archived model request/response/failure evidence, and model-proposed tool-call records. The current runtime-core release is 1.5.0 across Python, Go, TypeScript, and Rust; Inspector remains a language-neutral companion viewer distributed through Python/PyPI. It is suitable for local use, framework adapter integration, reliability semantics validation, and production pilot preparation with explicit adapter boundaries.
|
|
337
356
|
|
|
338
357
|
The runtime-core contract is stable; optional production adapters and external infrastructure hardening remain separately tracked. See [docs/MATURITY_MODEL.md](docs/MATURITY_MODEL.md), [docs/IMPLEMENTATION_STATUS.md](docs/IMPLEMENTATION_STATUS.md), and [docs/ROADMAP.md](docs/ROADMAP.md).
|
|
339
358
|
|
|
@@ -388,3 +407,7 @@ See [docs/RELEASE_CHECKLIST.md](docs/RELEASE_CHECKLIST.md) for the complete rele
|
|
|
388
407
|
## License
|
|
389
408
|
|
|
390
409
|
Apache-2.0. See [LICENSE](LICENSE).
|
|
410
|
+
|
|
411
|
+
---
|
|
412
|
+
|
|
413
|
+
generated by codex cli
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[English](README.md) | [中文](README.zh-CN.md)
|
|
4
4
|
|
|
5
5
|

|
|
6
|
-

|
|
7
7
|

|
|
8
8
|

|
|
9
9
|

|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
Your agent called a tool. Did it happen? Can you retry safely? Can you prove it later?
|
|
14
14
|
|
|
15
|
-
AgentLedger `1.
|
|
15
|
+
AgentLedger `1.5.x` is a runtime reliability layer for Agent Harness stacks. It does not try to teach agents how to reason or replace the surrounding harness ecosystem; it makes agent runs durable, auditable, replayable, policy-governed, and recoverable when workers crash, tools fail, or prompts change.
|
|
16
16
|
|
|
17
17
|
Most agent frameworks focus on planning, reasoning, and workflow logic. AgentLedger sits underneath or beside LangChain, LangGraph, CrewAI, AutoGen, OpenAI Agents SDK, LlamaIndex, Semantic Kernel, or custom agents to provide runtime guarantees around state, tools, evidence, replay, and recovery.
|
|
18
18
|
|
|
19
|
-
In a full harness stack, systems such as LangGraph, Temporal, Langfuse, MCP, model
|
|
19
|
+
In a full harness stack, systems such as LangGraph, Temporal, Langfuse, MCP, model gateways, storage backends, and sandbox providers can each own the layer they are good at. AgentLedger owns the reliability substrate between them: durable execution, tool/model governance, evidence, replay, policy/sandbox boundaries, cost/failure attribution, and adapter contracts.
|
|
20
20
|
|
|
21
21
|
Python remains the reference implementation, and Go, TypeScript, and Rust now have native runtime-core baselines aligned to the same language-neutral runtime contract. Provider-specific drivers and framework-native adapters intentionally vary by ecosystem. See `docs/LANGUAGE_IMPLEMENTATION_COMPARISON.md` for the exact four-language comparison and adapter boundary.
|
|
22
22
|
|
|
@@ -24,11 +24,14 @@ Python remains the reference implementation, and Go, TypeScript, and Rust now ha
|
|
|
24
24
|
|
|
25
25
|
| Need | Go to |
|
|
26
26
|
| --- | --- |
|
|
27
|
+
| See the core value in 3 minutes | [examples/showcase/duplicate_side_effect_crash](examples/showcase/duplicate_side_effect_crash/README.md) |
|
|
27
28
|
| Install and run the first example | [docs/GETTING_STARTED.md](docs/GETTING_STARTED.md) |
|
|
29
|
+
| Decide whether AgentLedger fits your use case | [docs/USE_CASES.md](docs/USE_CASES.md) |
|
|
28
30
|
| Choose Python / Go / TypeScript / Rust | [docs/LANGUAGE_QUICKSTART.md](docs/LANGUAGE_QUICKSTART.md) |
|
|
29
31
|
| Find runnable examples | [examples/README.md](examples/README.md), [go/examples/README.md](go/examples/README.md), [typescript/examples/README.md](typescript/examples/README.md), [rust/examples/README.md](rust/examples/README.md) |
|
|
30
32
|
| Query runtime tables | [docs/QUERY_EXAMPLES.md](docs/QUERY_EXAMPLES.md) |
|
|
31
33
|
| Inspect a run visually | [docs/INSPECTOR.md](docs/INSPECTOR.md) |
|
|
34
|
+
| Run benchmark and coverage gates | [docs/BENCHMARKS.md](docs/BENCHMARKS.md) |
|
|
32
35
|
| Understand Harness stack composition | [docs/HARNESS_STACK.md](docs/HARNESS_STACK.md) |
|
|
33
36
|
| Understand open-source impact | [docs/OPEN_SOURCE_IMPACT.md](docs/OPEN_SOURCE_IMPACT.md) |
|
|
34
37
|
| Understand maintainer responsibilities | [docs/MAINTAINER_NOTES.md](docs/MAINTAINER_NOTES.md) |
|
|
@@ -38,6 +41,14 @@ Python remains the reference implementation, and Go, TypeScript, and Rust now ha
|
|
|
38
41
|
| Use Go correctly | [go/README.md](go/README.md#install) |
|
|
39
42
|
| Read the full documentation map | [docs/README.md](docs/README.md) |
|
|
40
43
|
|
|
44
|
+
## Inspector Preview
|
|
45
|
+
|
|
46
|
+
Inspector exports self-contained, read-only HTML for local or internal debugging. It can show a run index before opening a single run, then drill into chronological events, Tool Ledger rows, approvals, artifacts, and full-width JSON details.
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+

|
|
51
|
+
|
|
41
52
|
## At a glance
|
|
42
53
|
|
|
43
54
|
| Question | Answer |
|
|
@@ -48,6 +59,12 @@ Python remains the reference implementation, and Go, TypeScript, and Rust now ha
|
|
|
48
59
|
| What is not in core? | Planning engines, full eval systems, RAG/vector memory, trace stores, application administration backends, and sandbox infrastructure providers. |
|
|
49
60
|
| How should other languages work? | This repo is contract-first. Python is the reference runtime; Go, Node/TypeScript, and Rust now have native runtime baselines under `go/`, `typescript/`, and `rust/`. Runtime-ready requires `contracts/agentledger.runtime.v1.json`, the shared semantic manifest `contracts/conformance/runtime_semantics.v1.json`, shared conformance fixtures, and per-language conformance commands. |
|
|
50
61
|
|
|
62
|
+
## When to use it
|
|
63
|
+
|
|
64
|
+
Use AgentLedger when an agent starts doing work you may need to recover, prove, or replay later: creating tickets, sending emails, changing files, calling internal APIs, querying sensitive systems, waiting for human approval, or running long enough that a worker crash is realistic.
|
|
65
|
+
|
|
66
|
+
The fastest way to validate the value is the [3-minute side-effect safety showcase](examples/showcase/duplicate_side_effect_crash/README.md). It contrasts a naive retry that sends an external email twice with an AgentLedger-managed retry that records the side effect once, resumes safely, and exports Inspector HTML evidence. For concrete production scenarios, guarantee boundaries, and adoption guidance, see [docs/USE_CASES.md](docs/USE_CASES.md).
|
|
67
|
+
|
|
51
68
|
## Scope principle
|
|
52
69
|
|
|
53
70
|
AgentLedger keeps the runtime thin but hard to replace: core only owns guarantees that cannot be reliably enforced outside the runtime boundary. Everything else should integrate through adapters, contracts, conformance tests, and examples.
|
|
@@ -93,7 +110,7 @@ For concrete stack patterns, from a minimal local harness to a Temporal + LangGr
|
|
|
93
110
|
| Durable orchestration | Temporal, Ray, Kubernetes workers | provide agent-specific leases, fencing, checkpoints, cancellation, cost/failure attribution, and replay semantics inside the worker step |
|
|
94
111
|
| Observability / eval UI | Langfuse, LangSmith, OpenTelemetry, custom dashboards | export structured runtime events, evidence bundles, trace/cost/failure data, and correlation IDs |
|
|
95
112
|
| Tool and context protocols | MCP, internal tool servers, provider SDK tools | enforce schema, permissions, approval, sandbox, idempotency, and audit before side effects happen |
|
|
96
|
-
| Model providers /
|
|
113
|
+
| Model providers / gateways | OpenAI, Anthropic, Gemini, Bedrock, Ollama, LiteLLM/new-api/one-api, enterprise gateways | execute or route model calls externally while AgentLedger records model evidence, archived responses, proposed tool calls, cost/failure attribution, and replay semantics |
|
|
97
114
|
| Storage / artifacts | SQLite, Postgres, MySQL, S3/MinIO, internal stores | keep runtime metadata, state versions, migrations, blob refs, and evidence refs durable and conformance-tested |
|
|
98
115
|
|
|
99
116
|
The intended production shape is therefore not `AgentLedger instead of LangGraph/Temporal/Langfuse`. It is `AgentLedger with LangGraph/Temporal/Langfuse` where AgentLedger governs the model/tool/state boundary that those systems otherwise cannot enforce by themselves.
|
|
@@ -125,6 +142,7 @@ The repository includes cross-language 3-minute side-effect safety demos, MCP go
|
|
|
125
142
|
|
|
126
143
|
| Goal | Demo | Run |
|
|
127
144
|
| --- | --- | --- |
|
|
145
|
+
| Shareable crash/retry showcase | Python | `PYTHONPATH=src python3 examples/showcase/duplicate_side_effect_crash/demo.py` |
|
|
128
146
|
| 3-minute side-effect safety | Python / Go / Rust / TypeScript | `PYTHONPATH=src python3 examples/three_minute_demo/demo.py`; `cd go && go run ./examples/three_minute_demo`; `cd rust && cargo run --example three_minute_demo`; `cd typescript && node examples/three_minute_demo/three_minute_demo.js` |
|
|
129
147
|
| MCP tool governance | Python / Go / Rust / TypeScript | `PYTHONPATH=src python3 examples/mcp_governance/demo.py`; `cd go && go run ./examples/mcp_governance`; `cd rust && cargo run --example mcp_governance`; `cd typescript && node examples/mcp_governance/mcp_governance.js` |
|
|
130
148
|
| Python | `examples/travel_assistant/demo.py` | `python3 examples/travel_assistant/demo.py` |
|
|
@@ -187,6 +205,7 @@ Temporal + LangGraph + AgentLedger is a valid production stack: Temporal runs th
|
|
|
187
205
|
- Contributing guide: [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
188
206
|
- Community conduct: [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
189
207
|
- Release gates: [docs/RELEASE_CHECKLIST.md](docs/RELEASE_CHECKLIST.md)
|
|
208
|
+
- Benchmark gates: [docs/BENCHMARKS.md](docs/BENCHMARKS.md)
|
|
190
209
|
- Compatibility policy: [docs/VERSIONING.md](docs/VERSIONING.md)
|
|
191
210
|
|
|
192
211
|
## Quick start
|
|
@@ -281,7 +300,7 @@ AgentLedger is also not a new LLM SDK, not a workflow engine, not a general obse
|
|
|
281
300
|
|
|
282
301
|
## Current maturity
|
|
283
302
|
|
|
284
|
-
AgentLedger 1.
|
|
303
|
+
AgentLedger 1.5.x is a stable runtime-core line with Python as the reference implementation and Go, TypeScript, and Rust covered by shared runtime-core parity gates. The four language runtimes share the same runtime-core failure semantics and model evidence boundary: failed steps, retry scheduling, cancellation, lease recovery, Tool Ledger unknown-state handling, cost/failure attribution, evidence, replay, normalized failure envelopes, failure lifecycle, causal graph, replay plan, regression report, alerts, failure export mappings, archived model request/response/failure evidence, and model-proposed tool-call records. The current runtime-core release is 1.5.0 across Python, Go, TypeScript, and Rust; Inspector remains a language-neutral companion viewer distributed through Python/PyPI. It is suitable for local use, framework adapter integration, reliability semantics validation, and production pilot preparation with explicit adapter boundaries.
|
|
285
304
|
|
|
286
305
|
The runtime-core contract is stable; optional production adapters and external infrastructure hardening remain separately tracked. See [docs/MATURITY_MODEL.md](docs/MATURITY_MODEL.md), [docs/IMPLEMENTATION_STATUS.md](docs/IMPLEMENTATION_STATUS.md), and [docs/ROADMAP.md](docs/ROADMAP.md).
|
|
287
306
|
|
|
@@ -336,3 +355,7 @@ See [docs/RELEASE_CHECKLIST.md](docs/RELEASE_CHECKLIST.md) for the complete rele
|
|
|
336
355
|
## License
|
|
337
356
|
|
|
338
357
|
Apache-2.0. See [LICENSE](LICENSE).
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
generated by codex cli
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[English](README.md) | [中文](README.zh-CN.md)
|
|
4
4
|
|
|
5
5
|

|
|
6
|
-

|
|
7
7
|

|
|
8
8
|

|
|
9
9
|

|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
你的 Agent 调用了一个工具。它真的执行了吗?可以安全重试吗?之后能证明发生过什么吗?
|
|
14
14
|
|
|
15
|
-
AgentLedger `1.
|
|
15
|
+
AgentLedger `1.5.x` 是面向 Agent Harness stack 的 runtime reliability layer。它不负责让 Agent 更会“思考”,也不替代完整 Harness 生态;它负责让 Agent run 在 worker 崩溃、工具失败、prompt 变更和长任务恢复时,仍然具备持久化、可审计、可重放、可治理和可恢复能力。
|
|
16
16
|
|
|
17
17
|
大多数 Agent 框架关注 planning、reasoning 和 workflow logic。AgentLedger 放在 LangChain、LangGraph、CrewAI、AutoGen、OpenAI Agents SDK、LlamaIndex、Semantic Kernel 或自定义 Agent 的下方或旁边,提供 state、tool、evidence、replay、recovery 相关的 runtime guarantees。
|
|
18
18
|
|
|
19
|
-
在完整 Harness stack 里,LangGraph、Temporal、Langfuse、MCP、model
|
|
19
|
+
在完整 Harness stack 里,LangGraph、Temporal、Langfuse、MCP、model gateway、storage backend、sandbox provider 等系统可以各自负责擅长的层。AgentLedger 负责它们之间的 reliability substrate:durable execution、tool/model governance、evidence、replay、policy/sandbox boundary、cost/failure attribution 和 adapter contracts。
|
|
20
20
|
|
|
21
21
|
Python 仍然是 reference implementation;Go、TypeScript、Rust 已有 native runtime-core baseline,并对齐同一份 language-neutral runtime contract。provider-specific driver 和 framework-native adapter 会按各语言生态差异处理。四语言实现对比和 adapter 边界见 `docs/zh/LANGUAGE_IMPLEMENTATION_COMPARISON.md`。
|
|
22
22
|
|
|
@@ -24,11 +24,14 @@ Python 仍然是 reference implementation;Go、TypeScript、Rust 已有 native
|
|
|
24
24
|
|
|
25
25
|
| 需求 | 入口 |
|
|
26
26
|
| --- | --- |
|
|
27
|
+
| 3 分钟看到核心价值 | [examples/showcase/duplicate_side_effect_crash](examples/showcase/duplicate_side_effect_crash/README.md) |
|
|
27
28
|
| 安装并跑通第一个示例 | [docs/zh/GETTING_STARTED.md](docs/zh/GETTING_STARTED.md) |
|
|
29
|
+
| 判断 AgentLedger 是否适合你的场景 | [docs/zh/USE_CASES.md](docs/zh/USE_CASES.md) |
|
|
28
30
|
| 选择 Python / Go / TypeScript / Rust | [docs/zh/LANGUAGE_QUICKSTART.md](docs/zh/LANGUAGE_QUICKSTART.md) |
|
|
29
31
|
| 找可运行示例 | [examples/README.md](examples/README.md)、[go/examples/README.md](go/examples/README.md)、[typescript/examples/README.md](typescript/examples/README.md)、[rust/examples/README.md](rust/examples/README.md) |
|
|
30
32
|
| 查询 runtime 表 | [docs/zh/QUERY_EXAMPLES.md](docs/zh/QUERY_EXAMPLES.md) |
|
|
31
33
|
| 可视化排查 run | [docs/zh/INSPECTOR.md](docs/zh/INSPECTOR.md) |
|
|
34
|
+
| 运行 benchmark 和覆盖门禁 | [docs/zh/BENCHMARKS.md](docs/zh/BENCHMARKS.md) |
|
|
32
35
|
| 理解 Harness stack 组合方式 | [docs/zh/HARNESS_STACK.md](docs/zh/HARNESS_STACK.md) |
|
|
33
36
|
| 理解开源生态价值 | [docs/zh/OPEN_SOURCE_IMPACT.md](docs/zh/OPEN_SOURCE_IMPACT.md) |
|
|
34
37
|
| 理解维护者职责 | [docs/zh/MAINTAINER_NOTES.md](docs/zh/MAINTAINER_NOTES.md) |
|
|
@@ -38,6 +41,13 @@ Python 仍然是 reference implementation;Go、TypeScript、Rust 已有 native
|
|
|
38
41
|
| 正确使用 Go | [go/README.md](go/README.md#install) |
|
|
39
42
|
| 查看完整文档地图 | [docs/zh/README.md](docs/zh/README.md) |
|
|
40
43
|
|
|
44
|
+
## Inspector 预览
|
|
45
|
+
|
|
46
|
+
Inspector 会导出自包含、只读的 HTML,适合本地或内网排查问题。它可以先展示 run index,再进入单个 run 查看按时间排序的事件、Tool Ledger、approval、artifact 和全宽 JSON 详情。
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+

|
|
41
51
|
|
|
42
52
|
## 快速判断
|
|
43
53
|
|
|
@@ -49,6 +59,12 @@ Python 仍然是 reference implementation;Go、TypeScript、Rust 已有 native
|
|
|
49
59
|
| 哪些不属于 core? | Planning engine、完整 eval 系统、RAG/vector memory、trace store、托管应用产品和托管 sandbox infrastructure。 |
|
|
50
60
|
| 其它语言怎么做? | 这个 repo 是 contract-first。Python 是 reference runtime;Go、Node/TypeScript、Rust 已在 `go/`、`typescript/`、`rust/` 下有 native runtime baseline。runtime-ready 必须对齐 `contracts/agentledger.runtime.v1.json` 和共享语义清单 `contracts/conformance/runtime_semantics.v1.json`,通过共享 conformance fixtures,并提供各语言 conformance command。 |
|
|
51
61
|
|
|
62
|
+
## 什么时候该用
|
|
63
|
+
|
|
64
|
+
当 Agent 开始执行以后可能需要恢复、证明或 replay 的工作时,就适合引入 AgentLedger:创建 ticket、发送邮件、修改文件、调用内部 API、查询敏感系统、等待人工审批,或者任务长到 worker crash 是现实风险。
|
|
65
|
+
|
|
66
|
+
最快的价值验证方式是跑 [3 分钟副作用安全 showcase](examples/showcase/duplicate_side_effect_crash/README.md)。它会对比一个 naive retry 把外部邮件发送两次,以及 AgentLedger-managed retry 只记录并复用一次副作用、可安全恢复并导出 Inspector HTML evidence。更具体的生产场景、保证边界和接入判断见 [docs/zh/USE_CASES.md](docs/zh/USE_CASES.md)。
|
|
67
|
+
|
|
52
68
|
## 范围原则
|
|
53
69
|
|
|
54
70
|
AgentLedger 的 runtime 要保持“薄但不可替代”:core 只内建那些不在 runtime boundary 内就无法可靠保证的能力。其它能力通过 adapter、contract、conformance test 和 example 接入成熟生态。
|
|
@@ -94,7 +110,7 @@ AgentLedger 本身不是完整 Agent Harness。它的设计目标是和 Harness
|
|
|
94
110
|
| Durable orchestration | Temporal、Ray、Kubernetes workers | 在 worker step 内提供 agent-specific lease、fencing、checkpoint、cancellation、cost/failure attribution 和 replay semantics |
|
|
95
111
|
| Observability / eval UI | Langfuse、LangSmith、OpenTelemetry、自定义 dashboard | 导出 structured runtime events、evidence bundle、trace/cost/failure data 和 correlation IDs |
|
|
96
112
|
| Tool and context protocols | MCP、internal tool servers、provider SDK tools | 在副作用发生前强制执行 schema、permission、approval、sandbox、idempotency 和 audit |
|
|
97
|
-
| Model providers /
|
|
113
|
+
| Model providers / gateways | OpenAI、Anthropic、Gemini、Bedrock、Ollama、LiteLLM/new-api/one-api、企业 gateway | 在外部执行或路由 model call;AgentLedger 记录 model evidence、archived response、proposed tool call、cost/failure attribution 和 replay semantics |
|
|
98
114
|
| Storage / artifacts | SQLite、Postgres、MySQL、S3/MinIO、内部存储 | 持久化 runtime metadata、state version、migration、blob ref 和 evidence ref,并通过 conformance 验证 |
|
|
99
115
|
|
|
100
116
|
所以推荐的生产形态不是 `AgentLedger instead of LangGraph/Temporal/Langfuse`,而是 `AgentLedger with LangGraph/Temporal/Langfuse`:AgentLedger 负责治理这些系统自身难以强制保证的 model/tool/state boundary。
|
|
@@ -126,6 +142,7 @@ AgentLedger 本身不是完整 Agent Harness。它的设计目标是和 Harness
|
|
|
126
142
|
|
|
127
143
|
| 目标 | Demo | 运行方式 |
|
|
128
144
|
| --- | --- | --- |
|
|
145
|
+
| 传播型 crash/retry showcase | Python | `PYTHONPATH=src python3 examples/showcase/duplicate_side_effect_crash/demo.py` |
|
|
129
146
|
| 3 分钟副作用安全 demo | Python / Go / Rust / TypeScript | `PYTHONPATH=src python3 examples/three_minute_demo/demo.py`; `cd go && go run ./examples/three_minute_demo`; `cd rust && cargo run --example three_minute_demo`; `cd typescript && node examples/three_minute_demo/three_minute_demo.js` |
|
|
130
147
|
| MCP tool governance | Python / Go / Rust / TypeScript | `PYTHONPATH=src python3 examples/mcp_governance/demo.py`; `cd go && go run ./examples/mcp_governance`; `cd rust && cargo run --example mcp_governance`; `cd typescript && node examples/mcp_governance/mcp_governance.js` |
|
|
131
148
|
| Python | `examples/travel_assistant/demo.py` | `python3 examples/travel_assistant/demo.py` |
|
|
@@ -188,6 +205,7 @@ Temporal + LangGraph + AgentLedger 是合理的生产组合:Temporal 跑外层
|
|
|
188
205
|
- 贡献方式:[CONTRIBUTING.md](CONTRIBUTING.md)
|
|
189
206
|
- 社区行为:[CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
190
207
|
- 发布检查:[docs/zh/RELEASE_CHECKLIST.md](docs/zh/RELEASE_CHECKLIST.md)
|
|
208
|
+
- Benchmark 门禁:[docs/zh/BENCHMARKS.md](docs/zh/BENCHMARKS.md)
|
|
191
209
|
- 兼容策略:[docs/VERSIONING.md](docs/VERSIONING.md)
|
|
192
210
|
|
|
193
211
|
## 快速开始
|
|
@@ -282,7 +300,7 @@ AgentLedger 也不是新的 LLM SDK,不是 workflow engine,不是通用 obse
|
|
|
282
300
|
|
|
283
301
|
## 当前成熟度
|
|
284
302
|
|
|
285
|
-
AgentLedger 1.
|
|
303
|
+
AgentLedger 1.5.x 是 stable runtime-core line,Python 是 reference implementation,Go、TypeScript、Rust 已由共享 runtime-core parity gate 覆盖。四种语言 runtime 共享同一组 runtime-core failure semantics 和 model evidence boundary:failed step、retry scheduling、cancellation、lease recovery、Tool Ledger unknown-state handling、cost/failure attribution、evidence、replay、normalized failure envelope、failure lifecycle、causal graph、replay plan、regression report、alerts、failure export mappings、archived model request/response/failure evidence,以及 model-proposed tool-call records。当前 runtime-core release 是 1.5.0,并覆盖 Python、Go、TypeScript、Rust;Inspector 仍是 language-neutral companion viewer,通过 Python/PyPI 分发。适合本地使用、framework adapter integration、reliability semantics 验证,以及在明确 adapter 边界下做 production pilot 准备。
|
|
286
304
|
|
|
287
305
|
runtime-core contract 已稳定;optional production adapter 和外部基础设施加固仍按独立阶段推进。详见 [docs/MATURITY_MODEL.md](docs/MATURITY_MODEL.md)、[docs/zh/IMPLEMENTATION_STATUS.md](docs/zh/IMPLEMENTATION_STATUS.md) 和 [docs/zh/ROADMAP.md](docs/zh/ROADMAP.md)。
|
|
288
306
|
|
|
@@ -337,3 +355,7 @@ cd ../rust && cargo run --quiet -- conformance
|
|
|
337
355
|
## License
|
|
338
356
|
|
|
339
357
|
Apache-2.0. See [LICENSE](LICENSE)。
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
generated by codex cli
|