CYBERAUTOMATIONSStart a project
Agent frameworkScaffold

A multi-agent back office, defined in two config files

A back-office agent system where roles and tasks are config, not code: 14 agent roles, 9 task definitions, a model fallback chain and a human review gate on anything that goes out the door.

agent roles in config
14
task definitions
9
step model fallback
3

The problem

A small automation business repeats the same back-office loops every week: find prospects, study competitors, draft outreach, plan content and qualify the leads that come in.

Building one script per chore leaves you with a pile of scripts that each carry their own prompts and model settings, with no shared place to review what they produce before it reaches a customer.

The approach

  1. Roles and tasks live in two YAML files, in the same layout CrewAI uses. Changing who does what is a config edit, not a code change.
  2. One orchestrator class loads the config, asks a router which model to use, runs a business cycle and returns a structured brief with the next actions to take.
  3. The model router holds a three-step priority chain (primary, fallback, second fallback). Each step is set by an environment variable, so swapping providers needs no rebuild.
  4. A human review tool marks every public-facing draft as pending review. The operating rule is simple: no post, outreach message, teardown or proposal is released without a person approving it.
  5. Every record carries a tenant id, so serving a second customer does not mean rewriting file paths or collection names.
  6. Docker Compose starts the app with a vector store and a workflow engine beside it, so the whole stack runs on one machine for development.

How it flows

YouOrchestratorModel routerAgentsHuman reviewStart a business cycleLoad roles and tasks from YAMLWhich model for this task?Primary, or a fallbackRun the tasksDrafts marked pendingApproved items onlyBrief with next actions
  1. You to Orchestrator: Start a business cycle
  2. Orchestrator: Load roles and tasks from YAML
  3. Orchestrator to Model router: Which model for this task?
  4. Model router to Orchestrator: Primary, or a fallback
  5. Orchestrator to Agents: Run the tasks
  6. Agents to Human review: Drafts marked pending
  7. Human review to Orchestrator: Approved items only
  8. Orchestrator to You: Brief with next actions
One business cycle, from request to an approved brief. Solid arrows are requests, dashed arrows are replies.
Show this diagram as Mermaid text
sequenceDiagram
    participant P0 as You
    participant P1 as Orchestrator
    participant P2 as Model router
    participant P3 as Agents
    participant P4 as Human review
    P0->>P1: Start a business cycle
    P1->>P1: Load roles and tasks from YAML
    P1->>P2: Which model for this task?
    P2-->>P1: Primary, or a fallback
    P1->>P3: Run the tasks
    P3->>P4: Drafts marked pending
    P4-->>P1: Approved items only
    P1-->>P0: Brief with next actions

Tech stack

Language
Python
Agent config
CrewAI layout (agents.yaml and tasks.yaml), PyYAML
Model routing
Priority chain of three providers, set by environment variables
Memory
ChromaDB
Workflow engine
n8n
Logging
structlog (structured logs)
Runtime
Docker Compose, Makefile

Results

  • The scaffold runs end to end: a dry run loads all 14 roles and 9 tasks, picks a model and prints the full operating brief as JSON.
  • Roles, model routing and the review gate now sit in one place instead of being copied into separate scripts.
  • This is an early build and we say so. The research tools return placeholder data until live search integrations are connected, so there are no performance numbers to report yet.

Every figure on this page comes from the project's own code, tests or notes. Where there is no measured number, we describe the outcome in words.

Demo

agents.yaml
growth_research_agent:
  role: >
    Growth Research and Prospect Intelligence Lead
  goal: >
    Find high-fit prospects, identify pain points, research goals, and surface outreach angles.
  backstory: >
    You research creators, educators, and adjacent business operators who match the CyberAutomations ICP.
    You look for bottlenecks in content, support, funnel operations, and platform inconsistency.
One of the 14 agent roles, as written in agents.yaml.

An architecture diagram and a walkthrough of the intake flow are being prepared.

Source code

The code is public. View the Agentic Agency repository on GitHub.

Service

Agent pipelines

Multi-agent research systems with validation gates, built for a specific research task.

See all custom build services

More builds

Last updated 2026-11-11

Want something like this on your data?

Tell us what you want automated. If it fits, we will tell you exactly what it looks like and what it costs.