Lab build

AutoGen distributed agent creator

AutoGen Core agents that write, register and message new agents across a gRPC distributed runtime.

Role
Builder, end to end
Group
Agents and MCP
Services
AI & LLM systems

What it does

Agents communicate through AutoGen Core message handlers on a gRPC host with one or several worker runtimes. A creator agent uses an existing agent.py as a template to write new agent modules, registers them with the runtime and sends them messages, and the generated agents produce and refine agentic AI business ideas.

What was built

  1. 01

    gRPC worker agent runtime host starts; agents run in one worker or across several worker runtimes.

  2. 02

    Creator agent writes new agent files from the agent.py template and registers them at runtime.

  3. 03

    Async script asks the creator for up to 20 agents and messages each one for a business idea.

  4. 04

    Message handlers route typed messages between agents through AutoGen Core dispatching.

The pipeline, layer by layer

Four layers, one pipeline.

  1. L1Runtime

    • gRPC host runtime
    • Worker runtimes
  2. L2Creation

    • Creator agent
    • agent.py template
  3. L3Agents

    • Generated agents
  4. L4Output

    • Business idea messages

Stack

  • AutoGen Core
  • AutoGen AgentChat
  • gRPC runtime
  • asyncio
  • GPT-4o
  • Python

Next lab build · 38 / 46

CrewAI debate crew

Crew where two agents argue for and against a motion and a judge agent decides.

Previous: Career alter-ego chatbot

Need a system like this in production? Tell us about it.