SAAD-DEV

saad-dev.com / work / self_spawnAgents

Multi-agent system · guardrails

self_spawnAgents

Four agents, no human in the revenue loop — and a profit-blind ethics auditor that can veto the other three. Frozen-config hashes, a sandboxed code generator, capped budgets per child. 140 tests.

$ python -m aae.mother --propose
  1. [mother] vertical proposal · rung 2 1.2s
  2. [ethics] profit-blind review ....... PASS
  3. [builder] tool generated · gVisor sandbox 4.8s
  4. [child] budget cap $40 · spawned
  5. [human] approved ✓
  6. ✓ 140/140 tests · frozen hashes intact

What it does

A reference implementation of a four-agent system: a controller that proposes new ventures, a sandboxed code builder, capped-budget child agents, and a profit-blind ethics auditor that can veto the other three.

How it works

  • Mother agent: a stateful LangGraph controller that manages cash flow across three pots.
  • Code builder: stateless, generating tools inside a gVisor sandbox.
  • Ethics auditor: profit-blind, with a frozen prompt, and the power to veto.
  • Child agents: one per venture, each with a capped budget.
  • Frozen-config integrity: changing a protected file trips an alarm unless its hash is re-signed; an operator kill switch works over email.

By the numbers

  • 4 agents
  • 140 tests
  • frozen-config hashes
  • capped budgets per child

Stack

  • Python
  • LangGraph
  • Anthropic Claude
  • PostgreSQL
  • Docker
  • gVisor

Questions

Can I run self_spawnAgents myself?

Yes. It is open source at https://github.com/s-wasim/self_spawnAgents, and the README walks through running it locally.

Can Saad Waseem build something like self_spawnAgents for my team?

Yes. He builds production AI agents and automations like this one, remotely from Lahore for teams in the US and EU, at $40/hr for build work. Book 20 minutes from the CV, or email saad@saad-dev.com.