abt-core 0.0.1__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.
- abt_core-0.0.1/LICENSE +201 -0
- abt_core-0.0.1/PKG-INFO +240 -0
- abt_core-0.0.1/README.md +146 -0
- abt_core-0.0.1/pyproject.toml +564 -0
- abt_core-0.0.1/pyproject.toml.orig +578 -0
- abt_core-0.0.1/src/abt/__init__.py +111 -0
- abt_core-0.0.1/src/abt/_tool.py +161 -0
- abt_core-0.0.1/src/abt/adapters/README.md +11 -0
- abt_core-0.0.1/src/abt/adapters/__init__.py +5 -0
- abt_core-0.0.1/src/abt/adapters/_config.py +24 -0
- abt_core-0.0.1/src/abt/adapters/confluence/__init__.py +404 -0
- abt_core-0.0.1/src/abt/adapters/confluence/client.py +73 -0
- abt_core-0.0.1/src/abt/adapters/confluence/context_fetch.py +36 -0
- abt_core-0.0.1/src/abt/adapters/confluence/context_provider.py +35 -0
- abt_core-0.0.1/src/abt/adapters/email/__init__.py +166 -0
- abt_core-0.0.1/src/abt/adapters/github/__init__.py +225 -0
- abt_core-0.0.1/src/abt/adapters/github/client.py +393 -0
- abt_core-0.0.1/src/abt/adapters/github/context_fetch.py +28 -0
- abt_core-0.0.1/src/abt/adapters/github/context_provider.py +43 -0
- abt_core-0.0.1/src/abt/adapters/jira/__init__.py +144 -0
- abt_core-0.0.1/src/abt/adapters/jira/_common.py +573 -0
- abt_core-0.0.1/src/abt/adapters/jira/approvals_comment.py +400 -0
- abt_core-0.0.1/src/abt/adapters/jira/approvals_status.py +461 -0
- abt_core-0.0.1/src/abt/adapters/local/__init__.py +73 -0
- abt_core-0.0.1/src/abt/adapters/slack/__init__.py +349 -0
- abt_core-0.0.1/src/abt/adapters/slack/approvals.py +764 -0
- abt_core-0.0.1/src/abt/artifacts/__init__.py +73 -0
- abt_core-0.0.1/src/abt/artifacts/agent_wire.py +107 -0
- abt_core-0.0.1/src/abt/artifacts/compile.py +232 -0
- abt_core-0.0.1/src/abt/artifacts/compile_cache.py +88 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/__init__.py +30 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_agents.py +397 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_context.py +96 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_discovery.py +204 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_finalize.py +615 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_mcp_validation.py +243 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_selective.py +164 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_template_vars.py +205 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/phase_wire.py +173 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/required_scope.py +251 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/template_sources.py +66 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/types.py +121 -0
- abt_core-0.0.1/src/abt/artifacts/compile_workflow/workflow.py +142 -0
- abt_core-0.0.1/src/abt/artifacts/compiled_writer.py +122 -0
- abt_core-0.0.1/src/abt/artifacts/context_files.py +75 -0
- abt_core-0.0.1/src/abt/artifacts/context_workflow.py +339 -0
- abt_core-0.0.1/src/abt/artifacts/discovery.py +330 -0
- abt_core-0.0.1/src/abt/artifacts/io.py +49 -0
- abt_core-0.0.1/src/abt/artifacts/models.py +298 -0
- abt_core-0.0.1/src/abt/artifacts/partial_parse.py +648 -0
- abt_core-0.0.1/src/abt/artifacts/prompts.py +181 -0
- abt_core-0.0.1/src/abt/artifacts/run_config.py +72 -0
- abt_core-0.0.1/src/abt/artifacts/selective_local_context_bfs.py +107 -0
- abt_core-0.0.1/src/abt/bench/__init__.py +19 -0
- abt_core-0.0.1/src/abt/bench/baseline.py +130 -0
- abt_core-0.0.1/src/abt/bench/changed.py +94 -0
- abt_core-0.0.1/src/abt/bench/checks.py +46 -0
- abt_core-0.0.1/src/abt/bench/execute.py +153 -0
- abt_core-0.0.1/src/abt/bench/export.py +40 -0
- abt_core-0.0.1/src/abt/bench/loader.py +166 -0
- abt_core-0.0.1/src/abt/bench/models.py +119 -0
- abt_core-0.0.1/src/abt/bench/report.py +602 -0
- abt_core-0.0.1/src/abt/bench/results.py +184 -0
- abt_core-0.0.1/src/abt/bench/run.py +648 -0
- abt_core-0.0.1/src/abt/bench/stats.py +267 -0
- abt_core-0.0.1/src/abt/bootstrap.py +234 -0
- abt_core-0.0.1/src/abt/checkpoint/__init__.py +33 -0
- abt_core-0.0.1/src/abt/checkpoint/backends/__init__.py +1 -0
- abt_core-0.0.1/src/abt/checkpoint/backends/bedrock_agentcore.py +118 -0
- abt_core-0.0.1/src/abt/checkpoint/backends/dynamodb.py +241 -0
- abt_core-0.0.1/src/abt/checkpoint/backends/memory.py +30 -0
- abt_core-0.0.1/src/abt/checkpoint/backends/sqlite.py +62 -0
- abt_core-0.0.1/src/abt/checkpoint/execute_context.py +261 -0
- abt_core-0.0.1/src/abt/checkpoint/protocols.py +41 -0
- abt_core-0.0.1/src/abt/checkpoint/registry.py +204 -0
- abt_core-0.0.1/src/abt/checkpoint/spec.py +145 -0
- abt_core-0.0.1/src/abt/checkpoint/thread_id.py +47 -0
- abt_core-0.0.1/src/abt/cli/__init__.py +101 -0
- abt_core-0.0.1/src/abt/cli/_abt_errors.py +20 -0
- abt_core-0.0.1/src/abt/cli/_flags.py +154 -0
- abt_core-0.0.1/src/abt/cli/_lazy_group.py +86 -0
- abt_core-0.0.1/src/abt/cli/_logging.py +19 -0
- abt_core-0.0.1/src/abt/cli/_options.py +247 -0
- abt_core-0.0.1/src/abt/cli/_render/__init__.py +1 -0
- abt_core-0.0.1/src/abt/cli/_render/discover_render.py +125 -0
- abt_core-0.0.1/src/abt/cli/_render/dry_run_render.py +108 -0
- abt_core-0.0.1/src/abt/cli/_reporter.py +185 -0
- abt_core-0.0.1/src/abt/cli/_routing_preview.py +35 -0
- abt_core-0.0.1/src/abt/cli/_run_common.py +68 -0
- abt_core-0.0.1/src/abt/cli/_scaffold_prompts.py +195 -0
- abt_core-0.0.1/src/abt/cli/_shim.py +134 -0
- abt_core-0.0.1/src/abt/cli/_stateless.py +32 -0
- abt_core-0.0.1/src/abt/cli/_ui.py +113 -0
- abt_core-0.0.1/src/abt/cli/approvals.py +188 -0
- abt_core-0.0.1/src/abt/cli/bench.py +135 -0
- abt_core-0.0.1/src/abt/cli/chat.py +195 -0
- abt_core-0.0.1/src/abt/cli/clean.py +55 -0
- abt_core-0.0.1/src/abt/cli/compile.py +262 -0
- abt_core-0.0.1/src/abt/cli/config.py +160 -0
- abt_core-0.0.1/src/abt/cli/create.py +128 -0
- abt_core-0.0.1/src/abt/cli/debug.py +72 -0
- abt_core-0.0.1/src/abt/cli/deps.py +67 -0
- abt_core-0.0.1/src/abt/cli/discover.py +147 -0
- abt_core-0.0.1/src/abt/cli/dispatch.py +291 -0
- abt_core-0.0.1/src/abt/cli/docs.py +290 -0
- abt_core-0.0.1/src/abt/cli/doctor.py +262 -0
- abt_core-0.0.1/src/abt/cli/graph.py +36 -0
- abt_core-0.0.1/src/abt/cli/init.py +232 -0
- abt_core-0.0.1/src/abt/cli/lint.py +62 -0
- abt_core-0.0.1/src/abt/cli/list.py +286 -0
- abt_core-0.0.1/src/abt/cli/modify.py +119 -0
- abt_core-0.0.1/src/abt/cli/project_root.py +7 -0
- abt_core-0.0.1/src/abt/cli/publish.py +64 -0
- abt_core-0.0.1/src/abt/cli/run.py +272 -0
- abt_core-0.0.1/src/abt/cli/test.py +140 -0
- abt_core-0.0.1/src/abt/cli/watch/__init__.py +26 -0
- abt_core-0.0.1/src/abt/cli/watch/_service.py +222 -0
- abt_core-0.0.1/src/abt/cli/watch/consume.py +322 -0
- abt_core-0.0.1/src/abt/cli/watch/dlq.py +96 -0
- abt_core-0.0.1/src/abt/cli/watch/list.py +77 -0
- abt_core-0.0.1/src/abt/cli/watch/produce.py +140 -0
- abt_core-0.0.1/src/abt/cli/watch/run.py +152 -0
- abt_core-0.0.1/src/abt/commands/__init__.py +22 -0
- abt_core-0.0.1/src/abt/commands/_run_lifecycle.py +218 -0
- abt_core-0.0.1/src/abt/commands/approvals.py +162 -0
- abt_core-0.0.1/src/abt/commands/chat/__init__.py +0 -0
- abt_core-0.0.1/src/abt/commands/chat/session.py +351 -0
- abt_core-0.0.1/src/abt/commands/chat/sources.py +143 -0
- abt_core-0.0.1/src/abt/commands/chat/state.py +188 -0
- abt_core-0.0.1/src/abt/commands/chat/turn.py +144 -0
- abt_core-0.0.1/src/abt/commands/clean.py +387 -0
- abt_core-0.0.1/src/abt/commands/compile.py +272 -0
- abt_core-0.0.1/src/abt/commands/config_show.py +344 -0
- abt_core-0.0.1/src/abt/commands/create.py +76 -0
- abt_core-0.0.1/src/abt/commands/debug.py +215 -0
- abt_core-0.0.1/src/abt/commands/discover.py +252 -0
- abt_core-0.0.1/src/abt/commands/dispatch_flags.py +66 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/__init__.py +19 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/compose_phase.py +323 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/confirmation_wiring.py +80 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/coordinator.py +95 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/exposure_dispatch.py +53 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/node_lifecycle.py +125 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/pause_state.py +125 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/resume.py +313 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/types.py +11 -0
- abt_core-0.0.1/src/abt/commands/dispatch_run/workflow_phase.py +727 -0
- abt_core-0.0.1/src/abt/commands/docs.py +94 -0
- abt_core-0.0.1/src/abt/commands/doctor.py +73 -0
- abt_core-0.0.1/src/abt/commands/dry_run.py +223 -0
- abt_core-0.0.1/src/abt/commands/flags.py +538 -0
- abt_core-0.0.1/src/abt/commands/graph_render.py +637 -0
- abt_core-0.0.1/src/abt/commands/init.py +265 -0
- abt_core-0.0.1/src/abt/commands/init_templates/__init__.py +27 -0
- abt_core-0.0.1/src/abt/commands/init_templates/_common.py +162 -0
- abt_core-0.0.1/src/abt/commands/init_templates/advanced.py +503 -0
- abt_core-0.0.1/src/abt/commands/init_templates/basic.py +93 -0
- abt_core-0.0.1/src/abt/commands/init_templates/intermediate.py +302 -0
- abt_core-0.0.1/src/abt/commands/invocation_prep.py +71 -0
- abt_core-0.0.1/src/abt/commands/lint.py +109 -0
- abt_core-0.0.1/src/abt/commands/list.py +279 -0
- abt_core-0.0.1/src/abt/commands/manifest_file.py +60 -0
- abt_core-0.0.1/src/abt/commands/modify.py +61 -0
- abt_core-0.0.1/src/abt/commands/package_template.py +53 -0
- abt_core-0.0.1/src/abt/commands/provider_scaffold.py +107 -0
- abt_core-0.0.1/src/abt/commands/publish.py +326 -0
- abt_core-0.0.1/src/abt/commands/routing.py +243 -0
- abt_core-0.0.1/src/abt/commands/run.py +232 -0
- abt_core-0.0.1/src/abt/commands/scaffold/__init__.py +36 -0
- abt_core-0.0.1/src/abt/commands/scaffold/edits.py +46 -0
- abt_core-0.0.1/src/abt/commands/scaffold/engine.py +485 -0
- abt_core-0.0.1/src/abt/commands/scaffold/layout_spec.md +298 -0
- abt_core-0.0.1/src/abt/commands/scaffold/model.py +150 -0
- abt_core-0.0.1/src/abt/commands/scaffold/plan.py +246 -0
- abt_core-0.0.1/src/abt/commands/scaffold/providers_spec.md +28 -0
- abt_core-0.0.1/src/abt/commands/scaffold/spec.py +234 -0
- abt_core-0.0.1/src/abt/commands/scaffold/stage.py +321 -0
- abt_core-0.0.1/src/abt/commands/scaffold/tools.py +186 -0
- abt_core-0.0.1/src/abt/commands/show_request.py +300 -0
- abt_core-0.0.1/src/abt/commands/stateless_guard.py +153 -0
- abt_core-0.0.1/src/abt/commands/test.py +108 -0
- abt_core-0.0.1/src/abt/context/__init__.py +61 -0
- abt_core-0.0.1/src/abt/context/builtin_providers.py +31 -0
- abt_core-0.0.1/src/abt/context/io_config_template.py +320 -0
- abt_core-0.0.1/src/abt/context/jinja_refs.py +360 -0
- abt_core-0.0.1/src/abt/context/namespace.py +577 -0
- abt_core-0.0.1/src/abt/context/providers/__init__.py +1 -0
- abt_core-0.0.1/src/abt/context/providers/s3.py +45 -0
- abt_core-0.0.1/src/abt/context/refs.py +18 -0
- abt_core-0.0.1/src/abt/context/registry.py +91 -0
- abt_core-0.0.1/src/abt/context/resolver.py +215 -0
- abt_core-0.0.1/src/abt/contracts/__init__.py +122 -0
- abt_core-0.0.1/src/abt/contracts/bench.py +62 -0
- abt_core-0.0.1/src/abt/contracts/confirmation.py +97 -0
- abt_core-0.0.1/src/abt/contracts/credentials.py +46 -0
- abt_core-0.0.1/src/abt/contracts/events.py +291 -0
- abt_core-0.0.1/src/abt/contracts/flags.py +87 -0
- abt_core-0.0.1/src/abt/contracts/handlers.py +128 -0
- abt_core-0.0.1/src/abt/contracts/protocols.py +144 -0
- abt_core-0.0.1/src/abt/contracts/registry.py +358 -0
- abt_core-0.0.1/src/abt/contracts/sinks.py +146 -0
- abt_core-0.0.1/src/abt/contracts/steering.py +223 -0
- abt_core-0.0.1/src/abt/contracts/tools.py +255 -0
- abt_core-0.0.1/src/abt/contracts/types.py +182 -0
- abt_core-0.0.1/src/abt/contracts/workspace.py +60 -0
- abt_core-0.0.1/src/abt/core/__init__.py +28 -0
- abt_core-0.0.1/src/abt/core/components/__init__.py +44 -0
- abt_core-0.0.1/src/abt/core/components/artifact_writer.py +263 -0
- abt_core-0.0.1/src/abt/core/components/dependency_executor.py +117 -0
- abt_core-0.0.1/src/abt/core/components/output_schema_step.py +68 -0
- abt_core-0.0.1/src/abt/core/components/policies.py +74 -0
- abt_core-0.0.1/src/abt/core/components/retriever_executor.py +38 -0
- abt_core-0.0.1/src/abt/core/components/run_logger.py +61 -0
- abt_core-0.0.1/src/abt/core/components/stream_processor.py +520 -0
- abt_core-0.0.1/src/abt/core/components/types.py +19 -0
- abt_core-0.0.1/src/abt/core/components/workspace_manager.py +76 -0
- abt_core-0.0.1/src/abt/core/components/workspace_phase.py +258 -0
- abt_core-0.0.1/src/abt/core/compose.py +436 -0
- abt_core-0.0.1/src/abt/core/handlers/api.py +113 -0
- abt_core-0.0.1/src/abt/core/handlers/builtins.py +229 -0
- abt_core-0.0.1/src/abt/core/handlers/context.py +149 -0
- abt_core-0.0.1/src/abt/core/handlers/discovery.py +160 -0
- abt_core-0.0.1/src/abt/core/handlers/dispatcher.py +257 -0
- abt_core-0.0.1/src/abt/core/handlers/kwargs.py +150 -0
- abt_core-0.0.1/src/abt/core/handlers/manifest_build.py +140 -0
- abt_core-0.0.1/src/abt/core/handlers/merge.py +44 -0
- abt_core-0.0.1/src/abt/core/handlers/records.py +38 -0
- abt_core-0.0.1/src/abt/core/handlers/refs.py +88 -0
- abt_core-0.0.1/src/abt/core/handlers/registry.py +138 -0
- abt_core-0.0.1/src/abt/core/handlers/resolve.py +55 -0
- abt_core-0.0.1/src/abt/core/handlers/runtime.py +354 -0
- abt_core-0.0.1/src/abt/core/orchestrator/__init__.py +24 -0
- abt_core-0.0.1/src/abt/core/orchestrator/_shared.py +7 -0
- abt_core-0.0.1/src/abt/core/orchestrator/agent_run.py +266 -0
- abt_core-0.0.1/src/abt/core/orchestrator/coordinator.py +71 -0
- abt_core-0.0.1/src/abt/core/orchestrator/guardrails.py +66 -0
- abt_core-0.0.1/src/abt/core/orchestrator/handler_dispatch.py +106 -0
- abt_core-0.0.1/src/abt/core/orchestrator/head_execution.py +337 -0
- abt_core-0.0.1/src/abt/core/orchestrator/resume_builder.py +68 -0
- abt_core-0.0.1/src/abt/core/orchestrator/workflow_executor/__init__.py +118 -0
- abt_core-0.0.1/src/abt/core/orchestrator/workflow_executor/execute.py +524 -0
- abt_core-0.0.1/src/abt/core/orchestrator/workflow_executor/graph.py +164 -0
- abt_core-0.0.1/src/abt/core/orchestrator/workflow_executor/scheduling.py +114 -0
- abt_core-0.0.1/src/abt/core/orchestrator/workflow_executor/state_machine.py +313 -0
- abt_core-0.0.1/src/abt/core/orchestrator/workflow_executor/static_classification.py +279 -0
- abt_core-0.0.1/src/abt/docs/__init__.py +18 -0
- abt_core-0.0.1/src/abt/docs/collector.py +744 -0
- abt_core-0.0.1/src/abt/docs/generate.py +103 -0
- abt_core-0.0.1/src/abt/docs/renderer.py +23 -0
- abt_core-0.0.1/src/abt/doctor/__init__.py +22 -0
- abt_core-0.0.1/src/abt/doctor/baseline.py +44 -0
- abt_core-0.0.1/src/abt/doctor/engine.py +127 -0
- abt_core-0.0.1/src/abt/doctor/extended_rules.py +454 -0
- abt_core-0.0.1/src/abt/doctor/filters.py +24 -0
- abt_core-0.0.1/src/abt/doctor/llm_rules.py +250 -0
- abt_core-0.0.1/src/abt/doctor/models.py +98 -0
- abt_core-0.0.1/src/abt/doctor/registry.py +86 -0
- abt_core-0.0.1/src/abt/doctor/reporter.py +124 -0
- abt_core-0.0.1/src/abt/doctor/resource_types.py +89 -0
- abt_core-0.0.1/src/abt/doctor/rules.py +340 -0
- abt_core-0.0.1/src/abt/doctor/static_rules.py +55 -0
- abt_core-0.0.1/src/abt/doctor/suppression.py +67 -0
- abt_core-0.0.1/src/abt/evaluation/__init__.py +4 -0
- abt_core-0.0.1/src/abt/evaluation/checks.py +205 -0
- abt_core-0.0.1/src/abt/evaluation/judge.py +131 -0
- abt_core-0.0.1/src/abt/evaluation/judge_model_pool.py +35 -0
- abt_core-0.0.1/src/abt/evaluation/models.py +143 -0
- abt_core-0.0.1/src/abt/exceptions.py +195 -0
- abt_core-0.0.1/src/abt/exposures/__init__.py +110 -0
- abt_core-0.0.1/src/abt/exposures/dispatcher.py +319 -0
- abt_core-0.0.1/src/abt/exposures/firing.py +169 -0
- abt_core-0.0.1/src/abt/include/__init__.py +5 -0
- abt_core-0.0.1/src/abt/include/profile_templates/__init__.py +1 -0
- abt_core-0.0.1/src/abt/include/profile_templates/anthropic.yaml +9 -0
- abt_core-0.0.1/src/abt/include/profile_templates/bedrock.yaml +13 -0
- abt_core-0.0.1/src/abt/include/profile_templates/openai.yaml +9 -0
- abt_core-0.0.1/src/abt/infra/__init__.py +5 -0
- abt_core-0.0.1/src/abt/infra/_middleware_bridge.py +120 -0
- abt_core-0.0.1/src/abt/infra/approvals/__init__.py +40 -0
- abt_core-0.0.1/src/abt/infra/approvals/authorization.py +24 -0
- abt_core-0.0.1/src/abt/infra/approvals/bypass.py +61 -0
- abt_core-0.0.1/src/abt/infra/approvals/dynamodb_store.py +780 -0
- abt_core-0.0.1/src/abt/infra/approvals/external_approval.py +561 -0
- abt_core-0.0.1/src/abt/infra/approvals/gate.py +367 -0
- abt_core-0.0.1/src/abt/infra/approvals/gate_factory.py +291 -0
- abt_core-0.0.1/src/abt/infra/approvals/models.py +228 -0
- abt_core-0.0.1/src/abt/infra/approvals/registry.py +175 -0
- abt_core-0.0.1/src/abt/infra/approvals/resolve_interactive.py +113 -0
- abt_core-0.0.1/src/abt/infra/approvals/resource.py +326 -0
- abt_core-0.0.1/src/abt/infra/approvals/resume/__init__.py +48 -0
- abt_core-0.0.1/src/abt/infra/approvals/resume/drift.py +165 -0
- abt_core-0.0.1/src/abt/infra/approvals/resume/finalize.py +262 -0
- abt_core-0.0.1/src/abt/infra/approvals/resume/orchestrator.py +386 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/__init__.py +46 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/helpers.py +88 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/memory_store.py +205 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/protocols.py +191 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/providers.py +172 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/sqlite_approvals_crud.py +175 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/sqlite_audit_queue.py +122 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/sqlite_connection.py +64 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/sqlite_schema.py +64 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/sqlite_store.py +32 -0
- abt_core-0.0.1/src/abt/infra/approvals/store/sqlite_thread_leases.py +71 -0
- abt_core-0.0.1/src/abt/infra/approvals/thread_id.py +53 -0
- abt_core-0.0.1/src/abt/infra/approvals/tool_args.py +60 -0
- abt_core-0.0.1/src/abt/infra/cli_logging.py +475 -0
- abt_core-0.0.1/src/abt/infra/code_interpreter.py +194 -0
- abt_core-0.0.1/src/abt/infra/collapse.py +69 -0
- abt_core-0.0.1/src/abt/infra/compaction.py +287 -0
- abt_core-0.0.1/src/abt/infra/concurrency.py +167 -0
- abt_core-0.0.1/src/abt/infra/config/__init__.py +1 -0
- abt_core-0.0.1/src/abt/infra/config/config_models.py +39 -0
- abt_core-0.0.1/src/abt/infra/config/rule_ids.py +30 -0
- abt_core-0.0.1/src/abt/infra/config/settings.py +233 -0
- abt_core-0.0.1/src/abt/infra/debug_log.py +63 -0
- abt_core-0.0.1/src/abt/infra/env.py +95 -0
- abt_core-0.0.1/src/abt/infra/exception_root_cause.py +98 -0
- abt_core-0.0.1/src/abt/infra/extras.py +45 -0
- abt_core-0.0.1/src/abt/infra/graph.py +27 -0
- abt_core-0.0.1/src/abt/infra/guardrail_telemetry.py +38 -0
- abt_core-0.0.1/src/abt/infra/http_redirect.py +75 -0
- abt_core-0.0.1/src/abt/infra/ignore.py +56 -0
- abt_core-0.0.1/src/abt/infra/io/__init__.py +1 -0
- abt_core-0.0.1/src/abt/infra/io/atomic_write.py +142 -0
- abt_core-0.0.1/src/abt/infra/io/path_resolution.py +39 -0
- abt_core-0.0.1/src/abt/infra/io/path_sanitize.py +31 -0
- abt_core-0.0.1/src/abt/infra/io/private_dir.py +49 -0
- abt_core-0.0.1/src/abt/infra/io/private_files.py +81 -0
- abt_core-0.0.1/src/abt/infra/io/repo_lock.py +125 -0
- abt_core-0.0.1/src/abt/infra/io/workspace.py +425 -0
- abt_core-0.0.1/src/abt/infra/llm/__init__.py +1 -0
- abt_core-0.0.1/src/abt/infra/llm/constants.py +23 -0
- abt_core-0.0.1/src/abt/infra/llm/image_support.py +154 -0
- abt_core-0.0.1/src/abt/infra/llm/llm_helpers.py +42 -0
- abt_core-0.0.1/src/abt/infra/llm/logging_callback.py +223 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_detection/__init__.py +54 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_detection/config.py +270 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_detection/detectors.py +456 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_detection/message_parsing.py +181 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_detection/middleware.py +317 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_detection_handlers.py +492 -0
- abt_core-0.0.1/src/abt/infra/llm/loop_reflection.py +160 -0
- abt_core-0.0.1/src/abt/infra/llm/model_rate_limit.py +152 -0
- abt_core-0.0.1/src/abt/infra/llm/model_request_recorder.py +149 -0
- abt_core-0.0.1/src/abt/infra/llm/progress_tracker.py +160 -0
- abt_core-0.0.1/src/abt/infra/llm/prompt_builder.py +120 -0
- abt_core-0.0.1/src/abt/infra/llm/run_stop.py +133 -0
- abt_core-0.0.1/src/abt/infra/llm/run_timeout_middleware.py +221 -0
- abt_core-0.0.1/src/abt/infra/llm/steering_middleware.py +103 -0
- abt_core-0.0.1/src/abt/infra/llm/structured_output_arg_repair.py +250 -0
- abt_core-0.0.1/src/abt/infra/llm/structured_output_guard.py +105 -0
- abt_core-0.0.1/src/abt/infra/llm/structured_output_repair.py +100 -0
- abt_core-0.0.1/src/abt/infra/llm/subagent_stop_notice.py +53 -0
- abt_core-0.0.1/src/abt/infra/llm/synthesis.py +192 -0
- abt_core-0.0.1/src/abt/infra/llm/token_budget_middleware.py +389 -0
- abt_core-0.0.1/src/abt/infra/llm/tool_call_limit.py +292 -0
- abt_core-0.0.1/src/abt/infra/llm/tool_error_unwrap.py +198 -0
- abt_core-0.0.1/src/abt/infra/llm/tool_message_repair.py +183 -0
- abt_core-0.0.1/src/abt/infra/llm/tool_name_repair.py +135 -0
- abt_core-0.0.1/src/abt/infra/llm/tool_result_cache.py +154 -0
- abt_core-0.0.1/src/abt/infra/llm/tool_retry.py +153 -0
- abt_core-0.0.1/src/abt/infra/llm/usage_tokens.py +88 -0
- abt_core-0.0.1/src/abt/infra/llm/write_todos_repair.py +74 -0
- abt_core-0.0.1/src/abt/infra/module_loader.py +81 -0
- abt_core-0.0.1/src/abt/infra/observability/__init__.py +58 -0
- abt_core-0.0.1/src/abt/infra/observability/braintrust_callbacks.py +166 -0
- abt_core-0.0.1/src/abt/infra/observability/config.py +40 -0
- abt_core-0.0.1/src/abt/infra/observability/event_bridge.py +106 -0
- abt_core-0.0.1/src/abt/infra/observability/hooks.py +233 -0
- abt_core-0.0.1/src/abt/infra/observability/langchain_callbacks.py +108 -0
- abt_core-0.0.1/src/abt/infra/observability/metrics.py +144 -0
- abt_core-0.0.1/src/abt/infra/observability/otel.py +136 -0
- abt_core-0.0.1/src/abt/infra/redaction.py +337 -0
- abt_core-0.0.1/src/abt/infra/rubric.py +177 -0
- abt_core-0.0.1/src/abt/infra/run_identity.py +103 -0
- abt_core-0.0.1/src/abt/infra/run_sync.py +19 -0
- abt_core-0.0.1/src/abt/infra/slack_filter_validation.py +116 -0
- abt_core-0.0.1/src/abt/infra/stateless_run.py +155 -0
- abt_core-0.0.1/src/abt/infra/stream_adapter.py +591 -0
- abt_core-0.0.1/src/abt/infra/subprocess_policy.py +134 -0
- abt_core-0.0.1/src/abt/infra/suggest.py +12 -0
- abt_core-0.0.1/src/abt/infra/terminal_style.py +35 -0
- abt_core-0.0.1/src/abt/infra/token_estimator.py +50 -0
- abt_core-0.0.1/src/abt/infra/token_usage_format.py +6 -0
- abt_core-0.0.1/src/abt/infra/tool_call_artifacts.py +230 -0
- abt_core-0.0.1/src/abt/infra/tool_runtime.py +47 -0
- abt_core-0.0.1/src/abt/infra/yaml/__init__.py +1 -0
- abt_core-0.0.1/src/abt/infra/yaml/dump.py +39 -0
- abt_core-0.0.1/src/abt/infra/yaml/frontmatter.py +120 -0
- abt_core-0.0.1/src/abt/infra/yaml/resource_discovery.py +84 -0
- abt_core-0.0.1/src/abt/infra/yaml/yaml_helpers.py +96 -0
- abt_core-0.0.1/src/abt/integrations/__init__.py +1 -0
- abt_core-0.0.1/src/abt/integrations/_credentials.py +31 -0
- abt_core-0.0.1/src/abt/integrations/_resilience.py +170 -0
- abt_core-0.0.1/src/abt/integrations/_subprocess_env.py +158 -0
- abt_core-0.0.1/src/abt/integrations/_timeout.py +39 -0
- abt_core-0.0.1/src/abt/integrations/atlassian/__init__.py +13 -0
- abt_core-0.0.1/src/abt/integrations/atlassian/client.py +96 -0
- abt_core-0.0.1/src/abt/integrations/atlassian/jira_write.py +140 -0
- abt_core-0.0.1/src/abt/integrations/atlassian/markdown.py +224 -0
- abt_core-0.0.1/src/abt/integrations/atlassian/search.py +590 -0
- abt_core-0.0.1/src/abt/integrations/databricks/__init__.py +93 -0
- abt_core-0.0.1/src/abt/integrations/databricks/client.py +230 -0
- abt_core-0.0.1/src/abt/integrations/databricks/clusters.py +106 -0
- abt_core-0.0.1/src/abt/integrations/databricks/genie.py +341 -0
- abt_core-0.0.1/src/abt/integrations/databricks/jobs.py +535 -0
- abt_core-0.0.1/src/abt/integrations/databricks/notebooks.py +384 -0
- abt_core-0.0.1/src/abt/integrations/databricks/permissions.py +103 -0
- abt_core-0.0.1/src/abt/integrations/databricks/pipelines.py +108 -0
- abt_core-0.0.1/src/abt/integrations/databricks/queries.py +264 -0
- abt_core-0.0.1/src/abt/integrations/databricks/statements.py +175 -0
- abt_core-0.0.1/src/abt/integrations/databricks/utils.py +325 -0
- abt_core-0.0.1/src/abt/integrations/databricks/warehouses.py +96 -0
- abt_core-0.0.1/src/abt/integrations/slack/__init__.py +16 -0
- abt_core-0.0.1/src/abt/integrations/slack/channel_digest.py +215 -0
- abt_core-0.0.1/src/abt/integrations/slack/client.py +131 -0
- abt_core-0.0.1/src/abt/integrations/slack/history.py +84 -0
- abt_core-0.0.1/src/abt/integrations/slack/post.py +57 -0
- abt_core-0.0.1/src/abt/integrations/slack/refs.py +113 -0
- abt_core-0.0.1/src/abt/integrations/slack/search.py +395 -0
- abt_core-0.0.1/src/abt/integrations/slack/thread.py +385 -0
- abt_core-0.0.1/src/abt/io_gating.py +49 -0
- abt_core-0.0.1/src/abt/io_models.py +21 -0
- abt_core-0.0.1/src/abt/isolation.py +86 -0
- abt_core-0.0.1/src/abt/llm_providers.py +467 -0
- abt_core-0.0.1/src/abt/log.py +111 -0
- abt_core-0.0.1/src/abt/loom/__init__.py +13 -0
- abt_core-0.0.1/src/abt/loom/invoke_protocol.py +42 -0
- abt_core-0.0.1/src/abt/loom/loaders.py +84 -0
- abt_core-0.0.1/src/abt/loom/remote_tool.py +210 -0
- abt_core-0.0.1/src/abt/loom/resolver.py +257 -0
- abt_core-0.0.1/src/abt/loom/schema.py +102 -0
- abt_core-0.0.1/src/abt/manifest_agent_filters.py +22 -0
- abt_core-0.0.1/src/abt/mcps/__init__.py +8 -0
- abt_core-0.0.1/src/abt/mcps/adapter.py +194 -0
- abt_core-0.0.1/src/abt/mcps/discovery.py +129 -0
- abt_core-0.0.1/src/abt/mcps/error_policy.py +67 -0
- abt_core-0.0.1/src/abt/mcps/interceptors.py +114 -0
- abt_core-0.0.1/src/abt/mcps/json_loader.py +223 -0
- abt_core-0.0.1/src/abt/mcps/registry.py +529 -0
- abt_core-0.0.1/src/abt/mcps/tool_loader.py +240 -0
- abt_core-0.0.1/src/abt/middleware/__init__.py +24 -0
- abt_core-0.0.1/src/abt/middleware/builtins.py +415 -0
- abt_core-0.0.1/src/abt/middleware/decorator.py +80 -0
- abt_core-0.0.1/src/abt/middleware/registry.py +249 -0
- abt_core-0.0.1/src/abt/middleware/resolver.py +124 -0
- abt_core-0.0.1/src/abt/output/__init__.py +29 -0
- abt_core-0.0.1/src/abt/output/progress.py +194 -0
- abt_core-0.0.1/src/abt/output/sink.py +517 -0
- abt_core-0.0.1/src/abt/packages/__init__.py +19 -0
- abt_core-0.0.1/src/abt/packages/_isolated_worker.py +90 -0
- abt_core-0.0.1/src/abt/packages/catalog.py +164 -0
- abt_core-0.0.1/src/abt/packages/cli_runner.py +90 -0
- abt_core-0.0.1/src/abt/packages/config.py +218 -0
- abt_core-0.0.1/src/abt/packages/discovery.py +154 -0
- abt_core-0.0.1/src/abt/packages/errors.py +54 -0
- abt_core-0.0.1/src/abt/packages/expander.py +189 -0
- abt_core-0.0.1/src/abt/packages/install.py +567 -0
- abt_core-0.0.1/src/abt/packages/isolated_tools.py +183 -0
- abt_core-0.0.1/src/abt/packages/lockfile.py +102 -0
- abt_core-0.0.1/src/abt/packages/spec.py +183 -0
- abt_core-0.0.1/src/abt/packages/tool_exec.py +988 -0
- abt_core-0.0.1/src/abt/packages/tool_executors.py +338 -0
- abt_core-0.0.1/src/abt/packages/tool_output.py +179 -0
- abt_core-0.0.1/src/abt/packages/tool_runtime.py +25 -0
- abt_core-0.0.1/src/abt/packages/tool_specs.py +64 -0
- abt_core-0.0.1/src/abt/packages/tooling_docs.py +116 -0
- abt_core-0.0.1/src/abt/packages/validation.py +67 -0
- abt_core-0.0.1/src/abt/packages/workspace_routes.py +85 -0
- abt_core-0.0.1/src/abt/profiles/__init__.py +116 -0
- abt_core-0.0.1/src/abt/profiles/_context.py +42 -0
- abt_core-0.0.1/src/abt/profiles/env_loader.py +101 -0
- abt_core-0.0.1/src/abt/profiles/loader.py +153 -0
- abt_core-0.0.1/src/abt/profiles/models.py +126 -0
- abt_core-0.0.1/src/abt/profiles/publisher.py +21 -0
- abt_core-0.0.1/src/abt/profiles/resolver.py +176 -0
- abt_core-0.0.1/src/abt/project/__init__.py +62 -0
- abt_core-0.0.1/src/abt/project/artifacts.py +111 -0
- abt_core-0.0.1/src/abt/project/config.py +441 -0
- abt_core-0.0.1/src/abt/project/context.py +216 -0
- abt_core-0.0.1/src/abt/project/yaml_io.py +179 -0
- abt_core-0.0.1/src/abt/project_root.py +63 -0
- abt_core-0.0.1/src/abt/publish/__init__.py +14 -0
- abt_core-0.0.1/src/abt/publish/config.py +26 -0
- abt_core-0.0.1/src/abt/publish/strip.py +70 -0
- abt_core-0.0.1/src/abt/publish/uploaders.py +66 -0
- abt_core-0.0.1/src/abt/py.typed +0 -0
- abt_core-0.0.1/src/abt/retrievers/__init__.py +25 -0
- abt_core-0.0.1/src/abt/retrievers/builtin_providers.py +224 -0
- abt_core-0.0.1/src/abt/retrievers/discovery.py +122 -0
- abt_core-0.0.1/src/abt/retrievers/prompt_transform.py +342 -0
- abt_core-0.0.1/src/abt/retrievers/registry.py +88 -0
- abt_core-0.0.1/src/abt/runner/__init__.py +47 -0
- abt_core-0.0.1/src/abt/runner/_dry_run_plan.py +50 -0
- abt_core-0.0.1/src/abt/runner/cli_args.py +236 -0
- abt_core-0.0.1/src/abt/runner/core.py +618 -0
- abt_core-0.0.1/src/abt/runner/option_spec.py +347 -0
- abt_core-0.0.1/src/abt/runner/preparation.py +249 -0
- abt_core-0.0.1/src/abt/runner/stateless_prep.py +67 -0
- abt_core-0.0.1/src/abt/runtime/__init__.py +97 -0
- abt_core-0.0.1/src/abt/runtime/agent_backend.py +176 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/__init__.py +14 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/agent_config.py +331 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/background_subagent.py +14 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/background_subagent_middleware.py +546 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/budget_resolver.py +79 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/builder.py +206 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/delegation_graph.py +379 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/feature_settings.py +170 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/timeout_resolver.py +56 -0
- abt_core-0.0.1/src/abt/runtime/agent_build/types.py +7 -0
- abt_core-0.0.1/src/abt/runtime/agent_definitions.py +154 -0
- abt_core-0.0.1/src/abt/runtime/agent_factory.py +971 -0
- abt_core-0.0.1/src/abt/runtime/agent_node.py +292 -0
- abt_core-0.0.1/src/abt/runtime/agent_spec.py +540 -0
- abt_core-0.0.1/src/abt/runtime/base.py +124 -0
- abt_core-0.0.1/src/abt/runtime/config.py +58 -0
- abt_core-0.0.1/src/abt/runtime/config_scanner.py +171 -0
- abt_core-0.0.1/src/abt/runtime/confirmation_settings.py +121 -0
- abt_core-0.0.1/src/abt/runtime/contract_resolver.py +169 -0
- abt_core-0.0.1/src/abt/runtime/effective_config.py +537 -0
- abt_core-0.0.1/src/abt/runtime/few_shot_parser.py +203 -0
- abt_core-0.0.1/src/abt/runtime/jinja_rendering.py +159 -0
- abt_core-0.0.1/src/abt/runtime/middleware_builder.py +151 -0
- abt_core-0.0.1/src/abt/runtime/output_schema.py +63 -0
- abt_core-0.0.1/src/abt/runtime/project_runtime.py +114 -0
- abt_core-0.0.1/src/abt/runtime/recursion_floor.py +313 -0
- abt_core-0.0.1/src/abt/runtime/registry.py +98 -0
- abt_core-0.0.1/src/abt/runtime/route_schema.py +6 -0
- abt_core-0.0.1/src/abt/runtime/routing_common.py +75 -0
- abt_core-0.0.1/src/abt/runtime/state.py +48 -0
- abt_core-0.0.1/src/abt/runtime/task_recursion_wrapper.py +215 -0
- abt_core-0.0.1/src/abt/runtime/tool_registry.py +325 -0
- abt_core-0.0.1/src/abt/runtime/tool_runtime_middleware.py +138 -0
- abt_core-0.0.1/src/abt/runtime/tool_runtime_settings.py +89 -0
- abt_core-0.0.1/src/abt/runtime/tool_stubs.py +86 -0
- abt_core-0.0.1/src/abt/runtime/tooling_resolver.py +251 -0
- abt_core-0.0.1/src/abt/runtime_context.py +211 -0
- abt_core-0.0.1/src/abt/sdk/__init__.py +111 -0
- abt_core-0.0.1/src/abt/sdk/agents.py +17 -0
- abt_core-0.0.1/src/abt/sdk/handlers.py +148 -0
- abt_core-0.0.1/src/abt/sdk/operations.py +406 -0
- abt_core-0.0.1/src/abt/sdk/reporting.py +133 -0
- abt_core-0.0.1/src/abt/sdk/watch.py +395 -0
- abt_core-0.0.1/src/abt/secrets.py +113 -0
- abt_core-0.0.1/src/abt/selector.py +256 -0
- abt_core-0.0.1/src/abt/serve/__init__.py +8 -0
- abt_core-0.0.1/src/abt/serve/app.py +17 -0
- abt_core-0.0.1/src/abt/serve/confirmation_gate.py +70 -0
- abt_core-0.0.1/src/abt/serve/conversation_store.py +170 -0
- abt_core-0.0.1/src/abt/serve/routes.py +983 -0
- abt_core-0.0.1/src/abt/serve/sse_sink.py +81 -0
- abt_core-0.0.1/src/abt/site/__init__.py +97 -0
- abt_core-0.0.1/src/abt/site/dist/app.js +917 -0
- abt_core-0.0.1/src/abt/site/document.html +345 -0
- abt_core-0.0.1/src/abt/site/fonts.css +15 -0
- abt_core-0.0.1/src/abt/site/js/01-data.js +25 -0
- abt_core-0.0.1/src/abt/site/js/02-utils.js +233 -0
- abt_core-0.0.1/src/abt/site/js/03-agents-workflows-render.js +693 -0
- abt_core-0.0.1/src/abt/site/js/04-router.js +112 -0
- abt_core-0.0.1/src/abt/site/js/05-graph.js +206 -0
- abt_core-0.0.1/src/abt/site/js/06-catalog-sidebars.js +217 -0
- abt_core-0.0.1/src/abt/site/js/07-tabs-catalogues.js +622 -0
- abt_core-0.0.1/src/abt/site/js/08-overview.js +27 -0
- abt_core-0.0.1/src/abt/site/js/09-theme.js +48 -0
- abt_core-0.0.1/src/abt/site/js/10-palette.js +86 -0
- abt_core-0.0.1/src/abt/site/js/11-chat.js +673 -0
- abt_core-0.0.1/src/abt/site/js/12-boot.js +24 -0
- abt_core-0.0.1/src/abt/site/js/graph/detail-panel.js +217 -0
- abt_core-0.0.1/src/abt/site/js/graph/elements.js +347 -0
- abt_core-0.0.1/src/abt/site/js/graph/filter.js +158 -0
- abt_core-0.0.1/src/abt/site/js/graph/layers.js +58 -0
- abt_core-0.0.1/src/abt/site/js/graph/layout.js +183 -0
- abt_core-0.0.1/src/abt/site/js/graph/palette.js +86 -0
- abt_core-0.0.1/src/abt/site/js/graph/selector.js +78 -0
- abt_core-0.0.1/src/abt/site/js/graph/state.js +5 -0
- abt_core-0.0.1/src/abt/site/js/graph/style.js +107 -0
- abt_core-0.0.1/src/abt/site/js/graph/theme.js +24 -0
- abt_core-0.0.1/src/abt/site/js/graph/viewport.js +70 -0
- abt_core-0.0.1/src/abt/site/js/graph/workflow-picker.js +164 -0
- abt_core-0.0.1/src/abt/site/js/main.js +14 -0
- abt_core-0.0.1/src/abt/site/js/vendor.js +39 -0
- abt_core-0.0.1/src/abt/site/package-lock.json +1486 -0
- abt_core-0.0.1/src/abt/site/package.json +30 -0
- abt_core-0.0.1/src/abt/site/styles.css +2978 -0
- abt_core-0.0.1/src/abt/site/vite.config.js +25 -0
- abt_core-0.0.1/src/abt/skills/__init__.py +25 -0
- abt_core-0.0.1/src/abt/skills/backend.py +45 -0
- abt_core-0.0.1/src/abt/skills/paths.py +222 -0
- abt_core-0.0.1/src/abt/skills/refs.py +88 -0
- abt_core-0.0.1/src/abt/skills/remote_fetch.py +202 -0
- abt_core-0.0.1/src/abt/skills/vanilla_middleware.py +186 -0
- abt_core-0.0.1/src/abt/sources/__init__.py +354 -0
- abt_core-0.0.1/src/abt/sources/callable.py +24 -0
- abt_core-0.0.1/src/abt/sources/registry.py +159 -0
- abt_core-0.0.1/src/abt/template_vars.py +24 -0
- abt_core-0.0.1/src/abt/testing/__init__.py +14 -0
- abt_core-0.0.1/src/abt/testing/checks.py +65 -0
- abt_core-0.0.1/src/abt/testing/judge_record.py +21 -0
- abt_core-0.0.1/src/abt/testing/loader.py +186 -0
- abt_core-0.0.1/src/abt/testing/models.py +125 -0
- abt_core-0.0.1/src/abt/testing/reporter.py +67 -0
- abt_core-0.0.1/src/abt/testing/runner.py +364 -0
- abt_core-0.0.1/src/abt/testing/schema_loader.py +72 -0
- abt_core-0.0.1/src/abt/testing/schema_models.py +113 -0
- abt_core-0.0.1/src/abt/testing/singular/__init__.py +31 -0
- abt_core-0.0.1/src/abt/testing/singular/comparison.py +106 -0
- abt_core-0.0.1/src/abt/testing/singular/conversation.py +102 -0
- abt_core-0.0.1/src/abt/testing/singular/models.py +121 -0
- abt_core-0.0.1/src/abt/tools.py +42 -0
- abt_core-0.0.1/src/abt/transformers/__init__.py +22 -0
- abt_core-0.0.1/src/abt/transformers/builtin_providers.py +267 -0
- abt_core-0.0.1/src/abt/transformers/discovery.py +108 -0
- abt_core-0.0.1/src/abt/transformers/logging.py +27 -0
- abt_core-0.0.1/src/abt/transformers/registry.py +113 -0
- abt_core-0.0.1/src/abt/triggers/__init__.py +111 -0
- abt_core-0.0.1/src/abt/watch/__init__.py +3 -0
- abt_core-0.0.1/src/abt/watch/_health.py +52 -0
- abt_core-0.0.1/src/abt/watch/builders.py +154 -0
- abt_core-0.0.1/src/abt/watch/dispatcher.py +569 -0
- abt_core-0.0.1/src/abt/watch/http_app.py +307 -0
- abt_core-0.0.1/src/abt/watch/invoke.py +767 -0
- abt_core-0.0.1/src/abt/watch/invoke_config.py +39 -0
- abt_core-0.0.1/src/abt/watch/leader.py +248 -0
- abt_core-0.0.1/src/abt/watch/models.py +275 -0
- abt_core-0.0.1/src/abt/watch/queue.py +998 -0
- abt_core-0.0.1/src/abt/watch/run_store.py +448 -0
- abt_core-0.0.1/src/abt/watch/runner.py +800 -0
- abt_core-0.0.1/src/abt/watch/sources/__init__.py +3 -0
- abt_core-0.0.1/src/abt/watch/sources/_backoff.py +18 -0
- abt_core-0.0.1/src/abt/watch/sources/_slack_hub.py +160 -0
- abt_core-0.0.1/src/abt/watch/sources/_slack_progress.py +405 -0
- abt_core-0.0.1/src/abt/watch/sources/base.py +45 -0
- abt_core-0.0.1/src/abt/watch/sources/cron.py +148 -0
- abt_core-0.0.1/src/abt/watch/sources/github.py +274 -0
- abt_core-0.0.1/src/abt/watch/sources/jira.py +377 -0
- abt_core-0.0.1/src/abt/watch/sources/slack.py +700 -0
- abt_core-0.0.1/src/abt/watch/steering_relay.py +299 -0
- abt_core-0.0.1/src/abt/watch/worker.py +794 -0
- abt_core-0.0.1/src/abt/workflows/__init__.py +587 -0
- abt_core-0.0.1/src/abt/workflows/desugar.py +155 -0
- abt_core-0.0.1/src/abt/workflows/schema.py +114 -0
abt_core-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 GetYourGuide GmbH
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
abt_core-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: abt-core
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Declarative markdown-driven agent framework with pluggable tools and MCP integrations
|
|
5
|
+
Keywords: agents,llm,langgraph,markdown,yaml,workflows,cli
|
|
6
|
+
Author: GetYourGuide
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Typing :: Typed
|
|
15
|
+
Requires-Dist: deepagents>=0.7.35,<0.8
|
|
16
|
+
Requires-Dist: langgraph>=1.2.11,<2
|
|
17
|
+
Requires-Dist: langchain[mcp]>=1.5.0,<2
|
|
18
|
+
Requires-Dist: langchain-core>=1.8.0,<2
|
|
19
|
+
Requires-Dist: fastmcp>=4.0.11,<5
|
|
20
|
+
Requires-Dist: mcp>=2.2.0,<3
|
|
21
|
+
Requires-Dist: httpx2>=2.5.0,<3
|
|
22
|
+
Requires-Dist: orjson>=3.11.9
|
|
23
|
+
Requires-Dist: click>=8.4.2
|
|
24
|
+
Requires-Dist: cachetools>=7.1.6
|
|
25
|
+
Requires-Dist: tenacity>=9.0
|
|
26
|
+
Requires-Dist: pydantic>=2.13.4
|
|
27
|
+
Requires-Dist: pydantic-settings>=2.14.2
|
|
28
|
+
Requires-Dist: pyyaml>=6.0.2
|
|
29
|
+
Requires-Dist: boto3>=1.43.70
|
|
30
|
+
Requires-Dist: jinja2>=3.1
|
|
31
|
+
Requires-Dist: jsonschema>=4.26
|
|
32
|
+
Requires-Dist: rich>=15,<16
|
|
33
|
+
Requires-Dist: rich-click>=1.9.8
|
|
34
|
+
Requires-Dist: prompt-toolkit>=3.0.50
|
|
35
|
+
Requires-Dist: structlog>=26.1
|
|
36
|
+
Requires-Dist: python-frontmatter>=1.3
|
|
37
|
+
Requires-Dist: msgspec>=0.21.1
|
|
38
|
+
Requires-Dist: tiktoken>=0.13
|
|
39
|
+
Requires-Dist: httpx>=0.27
|
|
40
|
+
Requires-Dist: packaging>=26.3
|
|
41
|
+
Requires-Dist: python-dotenv>=1.2.2
|
|
42
|
+
Requires-Dist: croniter>=6.2.4
|
|
43
|
+
Requires-Dist: abt-core[bedrock,openai,anthropic,confluence,slack,jira,databricks,web-search,serve,collapse,quickjs,checkpoint-sqlite,checkpoint-bedrock,checkpoint-dynamodb,approvals-dynamodb,observability,braintrust,queue] ; extra == 'all'
|
|
44
|
+
Requires-Dist: langchain-anthropic>=1.7.10 ; extra == 'anthropic'
|
|
45
|
+
Requires-Dist: langchain-aws>=1.9.0 ; extra == 'bedrock'
|
|
46
|
+
Requires-Dist: braintrust>=0.49.1 ; extra == 'braintrust'
|
|
47
|
+
Requires-Dist: langgraph-checkpoint-aws>=1.1.0 ; extra == 'checkpoint-bedrock'
|
|
48
|
+
Requires-Dist: langgraph-checkpoint-aws>=1.1.0 ; extra == 'checkpoint-dynamodb'
|
|
49
|
+
Requires-Dist: langgraph-checkpoint-sqlite>=3.1.1 ; extra == 'checkpoint-sqlite'
|
|
50
|
+
Requires-Dist: langchain-collapse>=0.1.1,<1 ; extra == 'collapse'
|
|
51
|
+
Requires-Dist: atlassian-python-api>=5.0.5 ; extra == 'confluence'
|
|
52
|
+
Requires-Dist: beautifulsoup4>=4.15.0 ; extra == 'confluence'
|
|
53
|
+
Requires-Dist: databricks-sdk>=0.162.0 ; extra == 'databricks'
|
|
54
|
+
Requires-Dist: jira>=3.10.5 ; extra == 'jira'
|
|
55
|
+
Requires-Dist: opentelemetry-api>=1.45.1 ; extra == 'observability'
|
|
56
|
+
Requires-Dist: opentelemetry-sdk>=1.45.1 ; extra == 'observability'
|
|
57
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.45.1 ; extra == 'observability'
|
|
58
|
+
Requires-Dist: langchain-openai>=1.4.1 ; extra == 'openai'
|
|
59
|
+
Requires-Dist: redis>=8.1.0 ; extra == 'queue'
|
|
60
|
+
Requires-Dist: deepagents[quickjs] ; extra == 'quickjs'
|
|
61
|
+
Requires-Dist: langchain-quickjs>=0.3.12,<1 ; extra == 'quickjs'
|
|
62
|
+
Requires-Dist: starlette>=1.3.1 ; extra == 'serve'
|
|
63
|
+
Requires-Dist: uvicorn[standard]>=0.51 ; extra == 'serve'
|
|
64
|
+
Requires-Dist: slack-sdk>=3.43.0 ; extra == 'slack'
|
|
65
|
+
Requires-Dist: slack-bolt>=1.30.0 ; extra == 'slack'
|
|
66
|
+
Requires-Dist: aiohttp>=3.14.3 ; extra == 'slack'
|
|
67
|
+
Requires-Dist: ddgs>=9.0 ; extra == 'web-search'
|
|
68
|
+
Maintainer: GetYourGuide GmbH
|
|
69
|
+
Requires-Python: >=3.12
|
|
70
|
+
Project-URL: Homepage, https://github.com/getyourguide/abt-core
|
|
71
|
+
Project-URL: Documentation, https://getyourguide.github.io/abt-core
|
|
72
|
+
Project-URL: Repository, https://github.com/getyourguide/abt-core
|
|
73
|
+
Project-URL: Issues, https://github.com/getyourguide/abt-core/issues
|
|
74
|
+
Provides-Extra: all
|
|
75
|
+
Provides-Extra: anthropic
|
|
76
|
+
Provides-Extra: approvals-dynamodb
|
|
77
|
+
Provides-Extra: bedrock
|
|
78
|
+
Provides-Extra: braintrust
|
|
79
|
+
Provides-Extra: checkpoint-bedrock
|
|
80
|
+
Provides-Extra: checkpoint-dynamodb
|
|
81
|
+
Provides-Extra: checkpoint-sqlite
|
|
82
|
+
Provides-Extra: collapse
|
|
83
|
+
Provides-Extra: confluence
|
|
84
|
+
Provides-Extra: databricks
|
|
85
|
+
Provides-Extra: jira
|
|
86
|
+
Provides-Extra: observability
|
|
87
|
+
Provides-Extra: openai
|
|
88
|
+
Provides-Extra: queue
|
|
89
|
+
Provides-Extra: quickjs
|
|
90
|
+
Provides-Extra: serve
|
|
91
|
+
Provides-Extra: slack
|
|
92
|
+
Provides-Extra: web-search
|
|
93
|
+
Description-Content-Type: text/markdown
|
|
94
|
+
|
|
95
|
+
<p align="center">
|
|
96
|
+
<img src="docs/images/logo.png" width="175" alt="Agent Build Tool" />
|
|
97
|
+
</p>
|
|
98
|
+
|
|
99
|
+
<h1 align="center">abt</h1>
|
|
100
|
+
<p align="center"><strong>Write AI agents as files. Test them like code.<br />Run them where your team already works.</strong></p>
|
|
101
|
+
|
|
102
|
+
<p align="center">
|
|
103
|
+
<code>abt</code> (Agent Build Tool) checks your agents' wiring before anything runs, tests and benchmarks every change, and runs them on real events at scale.
|
|
104
|
+
</p>
|
|
105
|
+
|
|
106
|
+
<p align="center">
|
|
107
|
+
<a href="docs/getting-started/quickstart.md">Quickstart</a> ·
|
|
108
|
+
<a href="docs/index.md">Docs</a> ·
|
|
109
|
+
<a href="https://github.com/getyourguide/abt-core/tree/main/examples">Examples</a> ·
|
|
110
|
+
<a href="#contributing">Contributing</a>
|
|
111
|
+
</p>
|
|
112
|
+
|
|
113
|
+
<p align="center">
|
|
114
|
+
<a href="https://github.com/getyourguide/abt-core/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License"></a>
|
|
115
|
+
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.12%2B-3776AB?logo=python&logoColor=white" alt="Python"></a>
|
|
116
|
+
<a href="docs/index.md"><img src="https://img.shields.io/badge/docs-MkDocs-526CFE?logo=materialformkdocs&logoColor=white" alt="Docs"></a>
|
|
117
|
+
<img src="https://img.shields.io/badge/status-alpha-orange" alt="Alpha">
|
|
118
|
+
</p>
|
|
119
|
+
|
|
120
|
+
<p align="center">
|
|
121
|
+
<img src="assets/flow-dark.gif#gh-dark-mode-only" width="840" alt="Animation: an event in Slack, Jira or GitHub reaches a trigger and starts a run. In the workflow, a source reads the data from the tool, a prompt builds the task, and an agent decides, delegating to subagents and tools whose work converges back into one answer. An exposure then delivers the result to Slack, Jira or GitHub" />
|
|
122
|
+
<img src="assets/flow-light.gif#gh-light-mode-only" width="840" alt="Animation: an event in Slack, Jira or GitHub reaches a trigger and starts a run. In the workflow, a source reads the data from the tool, a prompt builds the task, and an agent decides, delegating to subagents and tools whose work converges back into one answer. An exposure then delivers the result to Slack, Jira or GitHub" />
|
|
123
|
+
</p>
|
|
124
|
+
|
|
125
|
+
*An event comes in, a trigger starts a run, the agent decides, and the result goes out where your team wants.*
|
|
126
|
+
|
|
127
|
+
abt is for teams that put agents in front of real Slack, Jira and GitHub traffic and need to change them with high confidence that nothing will break. It was built at GetYourGuide and runs in production there. It is alpha, so breaking changes can land in minor versions; the GitHub release notes call them out.
|
|
128
|
+
|
|
129
|
+
## What you get
|
|
130
|
+
|
|
131
|
+
- **Write agents as files.** An agent is a Markdown file with a little YAML on top. Tools, MCPs, budgets and middleware are a few lines of config, and custom tools are plain Python functions.
|
|
132
|
+
- **Catch breakage before it ships.** `abt compile` reads every file and checks that names and references line up, so a renamed agent fails there, not in production. Tests and benchmarks show whether a prompt or model change made answers better or worse.
|
|
133
|
+
- **Try it all on your laptop.** Run a whole Slack, Jira or GitHub workflow against a fake event and mocked data. Nothing gets posted.
|
|
134
|
+
- **Run it for real.** Agents react to events in Slack, Jira and GitHub, scale out across workers, and stay inside the limits you set.
|
|
135
|
+
|
|
136
|
+
## Why abt?
|
|
137
|
+
|
|
138
|
+
Plain SDK code gives you full control and leaves the wiring, tests and integrations to you. abt ships those ready-made: Slack, Jira, GitHub, Confluence, email, Datadog, Databricks and any MCP server, with Jinja templates for prompts and a compiler, tests and benchmarks that check every change before it ships. Claude Code subagents live in your Claude Code session; abt agents run unattended on events. For a one-off script, plain code is simpler.
|
|
139
|
+
|
|
140
|
+
## An agent is a file
|
|
141
|
+
|
|
142
|
+
Here's a whole agent. `agents/triage.md` has a one-line description up top and the system prompt below it. The commented lines show what else you can switch on, one line each:
|
|
143
|
+
|
|
144
|
+
```markdown
|
|
145
|
+
---
|
|
146
|
+
description: Routes a support message to the right team.
|
|
147
|
+
# model_id: anthropic:claude-haiku-5-5 # a different model for this agent
|
|
148
|
+
# tools: [lookup_order] # a Python function the agent can call
|
|
149
|
+
# subagents: [refund_specialist] # other agents it can delegate to
|
|
150
|
+
# transformers: [redact_pii] # clean up the answer before it goes out
|
|
151
|
+
# middleware: # guardrails on calls, tokens and time
|
|
152
|
+
# - model_call_limit: {max_model_calls: 5}
|
|
153
|
+
# - token_budget: {max_total_tokens: 50000}
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
You triage incoming support messages. Reply with the team that should handle it
|
|
157
|
+
(billing, refunds or engineering) and one sentence of why.
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
And here's its test, `tests/triage.yaml`. A check can be an exact match, a schema, or a plain sentence that an LLM judge answers with yes or no:
|
|
161
|
+
|
|
162
|
+
```yaml
|
|
163
|
+
agents:
|
|
164
|
+
- agent: triage
|
|
165
|
+
tests:
|
|
166
|
+
- name: sends_refund_requests_to_refunds
|
|
167
|
+
prompt: "Tour cancelled by the supplier, still no refund for my 84 EUR."
|
|
168
|
+
says: [routes the message to refunds]
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## Try it in five minutes
|
|
172
|
+
|
|
173
|
+
You'll need Python 3.12+ and [uv](https://docs.astral.sh/uv/). `compile`, `graph`, `docs generate` and `test --dry-run` never call the model, so you can try those without a key. A key (Anthropic by default, OpenAI, or an AWS profile for Bedrock) only matters once an agent runs.
|
|
174
|
+
|
|
175
|
+
<p align="center">
|
|
176
|
+
<img src="assets/demo-dark.gif#gh-dark-mode-only" width="840" alt="Terminal recording: abt init scaffolds a project, an agent is shown as a Markdown file, abt compile passes and then fails with an unknown-agent error after the analyst file is renamed, abt run and abt test call the model, and abt dispatch runs a Slack workflow with a stand-in thread and nothing posted" />
|
|
177
|
+
<img src="assets/demo-light.gif#gh-light-mode-only" width="840" alt="Terminal recording: abt init scaffolds a project, an agent is shown as a Markdown file, abt compile passes and then fails with an unknown-agent error after the analyst file is renamed, abt run and abt test call the model, and abt dispatch runs a Slack workflow with a stand-in thread and nothing posted" />
|
|
178
|
+
</p>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
mkdir my-agents && cd my-agents
|
|
183
|
+
uv venv --python 3.13 && source .venv/bin/activate
|
|
184
|
+
uv pip install "abt-core[all]"
|
|
185
|
+
|
|
186
|
+
abt init # a two-agent starter: agents, tests, a sample prompt, profiles.yaml
|
|
187
|
+
abt compile # checks the wiring, no model call
|
|
188
|
+
export ANTHROPIC_API_KEY=... # set base_url in profiles.yaml if running behind an AI gateway
|
|
189
|
+
abt debug # preflight: key, profile and one tiny live request to your LLM
|
|
190
|
+
abt run -s reviewer -p "Review: revenue grew 40%, no citations." # the reviewer asks the analyst for help along the way
|
|
191
|
+
abt test # every test, LLM judges included
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
The [Quickstart](docs/getting-started/quickstart.md) walks through every file, and [Installation](docs/getting-started/installation.md) covers lighter installs. Ready to connect your tools? Keep reading.
|
|
195
|
+
|
|
196
|
+
## Connect agents to the tools you already use
|
|
197
|
+
|
|
198
|
+
A **trigger** starts a run when something happens, a **source** fetches the data your agent needs, and an **exposure** delivers the answer. Each is a small YAML file, and one workflow wires them together:
|
|
199
|
+
|
|
200
|
+
```yaml
|
|
201
|
+
# workflows/support_ticket.yaml
|
|
202
|
+
trigger:
|
|
203
|
+
support_slack: # a new message in #support
|
|
204
|
+
vars:
|
|
205
|
+
channel_id: "{{ event.scope_id }}" # hand the channel and thread to the source
|
|
206
|
+
thread_ts: "{{ event.thread_id }}"
|
|
207
|
+
steps: [support_thread, triage_task, triage, triage_writeback]
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Try it first. In the [Slack example](https://github.com/getyourguide/abt-core/tree/main/examples/slack-workflow), this runs the real agents against a made-up Slack thread, prints the answer and posts nothing:
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
abt dispatch -s summarize_thread --skip-exposures \
|
|
214
|
+
--mock-source slack_thread="Tour cancelled by the supplier, still no refund for my 84 EUR."
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
Then switch it on. `abt watch run --all` listens to Slack, Jira or GitHub and runs the workflow on every event. When one process is not enough, split listening from running over Redis and add workers; with `--acks-late`, a worker that dies mid-run hands its job to another. The [watch guide](docs/guides/watch.md) covers scaling, health checks and observability.
|
|
218
|
+
|
|
219
|
+
## Know whether a change made it better
|
|
220
|
+
|
|
221
|
+
`abt bench` runs the same cases with your changes and without them, then compares quality and token use. Cases bring their own data, so a benchmark needs no access to your tools and posts nothing. Add it to CI and a pull request that makes answers clearly worse fails before it merges.
|
|
222
|
+
|
|
223
|
+
<p align="center">
|
|
224
|
+
<img src="assets/bench-dark.png#gh-dark-mode-only" width="840" alt="abt bench report: your changes against main, all 10 cases still pass, quality unchanged, a typical case uses 34% fewer tokens and runs faster" />
|
|
225
|
+
<img src="assets/bench-light.png#gh-light-mode-only" width="840" alt="abt bench report: your changes against main, all 10 cases still pass, quality unchanged, a typical case uses 34% fewer tokens and runs faster" />
|
|
226
|
+
</p>
|
|
227
|
+
|
|
228
|
+
*What `abt bench` prints for a tighter triage prompt: every case still passes and a typical case spends a third fewer tokens (example numbers).*
|
|
229
|
+
|
|
230
|
+
Want a cheaper model? Swap it in and the report tells you what it costs in quality before you ship it. [Benchmarks](docs/build/benchmarks.md) explains how to read the report.
|
|
231
|
+
|
|
232
|
+
## Contributing
|
|
233
|
+
|
|
234
|
+
Bug reports, feature requests and PRs are welcome. Easy ways in: run an [example](https://github.com/getyourguide/abt-core/tree/main/examples), tell us where the docs lost you, or add an example of your own. [CONTRIBUTING.md](https://github.com/getyourguide/abt-core/blob/main/CONTRIBUTING.md) shows how to run abt from source and open a PR. We follow the [Code of Conduct](https://github.com/getyourguide/abt-core/blob/main/CODE_OF_CONDUCT.md). If you've found a security issue, please read [SECURITY.md](https://github.com/getyourguide/abt-core/blob/main/SECURITY.md) instead of opening a public issue.
|
|
235
|
+
|
|
236
|
+
## License
|
|
237
|
+
|
|
238
|
+
Copyright 2026 GetYourGuide GmbH.
|
|
239
|
+
|
|
240
|
+
Apache License 2.0. See [LICENSE](https://github.com/getyourguide/abt-core/blob/main/LICENSE).
|
abt_core-0.0.1/README.md
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="docs/images/logo.png" width="175" alt="Agent Build Tool" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">abt</h1>
|
|
6
|
+
<p align="center"><strong>Write AI agents as files. Test them like code.<br />Run them where your team already works.</strong></p>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<code>abt</code> (Agent Build Tool) checks your agents' wiring before anything runs, tests and benchmarks every change, and runs them on real events at scale.
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="docs/getting-started/quickstart.md">Quickstart</a> ·
|
|
14
|
+
<a href="docs/index.md">Docs</a> ·
|
|
15
|
+
<a href="https://github.com/getyourguide/abt-core/tree/main/examples">Examples</a> ·
|
|
16
|
+
<a href="#contributing">Contributing</a>
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<p align="center">
|
|
20
|
+
<a href="https://github.com/getyourguide/abt-core/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License"></a>
|
|
21
|
+
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.12%2B-3776AB?logo=python&logoColor=white" alt="Python"></a>
|
|
22
|
+
<a href="docs/index.md"><img src="https://img.shields.io/badge/docs-MkDocs-526CFE?logo=materialformkdocs&logoColor=white" alt="Docs"></a>
|
|
23
|
+
<img src="https://img.shields.io/badge/status-alpha-orange" alt="Alpha">
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<img src="assets/flow-dark.gif#gh-dark-mode-only" width="840" alt="Animation: an event in Slack, Jira or GitHub reaches a trigger and starts a run. In the workflow, a source reads the data from the tool, a prompt builds the task, and an agent decides, delegating to subagents and tools whose work converges back into one answer. An exposure then delivers the result to Slack, Jira or GitHub" />
|
|
28
|
+
<img src="assets/flow-light.gif#gh-light-mode-only" width="840" alt="Animation: an event in Slack, Jira or GitHub reaches a trigger and starts a run. In the workflow, a source reads the data from the tool, a prompt builds the task, and an agent decides, delegating to subagents and tools whose work converges back into one answer. An exposure then delivers the result to Slack, Jira or GitHub" />
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
*An event comes in, a trigger starts a run, the agent decides, and the result goes out where your team wants.*
|
|
32
|
+
|
|
33
|
+
abt is for teams that put agents in front of real Slack, Jira and GitHub traffic and need to change them with high confidence that nothing will break. It was built at GetYourGuide and runs in production there. It is alpha, so breaking changes can land in minor versions; the GitHub release notes call them out.
|
|
34
|
+
|
|
35
|
+
## What you get
|
|
36
|
+
|
|
37
|
+
- **Write agents as files.** An agent is a Markdown file with a little YAML on top. Tools, MCPs, budgets and middleware are a few lines of config, and custom tools are plain Python functions.
|
|
38
|
+
- **Catch breakage before it ships.** `abt compile` reads every file and checks that names and references line up, so a renamed agent fails there, not in production. Tests and benchmarks show whether a prompt or model change made answers better or worse.
|
|
39
|
+
- **Try it all on your laptop.** Run a whole Slack, Jira or GitHub workflow against a fake event and mocked data. Nothing gets posted.
|
|
40
|
+
- **Run it for real.** Agents react to events in Slack, Jira and GitHub, scale out across workers, and stay inside the limits you set.
|
|
41
|
+
|
|
42
|
+
## Why abt?
|
|
43
|
+
|
|
44
|
+
Plain SDK code gives you full control and leaves the wiring, tests and integrations to you. abt ships those ready-made: Slack, Jira, GitHub, Confluence, email, Datadog, Databricks and any MCP server, with Jinja templates for prompts and a compiler, tests and benchmarks that check every change before it ships. Claude Code subagents live in your Claude Code session; abt agents run unattended on events. For a one-off script, plain code is simpler.
|
|
45
|
+
|
|
46
|
+
## An agent is a file
|
|
47
|
+
|
|
48
|
+
Here's a whole agent. `agents/triage.md` has a one-line description up top and the system prompt below it. The commented lines show what else you can switch on, one line each:
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
---
|
|
52
|
+
description: Routes a support message to the right team.
|
|
53
|
+
# model_id: anthropic:claude-haiku-5-5 # a different model for this agent
|
|
54
|
+
# tools: [lookup_order] # a Python function the agent can call
|
|
55
|
+
# subagents: [refund_specialist] # other agents it can delegate to
|
|
56
|
+
# transformers: [redact_pii] # clean up the answer before it goes out
|
|
57
|
+
# middleware: # guardrails on calls, tokens and time
|
|
58
|
+
# - model_call_limit: {max_model_calls: 5}
|
|
59
|
+
# - token_budget: {max_total_tokens: 50000}
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
You triage incoming support messages. Reply with the team that should handle it
|
|
63
|
+
(billing, refunds or engineering) and one sentence of why.
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
And here's its test, `tests/triage.yaml`. A check can be an exact match, a schema, or a plain sentence that an LLM judge answers with yes or no:
|
|
67
|
+
|
|
68
|
+
```yaml
|
|
69
|
+
agents:
|
|
70
|
+
- agent: triage
|
|
71
|
+
tests:
|
|
72
|
+
- name: sends_refund_requests_to_refunds
|
|
73
|
+
prompt: "Tour cancelled by the supplier, still no refund for my 84 EUR."
|
|
74
|
+
says: [routes the message to refunds]
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Try it in five minutes
|
|
78
|
+
|
|
79
|
+
You'll need Python 3.12+ and [uv](https://docs.astral.sh/uv/). `compile`, `graph`, `docs generate` and `test --dry-run` never call the model, so you can try those without a key. A key (Anthropic by default, OpenAI, or an AWS profile for Bedrock) only matters once an agent runs.
|
|
80
|
+
|
|
81
|
+
<p align="center">
|
|
82
|
+
<img src="assets/demo-dark.gif#gh-dark-mode-only" width="840" alt="Terminal recording: abt init scaffolds a project, an agent is shown as a Markdown file, abt compile passes and then fails with an unknown-agent error after the analyst file is renamed, abt run and abt test call the model, and abt dispatch runs a Slack workflow with a stand-in thread and nothing posted" />
|
|
83
|
+
<img src="assets/demo-light.gif#gh-light-mode-only" width="840" alt="Terminal recording: abt init scaffolds a project, an agent is shown as a Markdown file, abt compile passes and then fails with an unknown-agent error after the analyst file is renamed, abt run and abt test call the model, and abt dispatch runs a Slack workflow with a stand-in thread and nothing posted" />
|
|
84
|
+
</p>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
mkdir my-agents && cd my-agents
|
|
89
|
+
uv venv --python 3.13 && source .venv/bin/activate
|
|
90
|
+
uv pip install "abt-core[all]"
|
|
91
|
+
|
|
92
|
+
abt init # a two-agent starter: agents, tests, a sample prompt, profiles.yaml
|
|
93
|
+
abt compile # checks the wiring, no model call
|
|
94
|
+
export ANTHROPIC_API_KEY=... # set base_url in profiles.yaml if running behind an AI gateway
|
|
95
|
+
abt debug # preflight: key, profile and one tiny live request to your LLM
|
|
96
|
+
abt run -s reviewer -p "Review: revenue grew 40%, no citations." # the reviewer asks the analyst for help along the way
|
|
97
|
+
abt test # every test, LLM judges included
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
The [Quickstart](docs/getting-started/quickstart.md) walks through every file, and [Installation](docs/getting-started/installation.md) covers lighter installs. Ready to connect your tools? Keep reading.
|
|
101
|
+
|
|
102
|
+
## Connect agents to the tools you already use
|
|
103
|
+
|
|
104
|
+
A **trigger** starts a run when something happens, a **source** fetches the data your agent needs, and an **exposure** delivers the answer. Each is a small YAML file, and one workflow wires them together:
|
|
105
|
+
|
|
106
|
+
```yaml
|
|
107
|
+
# workflows/support_ticket.yaml
|
|
108
|
+
trigger:
|
|
109
|
+
support_slack: # a new message in #support
|
|
110
|
+
vars:
|
|
111
|
+
channel_id: "{{ event.scope_id }}" # hand the channel and thread to the source
|
|
112
|
+
thread_ts: "{{ event.thread_id }}"
|
|
113
|
+
steps: [support_thread, triage_task, triage, triage_writeback]
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Try it first. In the [Slack example](https://github.com/getyourguide/abt-core/tree/main/examples/slack-workflow), this runs the real agents against a made-up Slack thread, prints the answer and posts nothing:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
abt dispatch -s summarize_thread --skip-exposures \
|
|
120
|
+
--mock-source slack_thread="Tour cancelled by the supplier, still no refund for my 84 EUR."
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Then switch it on. `abt watch run --all` listens to Slack, Jira or GitHub and runs the workflow on every event. When one process is not enough, split listening from running over Redis and add workers; with `--acks-late`, a worker that dies mid-run hands its job to another. The [watch guide](docs/guides/watch.md) covers scaling, health checks and observability.
|
|
124
|
+
|
|
125
|
+
## Know whether a change made it better
|
|
126
|
+
|
|
127
|
+
`abt bench` runs the same cases with your changes and without them, then compares quality and token use. Cases bring their own data, so a benchmark needs no access to your tools and posts nothing. Add it to CI and a pull request that makes answers clearly worse fails before it merges.
|
|
128
|
+
|
|
129
|
+
<p align="center">
|
|
130
|
+
<img src="assets/bench-dark.png#gh-dark-mode-only" width="840" alt="abt bench report: your changes against main, all 10 cases still pass, quality unchanged, a typical case uses 34% fewer tokens and runs faster" />
|
|
131
|
+
<img src="assets/bench-light.png#gh-light-mode-only" width="840" alt="abt bench report: your changes against main, all 10 cases still pass, quality unchanged, a typical case uses 34% fewer tokens and runs faster" />
|
|
132
|
+
</p>
|
|
133
|
+
|
|
134
|
+
*What `abt bench` prints for a tighter triage prompt: every case still passes and a typical case spends a third fewer tokens (example numbers).*
|
|
135
|
+
|
|
136
|
+
Want a cheaper model? Swap it in and the report tells you what it costs in quality before you ship it. [Benchmarks](docs/build/benchmarks.md) explains how to read the report.
|
|
137
|
+
|
|
138
|
+
## Contributing
|
|
139
|
+
|
|
140
|
+
Bug reports, feature requests and PRs are welcome. Easy ways in: run an [example](https://github.com/getyourguide/abt-core/tree/main/examples), tell us where the docs lost you, or add an example of your own. [CONTRIBUTING.md](https://github.com/getyourguide/abt-core/blob/main/CONTRIBUTING.md) shows how to run abt from source and open a PR. We follow the [Code of Conduct](https://github.com/getyourguide/abt-core/blob/main/CODE_OF_CONDUCT.md). If you've found a security issue, please read [SECURITY.md](https://github.com/getyourguide/abt-core/blob/main/SECURITY.md) instead of opening a public issue.
|
|
141
|
+
|
|
142
|
+
## License
|
|
143
|
+
|
|
144
|
+
Copyright 2026 GetYourGuide GmbH.
|
|
145
|
+
|
|
146
|
+
Apache License 2.0. See [LICENSE](https://github.com/getyourguide/abt-core/blob/main/LICENSE).
|