reactifact 0.22.0__tar.gz → 0.23.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.
- {reactifact-0.22.0/reactifact.egg-info → reactifact-0.23.0}/PKG-INFO +145 -56
- {reactifact-0.22.0 → reactifact-0.23.0}/README.md +144 -55
- {reactifact-0.22.0 → reactifact-0.23.0}/pyproject.toml +2 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/__init__.py +57 -7
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/a2a/__init__.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/a2a/client.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/a2a/remote.py +8 -8
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/a2a/server.py +6 -6
- reactifact-0.23.0/reactifact/agents.py +26 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/audit.py +1 -10
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/budget.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/chat.py +288 -8
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/__init__.py +35 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/common.py +11 -11
- reactifact-0.23.0/reactifact/cli/contracts.py +39 -0
- reactifact-0.23.0/reactifact/cli/demo.py +20 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/doctor.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/graph.py +3 -3
- reactifact-0.23.0/reactifact/cli/run.py +101 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/skills.py +1 -1
- reactifact-0.23.0/reactifact/cli/trace.py +98 -0
- reactifact-0.23.0/reactifact/cli/traces.py +55 -0
- reactifact-0.23.0/reactifact/cli/validate.py +42 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/consume.py +7 -7
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/context/__init__.py +2 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/context/context.py +78 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/context_builder.py +7 -7
- reactifact-0.23.0/reactifact/contracts/__init__.py +19 -0
- reactifact-0.23.0/reactifact/contracts/report.py +514 -0
- reactifact-0.23.0/reactifact/contracts/templates/contracts.html +237 -0
- reactifact-0.23.0/reactifact/contracts/templates/favicon.svg +7 -0
- reactifact-0.23.0/reactifact/contracts/web.py +86 -0
- reactifact-0.23.0/reactifact/demo.py +354 -0
- reactifact-0.23.0/reactifact/di.py +32 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/effects.py +10 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/experiments.py +6 -4
- reactifact-0.23.0/reactifact/interaction.py +79 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/interrupt.py +4 -4
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/llm_agent.py +4 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/metrics.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/patches.py +1 -1
- reactifact-0.23.0/reactifact/pipeline.py +292 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/policy.py +3 -3
- reactifact-0.23.0/reactifact/provenance.py +50 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/__init__.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/_shared.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/agent.py +4 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/chat.py +21 -9
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/models.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/rag.py +5 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quick/tools_agent.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/__init__.py +12 -9
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/conversation.py +6 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/identity.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/map_reduce.py +6 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/memory.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/memory_store.py +3 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/plan_execute.py +133 -4
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/reflection.py +150 -4
- reactifact-0.23.0/reactifact/recipes/resolve.py +148 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/search.py +45 -10
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/status.py +89 -10
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/supervisor.py +6 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/swarm.py +12 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/tool_loop.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/request.py +6 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/resources.py +41 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/__init__.py +2 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/patch.py +3 -3
- reactifact-0.23.0/reactifact/runtime/result.py +53 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/runtime.py +53 -20
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/scheduler.py +7 -7
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact/SKILL.md +35 -7
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact/references/effects-and-state.md +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-agents/SKILL.md +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-agents/references/consume.md +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-agents/references/effects.md +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-eval/SKILL.md +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-from-langchain/SKILL.md +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-llm/SKILL.md +35 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-llm/references/tools.md +24 -4
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-observability/SKILL.md +12 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-rag/SKILL.md +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-testing/SKILL.md +14 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/sources.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/step/__init__.py +8 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/step/call.py +24 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/step/core.py +189 -96
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/step/decorator.py +69 -6
- reactifact-0.22.0/reactifact/agents.py → reactifact-0.23.0/reactifact/step/group.py +146 -48
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/step/resolve.py +112 -8
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/subflow.py +14 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/monitor.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/runner.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/.env.example +1 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/README.md +4 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/agent/pipeline.py +10 -15
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/api/deps.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/api/routes/chat.py +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/bootstrap.py +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/config.py +1 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/main.py +10 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/pyproject.toml +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/tests/test_chat_sse.py +9 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/__init__.py +3 -0
- reactifact-0.23.0/reactifact/testing/client.py +156 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/fault.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/lab.py +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/registry.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/agent.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/base.py +251 -31
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/use/base.py +9 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/use/hitl.py +3 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/__init__.py +10 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/_shared.py +2 -0
- reactifact-0.23.0/reactifact/tracing/diff.py +106 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/models.py +141 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/otlp.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/postgres.py +113 -35
- reactifact-0.23.0/reactifact/tracing/retention.py +40 -0
- reactifact-0.23.0/reactifact/tracing/sampling.py +63 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/store.py +126 -36
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/templates/sessions.html +1 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/templates/ui.html +1 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/templates/ui_run.html +97 -10
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/tracer.py +34 -9
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/web.py +62 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/validate.py +40 -12
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/verify.py +3 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/viz.py +66 -32
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/web.py +53 -4
- {reactifact-0.22.0 → reactifact-0.23.0/reactifact.egg-info}/PKG-INFO +145 -56
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact.egg-info/SOURCES.txt +40 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_a2a.py +22 -23
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_a2a_interop.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_absent_consume.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_agent_tool.py +8 -8
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_audit.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_authz.py +3 -3
- reactifact-0.23.0/tests/test_change_instructions.py +59 -0
- reactifact-0.23.0/tests/test_chat_facade.py +177 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_chat_memory.py +8 -8
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_chat_outbox.py +5 -7
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_chat_web.py +6 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_cli.py +46 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_cli_doctor.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_compaction.py +4 -4
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_consumes_produces.py +15 -16
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_context_builder.py +5 -5
- reactifact-0.23.0/tests/test_context_provenance.py +66 -0
- reactifact-0.23.0/tests/test_contracts.py +82 -0
- reactifact-0.23.0/tests/test_contracts_web.py +51 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_correlated_consume.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_debounce.py +4 -4
- reactifact-0.23.0/tests/test_demo.py +48 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_devops.py +73 -18
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_devops_auth.py +10 -10
- reactifact-0.23.0/tests/test_devops_branches.py +45 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_devops_online.py +2 -2
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_devops_web.py +56 -0
- reactifact-0.23.0/tests/test_di.py +79 -0
- reactifact-0.23.0/tests/test_dx_errors.py +54 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_effects.py +10 -9
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_eval.py +8 -8
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_eval_dataset.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_eval_online.py +6 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_guardrails.py +5 -5
- reactifact-0.23.0/tests/test_interaction.py +49 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_join_consume.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_knowledge.py +14 -14
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_knowledge_web.py +12 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_medic_lab.py +9 -9
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_metrics.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_pending_actions.py +5 -4
- reactifact-0.23.0/tests/test_pipeline_lifecycle.py +98 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_produce_trigger.py +12 -12
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_public_api.py +30 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_quota.py +6 -6
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_reacts_to.py +15 -16
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipe_plan_execute.py +26 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipe_reflection.py +29 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipe_supervisor.py +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipes.py +167 -18
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_repair.py +1 -1
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_repair_web.py +10 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_replay.py +4 -4
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_routing.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_runtime.py +3 -3
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_runtime_errors.py +7 -7
- reactifact-0.23.0/tests/test_step_group.py +175 -0
- reactifact-0.23.0/tests/test_step_provenance.py +94 -0
- reactifact-0.23.0/tests/test_step_return_inference.py +78 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_golden.py +4 -4
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_lab.py +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_token_budget.py +6 -6
- reactifact-0.23.0/tests/test_tool_injection.py +289 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_tools.py +30 -30
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_trace_limits.py +3 -1
- reactifact-0.23.0/tests/test_trace_reports.py +101 -0
- reactifact-0.23.0/tests/test_trace_retention.py +97 -0
- reactifact-0.23.0/tests/test_trace_sampling.py +66 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_trace_ui.py +8 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_tracing.py +166 -14
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_validate.py +33 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_verify.py +5 -5
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_viz.py +4 -6
- reactifact-0.23.0/tests/test_web_errors.py +52 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_workspace_with_sources.py +1 -1
- reactifact-0.22.0/reactifact/cli/trace.py +0 -45
- reactifact-0.22.0/reactifact/produce.py +0 -57
- reactifact-0.22.0/reactifact/recipes/resolve.py +0 -51
- reactifact-0.22.0/tests/test_produce_styles.py +0 -240
- {reactifact-0.22.0 → reactifact-0.23.0}/LICENSE +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/__main__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/_extras.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/_httpx.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/_persistence.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/a2a/models.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/agent_tool.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/artifacts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/authz.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/branching/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/branching/ops.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/branching/store.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cache.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/checkpoints.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/branch.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/context.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/eval.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/new.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/replay.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/cli/scenario.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/commit.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/commit_log.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/context/index.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/context/pending.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/context/serialization.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/dataset.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/evaluators.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/judge.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/online.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/runner.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/eval/scoring.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/events.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/guardrails.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/_closers.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/bridge.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/chunk.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/connectors.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/docstore.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/embed.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/errors.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/extract.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/http.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/acl.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/base.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/chroma.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/fusion.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/keyword.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/math.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/memory.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/pgvector.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/qdrant.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/sqlite.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/models.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/pipeline.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/rerank.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/templates/knowledge.html +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/knowledge/web.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/logging.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/mcp/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/mcp/client.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/mcp/oauth.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/mcp/server.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/native_tool_use.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/operations.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/pricing.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/prompts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/_retry.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/anthropic.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/azure.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/cerebras.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/chat.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/contracts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/deepseek.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/fake.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/fireworks.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/gemini.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/github_models.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/groq.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/image.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/mistral.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/nvidia.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/ollama.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/openai.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/openrouter.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/perplexity.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/qwen.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/speech.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/together.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/video.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/xai.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/providers/zai.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/py.typed +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/quota.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/cleanup.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/inputs.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/rollback.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/skills.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/recipes/text.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/redaction.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/relations.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/replay.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/routing.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/budget.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/events.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/loop.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/runtime/outbox.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/session.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact/references/trust-and-safety.md +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-eval/references/online.md +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-llm/references/providers.md +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/skills/reactifact-rag/references/sources.md +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/step/annotations.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/streaming.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/structured.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/.env.example +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/.gitignore +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/Dockerfile +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/README.md +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/config.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/llm.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/llm_presets.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/main.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/models.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/prompts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/app/resources.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/pyproject.toml +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/tests/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/daemon/tests/test_daemon.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/.gitignore +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/Dockerfile +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/agent/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/agent/prompts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/agent/resources.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/agent/steps/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/agent/steps/answer.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/api/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/api/routes/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/authz.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/llm.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/llm_presets.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/models.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/app/security.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/tests/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/tests/conftest.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/tests/test_auth_sessions.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/templates/fastapi_chat/tests/test_settings.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/assertions.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/exceptions.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/golden.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/mock.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/pytest_plugin.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/testing/record.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tool_use.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/native.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/use/__init__.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tools/use/blocking.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/_otlp.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/columns.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/langfuse.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/tracing/templates/app.css +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/triggers.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact/types.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact.egg-info/dependency_links.txt +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact.egg-info/entry_points.txt +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact.egg-info/requires.txt +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/reactifact.egg-info/top_level.txt +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/setup.cfg +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_agent_policy.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_anthropic_provider.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_artifact_store.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_artifacts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_backbone.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_branching.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_budget.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_cache.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_chat_example.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_checkpoint.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_checkpoints.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_checkpoints_concurrency.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_cli_new.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_cli_scenario.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_code_review.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_commit_dag.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_commit_log.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_concurrency.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_conflict.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_context_at.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_determinism.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_eval_judge.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_eval_trajectory.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_experiments.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_fintech_audit.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_forklab.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_forklab_web.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_friendly_api.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_gemini_provider.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_golden.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_hitl.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_image_provider.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_invalidation.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_lazy_providers.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_logging.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_loop_bound_client.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_map_reduce.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_mcp.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_medic_lab_web.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_memory_store.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_multisource.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_native_tool_use.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_openai_provider.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_outbox.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_patches.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_prompts.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_provider_auth.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_provider_retry.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_providers_integration.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_quick.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipe_conversation.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipe_tool_loop.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipes_inputs.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipes_memory.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_recipes_skills.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_redaction.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_relation_graph.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_relations.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_replay_tools.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_repo_agent.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_request.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_resources.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_retry.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_scheduler_semantics.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_session_append.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_sessions.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_shutdown.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_skills.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_sources.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_sources_search.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_sources_vector.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_speech_provider.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_starter_app.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_step_annotated.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_step_scope.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_step_watermark.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_stream_events.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_streaming.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_structured.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_subflow.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_swarm.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_assertions.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_mock.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_provenance.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_pytest_plugin.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_testing_registry.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_tour.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_trace_columns.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_trace_tags.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_type_registry.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_vendor_factories.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_vendor_multimodal_factories.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_version.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_video_provider.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_view.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_web_source.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/test_workspace.py +0 -0
- {reactifact-0.22.0 → reactifact-0.23.0}/tests/tests_checkpoints_sqlite.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reactifact
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.23.0
|
|
4
4
|
Summary: Reactive, artifact-driven agent runtime: agents transform versioned, typed, provenance-aware artifacts inside an evolving context
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/bzdvdn/reactifact
|
|
@@ -53,7 +53,11 @@ Dynamic: license-file
|
|
|
53
53
|
<img src="docs/img/reactifact-hero.png" alt="reactifact — typed artifacts, reactive steps, auditable state" width="800">
|
|
54
54
|
</p>
|
|
55
55
|
|
|
56
|
-
**
|
|
56
|
+
**Agents that can prove their answers.** reactifact is a Python framework for
|
|
57
|
+
knowledge agents over docs, spreadsheets and the web — where the path per
|
|
58
|
+
question isn't a graph you can draw. The model reasons, plain Python computes
|
|
59
|
+
the numbers, and every answer links to the evidence behind it — then replays to
|
|
60
|
+
the same hash.
|
|
57
61
|
|
|
58
62
|
[](https://github.com/bzdvdn/reactifact/actions/workflows/ci.yml)
|
|
59
63
|
[](https://codecov.io/gh/bzdvdn/reactifact)
|
|
@@ -66,6 +70,97 @@ Dynamic: license-file
|
|
|
66
70
|
> **Is:** a Python library (3 core deps) · single-process · typed, versioned artifacts with provenance · deterministic replay · optional code-first knowledge base (SQLite/Qdrant) · runs offline, no API key
|
|
67
71
|
> **Isn't:** a managed platform · a distributed task queue · a pre-built agent/tool marketplace
|
|
68
72
|
|
|
73
|
+
## Sixty seconds, no API key
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
uvx reactifact demo # or: uv add reactifact && uv run reactifact demo
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
reactifact demo — computed, cited, reproducible
|
|
81
|
+
|
|
82
|
+
question What is the Q2 cloud spend variance, and does policy require approval?
|
|
83
|
+
sources transactions.csv (6 rows) · budget.csv (2 rows) · policy.md
|
|
84
|
+
|
|
85
|
+
answer Q2 cloud spend was $45,000 against a $40,000 budget (+12.5%) — exceeds
|
|
86
|
+
the 10% policy threshold. CFO approval is required before the quarter
|
|
87
|
+
is closed.
|
|
88
|
+
|
|
89
|
+
computed cloud spend $45,000 (2026-04 $12,000, 2026-05 $15,000, 2026-06 $18,000)
|
|
90
|
+
policy threshold 10% → approval required
|
|
91
|
+
citations budget.csv, transactions.csv, policy.md
|
|
92
|
+
|
|
93
|
+
provenance (context.related(answer.id, "supported_by"))
|
|
94
|
+
Answer → supported_by → Variance, policy.md
|
|
95
|
+
Variance → calculated_from → Spend, budget.csv
|
|
96
|
+
Spend → calculated_from → transactions.csv
|
|
97
|
+
|
|
98
|
+
context sha256 ffeca1bb18cbc34749d3b5bdb40d85677b1ac33d47fb1160f6c89053694b2783
|
|
99
|
+
re-run identical ✓
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Three `@step` functions, none of which imports another by name: they declare
|
|
103
|
+
what they consume and produce, and the runtime derives the order from state.
|
|
104
|
+
The figures come from plain Python, and both the answer and the numbers carry
|
|
105
|
+
the hash of the exact state that produced them. Models, steps and the printer
|
|
106
|
+
all live in [`reactifact/demo.py`](reactifact/demo.py) — copy the pipeline,
|
|
107
|
+
then change the data.
|
|
108
|
+
|
|
109
|
+
## Define a step, run it
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
from pydantic import BaseModel
|
|
113
|
+
from reactifact import Pipeline, step
|
|
114
|
+
|
|
115
|
+
class Question(BaseModel):
|
|
116
|
+
text: str
|
|
117
|
+
|
|
118
|
+
class Answer(BaseModel):
|
|
119
|
+
text: str
|
|
120
|
+
|
|
121
|
+
@step(consumes=Question) # produces=Answer inferred from ->
|
|
122
|
+
def answer(question: Question) -> Answer:
|
|
123
|
+
return Answer(text=f"you asked: {question.text}")
|
|
124
|
+
|
|
125
|
+
pipeline = Pipeline(steps=[answer], seed_type=Question, answer_type=Answer)
|
|
126
|
+
result = pipeline.run(Question(text="why did cloud spend jump in Q2?"))
|
|
127
|
+
|
|
128
|
+
print(result.latest(Answer).data.text)
|
|
129
|
+
print(result.sources(result.latest(Answer))) # citations, as a query
|
|
130
|
+
print(result.hash) # reproducible fingerprint
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
`Pipeline` owns steps, resources and defaults, and builds a fresh `Context` +
|
|
134
|
+
`Runtime` per run. Use `reactifact run` for the same thing from the CLI:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
reactifact run app:pipeline "why did cloud spend jump in Q2?"
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Who this is for
|
|
141
|
+
|
|
142
|
+
- **Knowledge assistants over mixed sources.** One question spans Confluence, a
|
|
143
|
+
spreadsheet and a web page; the next spans a different subset. You declare
|
|
144
|
+
what artifacts exist and what agents can do with them, and the runtime derives
|
|
145
|
+
the path. Figures are computed, answers cite their sources, and a run replays
|
|
146
|
+
to the same hash.
|
|
147
|
+
- **Experiment harnesses for agent strategies.** Fork a context, run two
|
|
148
|
+
strategies on their own branches, merge them back, and replay a finished run
|
|
149
|
+
by hash — see [`forklab`](examples/forklab) and
|
|
150
|
+
[Branching](docs/en/branching.md).
|
|
151
|
+
|
|
152
|
+
**RAG is included, not required.** `reactifact.quick.rag` gets retrieval with
|
|
153
|
+
provenance in a few lines; `reactifact.knowledge` is the code-first ingestion
|
|
154
|
+
layer behind it — connectors, chunking, incremental indexing, and real indexes
|
|
155
|
+
(SQLite, Chroma, Qdrant, pgvector). The core never imports either.
|
|
156
|
+
|
|
157
|
+
**Not for a fixed A → B → C pipeline.** There a plain function or LangGraph is
|
|
158
|
+
shorter and just as correct.
|
|
159
|
+
|
|
160
|
+
**Not a connector library.** If you need dozens of managed SaaS sources with
|
|
161
|
+
built-in ingestion, LlamaIndex is the better tool. reactifact's `Source` layer is
|
|
162
|
+
deliberately small and code-first: filesystem, CSV, embeddings, web, MCP.
|
|
163
|
+
|
|
69
164
|
## Start here
|
|
70
165
|
|
|
71
166
|
**Build an app**
|
|
@@ -102,7 +197,7 @@ Every derived artifact then links to what produced it
|
|
|
102
197
|
that?"* is a query, not a guess — and the run is reproducible (`context_hash`)
|
|
103
198
|
and verifiable (`reactifact replay --verify`).
|
|
104
199
|
|
|
105
|
-
##
|
|
200
|
+
## The same idea, a real pipeline
|
|
106
201
|
|
|
107
202
|
[`examples/fintech_audit`](examples/fintech_audit) — a transactions CSV, a budget
|
|
108
203
|
CSV and a policy doc, **no API key**. The model never produces the number; plain
|
|
@@ -134,22 +229,21 @@ is never the source of truth (trimmed from
|
|
|
134
229
|
[`examples/fintech_audit/steps.py`](examples/fintech_audit/steps.py)):
|
|
135
230
|
|
|
136
231
|
```python
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
print(
|
|
152
|
-
print(context_hash(ctx)) # reproducible fingerprint
|
|
232
|
+
from reactifact import CALCULATED_FROM, Context, step
|
|
233
|
+
|
|
234
|
+
@step(consumes=Spend, provenance=CALCULATED_FROM) # wakes when Spend exists
|
|
235
|
+
def compute_variance(spend: Spend, context: Context) -> Variance:
|
|
236
|
+
budget = cloud_budget(context) # read from budget.csv
|
|
237
|
+
pct = (spend.total - budget) / budget # deterministic — never the model
|
|
238
|
+
return Variance(actual=spend.total, budget=budget, pct=pct,
|
|
239
|
+
threshold=0.10, within_policy=abs(pct) <= 0.10)
|
|
240
|
+
# creates the artifact and links it calculated_from→ Spend
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
result = Pipeline(steps=[compute_spend, compute_variance, answer]) \
|
|
244
|
+
.run(Question(text="what is the Q2 cloud spend variance?"))
|
|
245
|
+
print(report_to_markdown(build_report(result.context, result.latest(AuditAnswer))))
|
|
246
|
+
print(result.hash) # reproducible fingerprint
|
|
153
247
|
```
|
|
154
248
|
|
|
155
249
|
## Knowledge assistants, live
|
|
@@ -242,7 +336,7 @@ derives what runs next from state.
|
|
|
242
336
|
|
|
243
337
|
| Celery | reactifact |
|
|
244
338
|
| --- | --- |
|
|
245
|
-
| a task |
|
|
339
|
+
| a task | `@step(consumes=Input) -> Model` — a unit of work that returns a typed artifact |
|
|
246
340
|
| `delay()` / `apply_async()` | you don't call it: creating the input artifact **is** the trigger |
|
|
247
341
|
| routing key / queue | `Consume(Type)` — which artifact type wakes the task |
|
|
248
342
|
| chain / group / chord | several step `Consume`s / `produces`; the runtime derives the order |
|
|
@@ -261,14 +355,14 @@ pip install reactifact
|
|
|
261
355
|
```
|
|
262
356
|
|
|
263
357
|
Runs offline, no API key needed — paste this straight into a `.py` file. Two
|
|
264
|
-
|
|
358
|
+
steps, no graph edge declared between them — the second reacts because the
|
|
265
359
|
first one's output exists, and the answer carries *proof* of where it came
|
|
266
360
|
from:
|
|
267
361
|
|
|
268
362
|
```python
|
|
269
363
|
from pydantic import BaseModel
|
|
270
364
|
|
|
271
|
-
from reactifact import
|
|
365
|
+
from reactifact import Pipeline, SUPPORTED_BY, step
|
|
272
366
|
|
|
273
367
|
|
|
274
368
|
class Question(BaseModel):
|
|
@@ -289,31 +383,25 @@ DOCS = {
|
|
|
289
383
|
}
|
|
290
384
|
|
|
291
385
|
|
|
292
|
-
@step(
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
if hit is not None:
|
|
297
|
-
call.effects.create(Evidence(text=hit))
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
@step(produces=Answer, consumes=Evidence)
|
|
301
|
-
async def answer_from_evidence(call):
|
|
302
|
-
evidence = call.trigger
|
|
303
|
-
call.effects.create(Answer(text=evidence.data.text)).link("supported_by", evidence)
|
|
386
|
+
@step(consumes=Question)
|
|
387
|
+
def find_evidence(question: Question) -> list[Evidence]:
|
|
388
|
+
hit = next((v for k, v in DOCS.items() if k in question.text.lower()), None)
|
|
389
|
+
return [Evidence(text=hit)] if hit is not None else []
|
|
304
390
|
|
|
305
391
|
|
|
306
|
-
|
|
307
|
-
|
|
392
|
+
@step(consumes=Evidence, provenance=SUPPORTED_BY)
|
|
393
|
+
def answer_from_evidence(evidence: Evidence) -> Answer:
|
|
394
|
+
return Answer(text=evidence.text)
|
|
308
395
|
|
|
309
|
-
ctx = Context(resources=RuntimeResources())
|
|
310
|
-
runtime = Runtime(ctx, agents=[search_agent, answer_agent], budget=Budget(max_runs=10))
|
|
311
396
|
|
|
312
|
-
|
|
313
|
-
|
|
397
|
+
result = Pipeline(
|
|
398
|
+
steps=[find_evidence, answer_from_evidence],
|
|
399
|
+
seed_type=Question,
|
|
400
|
+
answer_type=Answer,
|
|
401
|
+
).run(Question(text="what's your refund policy?"))
|
|
314
402
|
|
|
315
|
-
answer =
|
|
316
|
-
evidence =
|
|
403
|
+
answer = result.latest(Answer)
|
|
404
|
+
evidence = result.context.related(answer.id, SUPPORTED_BY)[0]
|
|
317
405
|
print(answer.data.text) # "Refunds are available within 14 days of purchase."
|
|
318
406
|
print("supported_by:", evidence.data.text) # provenance you can trace, not just a string in a log
|
|
319
407
|
```
|
|
@@ -324,17 +412,18 @@ print("supported_by:", evidence.data.text) # provenance you can trace, not just
|
|
|
324
412
|
ARTIFACT CREATED / UPDATED
|
|
325
413
|
│
|
|
326
414
|
▼
|
|
327
|
-
|
|
415
|
+
STEPS REACT ──effects──► Effects ──compile──► Patch
|
|
328
416
|
▲ │
|
|
329
417
|
└──────────────────────────────────────────────────────┘
|
|
330
418
|
Context v+1
|
|
331
419
|
```
|
|
332
420
|
|
|
333
|
-
A step
|
|
334
|
-
|
|
335
|
-
and moves the context to the next version.
|
|
336
|
-
|
|
337
|
-
|
|
421
|
+
A step returns typed outputs (`-> Answer`, `tuple[...]`, `list[...]`) or a
|
|
422
|
+
change instruction (`Emit`, `Edit`, `Drop`, `Relate`); the runtime compiles
|
|
423
|
+
them into one **atomic** `Patch` and moves the context to the next version.
|
|
424
|
+
`effects` remains available for advanced/batch writes. The event that wakes a
|
|
425
|
+
step is *derived* from that same change — the causal chain can never drift from
|
|
426
|
+
the actual state.
|
|
338
427
|
|
|
339
428
|
## What makes it different
|
|
340
429
|
|
|
@@ -343,7 +432,7 @@ actual state.
|
|
|
343
432
|
| A program follows a graph / plan | Agents **react** to state changes |
|
|
344
433
|
| Messages are strings | **Typed, versioned artifacts** (`Claim`, `Evidence`, `Answer`) |
|
|
345
434
|
| Orchestration is explicit wiring | Orchestration **falls out of the state** |
|
|
346
|
-
| A unit of work
|
|
435
|
+
| A unit of work returns a change object | A step **returns typed artifacts**; the runtime compiles them |
|
|
347
436
|
| Retries/rollback are manual | Context is **git-like versioned** (diff, rollback, branch, merge) |
|
|
348
437
|
| "Who produced this?" is lost | **Provenance** links every derived artifact to its inputs |
|
|
349
438
|
| The model guesses the numbers | **Calculations are calculated** — the LLM is a reasoning component, not the source of truth |
|
|
@@ -360,15 +449,15 @@ Full breakdown, including where reactifact is *not* the right choice:
|
|
|
360
449
|
|
|
361
450
|
- **Context** — versioned working state, git-like commits, `diff`/`rollback`/`merge`.
|
|
362
451
|
- **Artifact** — a first-class typed object (`Claim`, `Evidence`, `Answer`), not a string blob.
|
|
363
|
-
- **Effects** —
|
|
452
|
+
- **Effects** — the low-level write surface (`create/update/delete/link`); most steps return artifacts or `Edit`/`Drop`/`Relate` instead.
|
|
364
453
|
- **Patch** — the compiled, validated change-set applied as one atomic commit.
|
|
365
|
-
- **Step** — the unit of work:
|
|
366
|
-
- **
|
|
454
|
+
- **Step** — the unit of work: `@step(consumes=Question) -> Answer`; `produces` is inferred from the return type.
|
|
455
|
+
- **StepGroup** — an optional container when several steps share a trigger, retry, timeout or commit.
|
|
367
456
|
- **Source** — retrieval is a capability: vector search is *one* strategy, not the only one; filesystem, CSV, and the web are equally first-class today (direct API, keyword, and SQL sources are on the [roadmap](docs/roadmap.md#next), not yet shipped). For corpus ingestion, the optional `knowledge` layer adds connectors, chunking, embeddings and SQLite/Qdrant indexes.
|
|
368
457
|
- **Provenance** — every derived artifact links to what produced it
|
|
369
458
|
(`Answer —supported_by→ Claim —derived_from→ Evidence —extracted_from→ Doc`).
|
|
370
|
-
- **HITL** —
|
|
371
|
-
- **Outbox** —
|
|
459
|
+
- **HITL** — `human.ask(...)` → `PendingQuestion`, answered via `human.resume(...)`.
|
|
460
|
+
- **Outbox** — `outbox.act(...)` → `PendingAction`, performed once *after* the commit by `Runtime(dispatcher=...)`; safe across replay, retries and merged branches.
|
|
372
461
|
|
|
373
462
|
## In the box
|
|
374
463
|
|
|
@@ -390,7 +479,7 @@ Full breakdown, including where reactifact is *not* the right choice:
|
|
|
390
479
|
`ReplayLLM`, all for audit and safe alternative states.
|
|
391
480
|
- **Sessions** — `SessionStore` over `FileKVBackend`/`SQLiteKVBackend`
|
|
392
481
|
(and `PostgreSQLKVBackend`) for durable chat memory.
|
|
393
|
-
- **Web layer** — `
|
|
482
|
+
- **Web layer** — `Chat` + `create_chat_router` mount a canonical SSE
|
|
394
483
|
chat on *your* FastAPI app; errors degrade to a logged fallback, never a 500.
|
|
395
484
|
- **Recipes** — `find`/`find_all` (typed lookup in `inputs`), `fan_out_sources`,
|
|
396
485
|
`materialize_doc`, `StatusMachine`, `WindowSummarizer`/`WindowPruner`
|
|
@@ -478,7 +567,7 @@ npx --yes pyright # static check with the repo's pyproject config
|
|
|
478
567
|
|
|
479
568
|
## Status & contributing
|
|
480
569
|
|
|
481
|
-
Active, `0.
|
|
570
|
+
Active, `0.23.0`, pre-1.0 — the API is stabilizing and `1.0` will freeze it
|
|
482
571
|
(see the [roadmap](docs/roadmap.md)); releases follow
|
|
483
572
|
[Keep a Changelog](CHANGELOG.md). Questions and design discussion live in
|
|
484
573
|
[GitHub Discussions](https://github.com/bzdvdn/reactifact/discussions); a star,
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
<img src="docs/img/reactifact-hero.png" alt="reactifact — typed artifacts, reactive steps, auditable state" width="800">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
**
|
|
5
|
+
**Agents that can prove their answers.** reactifact is a Python framework for
|
|
6
|
+
knowledge agents over docs, spreadsheets and the web — where the path per
|
|
7
|
+
question isn't a graph you can draw. The model reasons, plain Python computes
|
|
8
|
+
the numbers, and every answer links to the evidence behind it — then replays to
|
|
9
|
+
the same hash.
|
|
6
10
|
|
|
7
11
|
[](https://github.com/bzdvdn/reactifact/actions/workflows/ci.yml)
|
|
8
12
|
[](https://codecov.io/gh/bzdvdn/reactifact)
|
|
@@ -15,6 +19,97 @@
|
|
|
15
19
|
> **Is:** a Python library (3 core deps) · single-process · typed, versioned artifacts with provenance · deterministic replay · optional code-first knowledge base (SQLite/Qdrant) · runs offline, no API key
|
|
16
20
|
> **Isn't:** a managed platform · a distributed task queue · a pre-built agent/tool marketplace
|
|
17
21
|
|
|
22
|
+
## Sixty seconds, no API key
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
uvx reactifact demo # or: uv add reactifact && uv run reactifact demo
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
reactifact demo — computed, cited, reproducible
|
|
30
|
+
|
|
31
|
+
question What is the Q2 cloud spend variance, and does policy require approval?
|
|
32
|
+
sources transactions.csv (6 rows) · budget.csv (2 rows) · policy.md
|
|
33
|
+
|
|
34
|
+
answer Q2 cloud spend was $45,000 against a $40,000 budget (+12.5%) — exceeds
|
|
35
|
+
the 10% policy threshold. CFO approval is required before the quarter
|
|
36
|
+
is closed.
|
|
37
|
+
|
|
38
|
+
computed cloud spend $45,000 (2026-04 $12,000, 2026-05 $15,000, 2026-06 $18,000)
|
|
39
|
+
policy threshold 10% → approval required
|
|
40
|
+
citations budget.csv, transactions.csv, policy.md
|
|
41
|
+
|
|
42
|
+
provenance (context.related(answer.id, "supported_by"))
|
|
43
|
+
Answer → supported_by → Variance, policy.md
|
|
44
|
+
Variance → calculated_from → Spend, budget.csv
|
|
45
|
+
Spend → calculated_from → transactions.csv
|
|
46
|
+
|
|
47
|
+
context sha256 ffeca1bb18cbc34749d3b5bdb40d85677b1ac33d47fb1160f6c89053694b2783
|
|
48
|
+
re-run identical ✓
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Three `@step` functions, none of which imports another by name: they declare
|
|
52
|
+
what they consume and produce, and the runtime derives the order from state.
|
|
53
|
+
The figures come from plain Python, and both the answer and the numbers carry
|
|
54
|
+
the hash of the exact state that produced them. Models, steps and the printer
|
|
55
|
+
all live in [`reactifact/demo.py`](reactifact/demo.py) — copy the pipeline,
|
|
56
|
+
then change the data.
|
|
57
|
+
|
|
58
|
+
## Define a step, run it
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from pydantic import BaseModel
|
|
62
|
+
from reactifact import Pipeline, step
|
|
63
|
+
|
|
64
|
+
class Question(BaseModel):
|
|
65
|
+
text: str
|
|
66
|
+
|
|
67
|
+
class Answer(BaseModel):
|
|
68
|
+
text: str
|
|
69
|
+
|
|
70
|
+
@step(consumes=Question) # produces=Answer inferred from ->
|
|
71
|
+
def answer(question: Question) -> Answer:
|
|
72
|
+
return Answer(text=f"you asked: {question.text}")
|
|
73
|
+
|
|
74
|
+
pipeline = Pipeline(steps=[answer], seed_type=Question, answer_type=Answer)
|
|
75
|
+
result = pipeline.run(Question(text="why did cloud spend jump in Q2?"))
|
|
76
|
+
|
|
77
|
+
print(result.latest(Answer).data.text)
|
|
78
|
+
print(result.sources(result.latest(Answer))) # citations, as a query
|
|
79
|
+
print(result.hash) # reproducible fingerprint
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`Pipeline` owns steps, resources and defaults, and builds a fresh `Context` +
|
|
83
|
+
`Runtime` per run. Use `reactifact run` for the same thing from the CLI:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
reactifact run app:pipeline "why did cloud spend jump in Q2?"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Who this is for
|
|
90
|
+
|
|
91
|
+
- **Knowledge assistants over mixed sources.** One question spans Confluence, a
|
|
92
|
+
spreadsheet and a web page; the next spans a different subset. You declare
|
|
93
|
+
what artifacts exist and what agents can do with them, and the runtime derives
|
|
94
|
+
the path. Figures are computed, answers cite their sources, and a run replays
|
|
95
|
+
to the same hash.
|
|
96
|
+
- **Experiment harnesses for agent strategies.** Fork a context, run two
|
|
97
|
+
strategies on their own branches, merge them back, and replay a finished run
|
|
98
|
+
by hash — see [`forklab`](examples/forklab) and
|
|
99
|
+
[Branching](docs/en/branching.md).
|
|
100
|
+
|
|
101
|
+
**RAG is included, not required.** `reactifact.quick.rag` gets retrieval with
|
|
102
|
+
provenance in a few lines; `reactifact.knowledge` is the code-first ingestion
|
|
103
|
+
layer behind it — connectors, chunking, incremental indexing, and real indexes
|
|
104
|
+
(SQLite, Chroma, Qdrant, pgvector). The core never imports either.
|
|
105
|
+
|
|
106
|
+
**Not for a fixed A → B → C pipeline.** There a plain function or LangGraph is
|
|
107
|
+
shorter and just as correct.
|
|
108
|
+
|
|
109
|
+
**Not a connector library.** If you need dozens of managed SaaS sources with
|
|
110
|
+
built-in ingestion, LlamaIndex is the better tool. reactifact's `Source` layer is
|
|
111
|
+
deliberately small and code-first: filesystem, CSV, embeddings, web, MCP.
|
|
112
|
+
|
|
18
113
|
## Start here
|
|
19
114
|
|
|
20
115
|
**Build an app**
|
|
@@ -51,7 +146,7 @@ Every derived artifact then links to what produced it
|
|
|
51
146
|
that?"* is a query, not a guess — and the run is reproducible (`context_hash`)
|
|
52
147
|
and verifiable (`reactifact replay --verify`).
|
|
53
148
|
|
|
54
|
-
##
|
|
149
|
+
## The same idea, a real pipeline
|
|
55
150
|
|
|
56
151
|
[`examples/fintech_audit`](examples/fintech_audit) — a transactions CSV, a budget
|
|
57
152
|
CSV and a policy doc, **no API key**. The model never produces the number; plain
|
|
@@ -83,22 +178,21 @@ is never the source of truth (trimmed from
|
|
|
83
178
|
[`examples/fintech_audit/steps.py`](examples/fintech_audit/steps.py)):
|
|
84
179
|
|
|
85
180
|
```python
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
print(
|
|
101
|
-
print(context_hash(ctx)) # reproducible fingerprint
|
|
181
|
+
from reactifact import CALCULATED_FROM, Context, step
|
|
182
|
+
|
|
183
|
+
@step(consumes=Spend, provenance=CALCULATED_FROM) # wakes when Spend exists
|
|
184
|
+
def compute_variance(spend: Spend, context: Context) -> Variance:
|
|
185
|
+
budget = cloud_budget(context) # read from budget.csv
|
|
186
|
+
pct = (spend.total - budget) / budget # deterministic — never the model
|
|
187
|
+
return Variance(actual=spend.total, budget=budget, pct=pct,
|
|
188
|
+
threshold=0.10, within_policy=abs(pct) <= 0.10)
|
|
189
|
+
# creates the artifact and links it calculated_from→ Spend
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
result = Pipeline(steps=[compute_spend, compute_variance, answer]) \
|
|
193
|
+
.run(Question(text="what is the Q2 cloud spend variance?"))
|
|
194
|
+
print(report_to_markdown(build_report(result.context, result.latest(AuditAnswer))))
|
|
195
|
+
print(result.hash) # reproducible fingerprint
|
|
102
196
|
```
|
|
103
197
|
|
|
104
198
|
## Knowledge assistants, live
|
|
@@ -191,7 +285,7 @@ derives what runs next from state.
|
|
|
191
285
|
|
|
192
286
|
| Celery | reactifact |
|
|
193
287
|
| --- | --- |
|
|
194
|
-
| a task |
|
|
288
|
+
| a task | `@step(consumes=Input) -> Model` — a unit of work that returns a typed artifact |
|
|
195
289
|
| `delay()` / `apply_async()` | you don't call it: creating the input artifact **is** the trigger |
|
|
196
290
|
| routing key / queue | `Consume(Type)` — which artifact type wakes the task |
|
|
197
291
|
| chain / group / chord | several step `Consume`s / `produces`; the runtime derives the order |
|
|
@@ -210,14 +304,14 @@ pip install reactifact
|
|
|
210
304
|
```
|
|
211
305
|
|
|
212
306
|
Runs offline, no API key needed — paste this straight into a `.py` file. Two
|
|
213
|
-
|
|
307
|
+
steps, no graph edge declared between them — the second reacts because the
|
|
214
308
|
first one's output exists, and the answer carries *proof* of where it came
|
|
215
309
|
from:
|
|
216
310
|
|
|
217
311
|
```python
|
|
218
312
|
from pydantic import BaseModel
|
|
219
313
|
|
|
220
|
-
from reactifact import
|
|
314
|
+
from reactifact import Pipeline, SUPPORTED_BY, step
|
|
221
315
|
|
|
222
316
|
|
|
223
317
|
class Question(BaseModel):
|
|
@@ -238,31 +332,25 @@ DOCS = {
|
|
|
238
332
|
}
|
|
239
333
|
|
|
240
334
|
|
|
241
|
-
@step(
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
if hit is not None:
|
|
246
|
-
call.effects.create(Evidence(text=hit))
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
@step(produces=Answer, consumes=Evidence)
|
|
250
|
-
async def answer_from_evidence(call):
|
|
251
|
-
evidence = call.trigger
|
|
252
|
-
call.effects.create(Answer(text=evidence.data.text)).link("supported_by", evidence)
|
|
335
|
+
@step(consumes=Question)
|
|
336
|
+
def find_evidence(question: Question) -> list[Evidence]:
|
|
337
|
+
hit = next((v for k, v in DOCS.items() if k in question.text.lower()), None)
|
|
338
|
+
return [Evidence(text=hit)] if hit is not None else []
|
|
253
339
|
|
|
254
340
|
|
|
255
|
-
|
|
256
|
-
|
|
341
|
+
@step(consumes=Evidence, provenance=SUPPORTED_BY)
|
|
342
|
+
def answer_from_evidence(evidence: Evidence) -> Answer:
|
|
343
|
+
return Answer(text=evidence.text)
|
|
257
344
|
|
|
258
|
-
ctx = Context(resources=RuntimeResources())
|
|
259
|
-
runtime = Runtime(ctx, agents=[search_agent, answer_agent], budget=Budget(max_runs=10))
|
|
260
345
|
|
|
261
|
-
|
|
262
|
-
|
|
346
|
+
result = Pipeline(
|
|
347
|
+
steps=[find_evidence, answer_from_evidence],
|
|
348
|
+
seed_type=Question,
|
|
349
|
+
answer_type=Answer,
|
|
350
|
+
).run(Question(text="what's your refund policy?"))
|
|
263
351
|
|
|
264
|
-
answer =
|
|
265
|
-
evidence =
|
|
352
|
+
answer = result.latest(Answer)
|
|
353
|
+
evidence = result.context.related(answer.id, SUPPORTED_BY)[0]
|
|
266
354
|
print(answer.data.text) # "Refunds are available within 14 days of purchase."
|
|
267
355
|
print("supported_by:", evidence.data.text) # provenance you can trace, not just a string in a log
|
|
268
356
|
```
|
|
@@ -273,17 +361,18 @@ print("supported_by:", evidence.data.text) # provenance you can trace, not just
|
|
|
273
361
|
ARTIFACT CREATED / UPDATED
|
|
274
362
|
│
|
|
275
363
|
▼
|
|
276
|
-
|
|
364
|
+
STEPS REACT ──effects──► Effects ──compile──► Patch
|
|
277
365
|
▲ │
|
|
278
366
|
└──────────────────────────────────────────────────────┘
|
|
279
367
|
Context v+1
|
|
280
368
|
```
|
|
281
369
|
|
|
282
|
-
A step
|
|
283
|
-
|
|
284
|
-
and moves the context to the next version.
|
|
285
|
-
|
|
286
|
-
|
|
370
|
+
A step returns typed outputs (`-> Answer`, `tuple[...]`, `list[...]`) or a
|
|
371
|
+
change instruction (`Emit`, `Edit`, `Drop`, `Relate`); the runtime compiles
|
|
372
|
+
them into one **atomic** `Patch` and moves the context to the next version.
|
|
373
|
+
`effects` remains available for advanced/batch writes. The event that wakes a
|
|
374
|
+
step is *derived* from that same change — the causal chain can never drift from
|
|
375
|
+
the actual state.
|
|
287
376
|
|
|
288
377
|
## What makes it different
|
|
289
378
|
|
|
@@ -292,7 +381,7 @@ actual state.
|
|
|
292
381
|
| A program follows a graph / plan | Agents **react** to state changes |
|
|
293
382
|
| Messages are strings | **Typed, versioned artifacts** (`Claim`, `Evidence`, `Answer`) |
|
|
294
383
|
| Orchestration is explicit wiring | Orchestration **falls out of the state** |
|
|
295
|
-
| A unit of work
|
|
384
|
+
| A unit of work returns a change object | A step **returns typed artifacts**; the runtime compiles them |
|
|
296
385
|
| Retries/rollback are manual | Context is **git-like versioned** (diff, rollback, branch, merge) |
|
|
297
386
|
| "Who produced this?" is lost | **Provenance** links every derived artifact to its inputs |
|
|
298
387
|
| The model guesses the numbers | **Calculations are calculated** — the LLM is a reasoning component, not the source of truth |
|
|
@@ -309,15 +398,15 @@ Full breakdown, including where reactifact is *not* the right choice:
|
|
|
309
398
|
|
|
310
399
|
- **Context** — versioned working state, git-like commits, `diff`/`rollback`/`merge`.
|
|
311
400
|
- **Artifact** — a first-class typed object (`Claim`, `Evidence`, `Answer`), not a string blob.
|
|
312
|
-
- **Effects** —
|
|
401
|
+
- **Effects** — the low-level write surface (`create/update/delete/link`); most steps return artifacts or `Edit`/`Drop`/`Relate` instead.
|
|
313
402
|
- **Patch** — the compiled, validated change-set applied as one atomic commit.
|
|
314
|
-
- **Step** — the unit of work:
|
|
315
|
-
- **
|
|
403
|
+
- **Step** — the unit of work: `@step(consumes=Question) -> Answer`; `produces` is inferred from the return type.
|
|
404
|
+
- **StepGroup** — an optional container when several steps share a trigger, retry, timeout or commit.
|
|
316
405
|
- **Source** — retrieval is a capability: vector search is *one* strategy, not the only one; filesystem, CSV, and the web are equally first-class today (direct API, keyword, and SQL sources are on the [roadmap](docs/roadmap.md#next), not yet shipped). For corpus ingestion, the optional `knowledge` layer adds connectors, chunking, embeddings and SQLite/Qdrant indexes.
|
|
317
406
|
- **Provenance** — every derived artifact links to what produced it
|
|
318
407
|
(`Answer —supported_by→ Claim —derived_from→ Evidence —extracted_from→ Doc`).
|
|
319
|
-
- **HITL** —
|
|
320
|
-
- **Outbox** —
|
|
408
|
+
- **HITL** — `human.ask(...)` → `PendingQuestion`, answered via `human.resume(...)`.
|
|
409
|
+
- **Outbox** — `outbox.act(...)` → `PendingAction`, performed once *after* the commit by `Runtime(dispatcher=...)`; safe across replay, retries and merged branches.
|
|
321
410
|
|
|
322
411
|
## In the box
|
|
323
412
|
|
|
@@ -339,7 +428,7 @@ Full breakdown, including where reactifact is *not* the right choice:
|
|
|
339
428
|
`ReplayLLM`, all for audit and safe alternative states.
|
|
340
429
|
- **Sessions** — `SessionStore` over `FileKVBackend`/`SQLiteKVBackend`
|
|
341
430
|
(and `PostgreSQLKVBackend`) for durable chat memory.
|
|
342
|
-
- **Web layer** — `
|
|
431
|
+
- **Web layer** — `Chat` + `create_chat_router` mount a canonical SSE
|
|
343
432
|
chat on *your* FastAPI app; errors degrade to a logged fallback, never a 500.
|
|
344
433
|
- **Recipes** — `find`/`find_all` (typed lookup in `inputs`), `fan_out_sources`,
|
|
345
434
|
`materialize_doc`, `StatusMachine`, `WindowSummarizer`/`WindowPruner`
|
|
@@ -427,7 +516,7 @@ npx --yes pyright # static check with the repo's pyproject config
|
|
|
427
516
|
|
|
428
517
|
## Status & contributing
|
|
429
518
|
|
|
430
|
-
Active, `0.
|
|
519
|
+
Active, `0.23.0`, pre-1.0 — the API is stabilizing and `1.0` will freeze it
|
|
431
520
|
(see the [roadmap](docs/roadmap.md)); releases follow
|
|
432
521
|
[Keep a Changelog](CHANGELOG.md). Questions and design discussion live in
|
|
433
522
|
[GitHub Discussions](https://github.com/bzdvdn/reactifact/discussions); a star,
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "reactifact"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.23.0"
|
|
8
8
|
description = "Reactive, artifact-driven agent runtime: agents transform versioned, typed, provenance-aware artifacts inside an evolving context"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -130,6 +130,7 @@ reactifact = ["py.typed", "skills/*/SKILL.md", "skills/*/references/*.md"]
|
|
|
130
130
|
"daemon/tests/*.py",
|
|
131
131
|
]
|
|
132
132
|
"reactifact.tracing" = ["templates/*.html", "templates/*.css"]
|
|
133
|
+
"reactifact.contracts" = ["templates/*.html", "templates/*.svg"]
|
|
133
134
|
"reactifact.knowledge" = ["templates/*.html"]
|
|
134
135
|
|
|
135
136
|
[tool.pytest.ini_options]
|