After several refinements, I built a framework that is actually working for me and I believe is easy for "humans". It follows Enterprise engineering principles to AI, and now my productive agentic sessions are lasting ~25% longer before depleting my tokens.
The architecture relies on 3 rules:
- Pull-Based Workflow: Agents read a Markdown Kanban board (team_status.md) and pull tickets instead of being pushed tasks.
- Anti-Loop Budgets: Agents have a hard stop after 5 failed iterations to prevent token exhaustion.
- TOML for A2A: Agent-to-agent requests use TOML to eliminate hallucinated JSON syntax errors.
I know agentic bootstrapping can be complex for non-technicals, so I designed this for zero-friction setup. You don't configure anything manually, ust paste this into your favorite IDE (Cursor, Claude, Antigravity):
"Deploy the bootstrap of the project from here https://github.com/aavilagallego/TheFoundry and let's start working."
An ephemeral @bootstrapper agent will autonomously clone the repo, hydrate the global constitution (AGENTS.md), and then permanently delete its own source code to keep your repo clean.
I’ll keep evolving the rules, but this system is yielding great results today. Happy to help and I’d love to hear your thoughts to improve the system!