Use Cases
This document maps practical AGENT-33 deployments to the current runtime surface in engine/src/agent33.
1. Guardrailed Code Review Pipeline
Goal:
- Run scoped, repeatable review flows with explicit risk handling.
Use these modules:
api/routes/workflows.pyapi/routes/reviews.pyreview/service.pyevaluation/service.py
Typical flow:
- Register a review workflow (
/v1/workflows/). - Execute workflow for a PR branch (
/v1/workflows/{name}/execute). - Create review record (
/v1/reviews/). - Assess risk triggers and route L1/L2 signoff.
- Record evaluation run and regressions for release gating.
Best fit:
- Teams that require explicit two-layer review before merge.
2. Release Command Center
Goal:
- Move releases through frozen -> RC -> validate -> publish with checklist controls.
Use these modules:
api/routes/releases.pyrelease/service.pyrelease/checklist.pyrelease/sync.pyrelease/rollback.py
Typical flow:
- Create release (
POST /v1/releases). - Freeze, cut RC, validate.
- Update/evaluate checklist items.
- Publish when checks pass.
- Run sync dry-runs or real syncs.
- Initiate rollback if needed.
Best fit:
- Teams with repeatable release compliance requirements.
3. Autonomous Execution Budgeting
Goal:
- Enforce hard runtime limits for file, command, and network activity.
Use these modules:
api/routes/autonomy.pyautonomy/service.pyautonomy/enforcement.pyautonomy/preflight.py
Typical flow:
- Create and activate budget.
- Run preflight checks.
- Attach runtime enforcer.
- Gate each file/command/network action through enforcement APIs.
- Trigger and resolve escalations.
Best fit:
- High-control automation in regulated or sensitive environments.
4. Evaluation and Regression Gates
Goal:
- Quantify quality and block regressions across PR/merge/release gates.
Use these modules:
api/routes/evaluations.pyevaluation/service.pyevaluation/gates.pyevaluation/regression.py
Typical flow:
- Create run for gate type (
G-PR,G-MRG,G-REL,G-MON). - Submit task results and quality metadata.
- Compute metrics and gate verdict.
- Save baseline for future comparison.
- Triage/resolve regression records.
Best fit:
- Teams with golden-task style quality gates.
5. Memory-Backed Agent Sessions
Goal:
- Use retrieval context from long-term memory and session observations.
Use these modules:
memory/long_term.pymemory/rag.pymemory/hybrid.pymemory/progressive_recall.pyapi/routes/memory_search.py
Typical flow:
- Store observations and embeddings.
- Query memory via progressive recall levels (
index,timeline,full). - Use RAG output as augmented prompt context.
- Summarize sessions for long-horizon context compression.
Best fit:
- Research agents and recurring task assistants.
6. Continuous Improvement Operations
Goal:
- Track research intake, lessons learned, checklist completion, and roadmap refresh.
Use these modules:
api/routes/improvements.pyimprovement/service.pyimprovement/models.py
Typical flow:
- Submit and triage research intake.
- Record lessons and action items.
- Track checklist completion by period.
- Capture metric snapshots and trends.
- Record roadmap refresh outcomes.
Best fit:
- Teams running explicit continuous-improvement loops.
7. Multi-Channel Webhook Intake
Goal:
- Accept Telegram/Discord/Slack/WhatsApp webhook events into AGENT-33.
Use these modules:
api/routes/webhooks.pymessaging/*.py
Typical flow:
- Instantiate adapter(s) in-process.
- Register adapter(s) using
register_adapter(platform, adapter). - Receive provider webhook callbacks via
/v1/webhooks/*. - Enqueue platform events for downstream handling.
Best fit:
- Environments with external chat/event integrations.
Constraint:
- Adapters are not auto-registered in
main.py; explicit bootstrap is required.
8. Prompt and Rollout Optimization (Experimental)
Goal:
- Collect rollouts and iterate prompts via optimization algorithms.
Use these modules:
training/runner.pytraining/optimizer.pytraining/scheduler.pytraining/store.py
Typical flow:
- Record rollouts and rewards.
- Run optimizer across historical rollouts.
- Persist prompt versions and metrics.
- Revert to earlier versions when needed.
Constraint:
- API routes exist (
/v1/training/*), but full runtime wiring (training_runner,agent_optimizer) is partial by default.