Intergentum: a swarm of AI agents in pure Python 3.11 with rewind 10 times per second
A developer with two decades of experience has published the alpha of Intergentum on GitHub: teams of AI agents and their tools are visible on a single graph, and the operator can step in at any moment. The code was written by AI, but everything runs on pure Python 3.11, so no external libraries need to be installed. If an agent gets stuck in a loop, the world can be paused and rewound, with state snapshots written to disk 10 times per second. For authors of multi-agent systems, it is an example of debugging a swarm like a video recording.
AI-processed from Habr AI; edited by Hamidun News
Imagine you have launched a dozen AI agents, and one of them silently went around in circles while another patched the code with yet another hack. Figuring out where things went wrong is usually impossible: the logs are long and the steps are fast. After two decades of manual development, the author of a Habr article built his first project in which the code was written by AI.
To solve this pain, he created Intergentum, an agent system where everything is visible on a single graph and time can be paused and rewound. The system writes a binary state snapshot to disk 10 times per second or more, and it needs only Python 3.11 to run, with no third-party libraries.
It is still an alpha version, but anyone building multi-agent pipelines should study the ideas.
Where it came from
At first, the author wanted to reproduce locally the way frontier models conduct research. He assembled a stack of Visual Studio Code, Roo, LM Studio, a local LLM, and MCP tools for reading websites and PDFs. A model with a small number of parameters could call tools, write files, and even code, but it could not tell whether the information it found was useful or nonsense. So it was forbidden to "recall" anything: every claim was checked through search, and the checks looked not only for contradictions but also for discrepancies in detail and data accuracy.
In the heaviest orchestrator mode, such research took about five hours and produced a very decent result. Lighter modes fit into roughly 30 minutes, but their quality clearly lagged behind the research of frontier labs. When the author read the news that Roo was discontinuing support, he changed plans: instead of a research agent, he decided to write the entire agent system.
How the system works
The operator sees trees of agents and subagents on an interactive graph, together with their tools. Any node can be messaged directly while it is working, stopped, started, given skills, or connected to another agent so they can help each other. Users are first greeted by concierge agents. By default they do nothing themselves; they only create executor subagents and hand out tasks.
Almost everything in the system reduces to tool calls. Communication between agents is simply the right of one to call the send_message tool of another. Even the GUI here is a tool: it greets the user, spawns the first agents, and hosts the interface backend.
The architecture was meant to be a "microkernel plus modules," but, as the author admits, it turned out closer to a "fat kernel": common behavior, such as the template-based text renderer and the multimodal content manager, had to be moved into the kernel. Inference, tool and subagent calls, roles, and skills were moved into modules, and most of them can be removed or replaced with your own.
The most interesting example is the message queue. There is no separate "queue" entity in the code. While an agent waits for a running tool to respond, messages can still be written to its feed, but the inference module simply does not show the model messages that arrived after an unfinished tool call. The agent sees them only after the response, and queue-like behavior emerges. The author calls such mechanics emergent: you program not the behavior but the "laws of physics" of the environment, and in return you get coverage of thousands of edge cases you never considered.
Capabilities and limitations
The system is multimodal at the kernel level: text sits alongside images, video, audio, 3D models, and documents. The router builds the conversion chain by itself, depending on the format the specific model understands. In the demo, an agent opened a 3D model of a hockey puck, picked camera angles, rendered it with a metallic finish, and produced a PPTX presentation, using only the Python standard library.
For practitioners, the caveats matter:
- rewinding restores the state of the system itself; the external world is not rolled back;
- global variables live in shared memory with locks, but in Docker rooms they are synchronized over stdio, and consistency there is not guaranteed;
- agents mostly live in a sandbox, though the author adds a "I hope" to this;
- roles and skills still need work;
- the author notes that he does not claim expertise and is sharing his experience and the alpha version.
The main lesson for teams: when agents write the code, the bottleneck becomes the human. You need to keep up with approving tasks and reports, and protect the architecture from the patches that AI inserts wherever it can. Pausing, tracing, and rewinding make that process manageable. The project is available on GitHub (VBDUnit/intergentum).
- Dec 1, 2026AWS launches Quick Docs, Sheets and Slides: AI agents edit files alongside people
- Dec 1, 2026A Developer Built a Fork of RSS Guard with an AI Agent: Prompts Fell Short, Specs Helped
- Dec 1, 2026LLM разбирает тендеры для «Полипластика» и готовит коммерческое предложение за 5–7 минут
- Dec 1, 2026ThreatBook Pulls Open-Source AI Pentesting Tool CyberStrikeAI After Hacker Abuse
Key Questions Answered
Where it came from?
At first, the author wanted to reproduce locally the way frontier models conduct research. He assembled a stack of Visual Studio Code, Roo, LM Studio, a local LLM, and MCP tools for reading websites and PDFs. A model with a small number of parameters could call tools, write files, and even code, but it could not tell whether the information it found was useful or nonsense.
How the system works?
The operator sees trees of agents and subagents on an interactive graph, together with their tools. Any node can be messaged directly while it is working, stopped, started, given skills, or connected to another agent so they can help each other. Users are first greeted by concierge agents. By default they do nothing themselves; they only create executor subagents and hand out tasks. Almost everything in the system reduces to tool calls.
What are the key details on Capabilities and limitations?
The system is multimodal at the kernel level: text sits alongside images, video, audio, 3D models, and documents. The router builds the conversion chain by itself, depending on the format the specific model understands. In the demo, an agent opened a 3D model of a hockey puck, picked camera angles, rendered it with a metallic finish, and produced a PPTX presentation, using only the Python standard library.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
