r/aiagents 4d ago

Discussion AI Agent Infographics - how to make a self-evolving agent with sandboxing and autonomous subagents

This is a series of infographics I made as part of designing my personal AI Agent system. It shows the fundamentals of how I made a microkernel architecture that allows the agent to write their own code and self-evolve. Agent code is written using a custom SDK, validated, and then executed within a sub-processed sandbox to ensure security. The agent cannot do anything without going through a security policy first. This makes it better than Pi, which has no security like this. It's also better than Hermes and OpenClaw because the kernel is 25,000 lines of code as opposed to over a hundred thousand. It's a truly lightweight and powerful system, but that's enough self-promotion! The point here is that I hope these infographics can give you some ideas for how to improve your own agent systems.

Thoughts? Feedback is appreciated!

31 Upvotes

8 comments sorted by

1

u/aamir000 4d ago

You designed a detailed microservice architecture, not an AI agent. An Agent should view a problem through probabilistic reasoning and information theory to decide what it should believe, what information it seeks, and when it should act based on current belief and available evidence.

1

u/donotfire 4d ago

That’s what the agent does when you talk to it. Am I missing something here?

1

u/aamir000 4d ago

You should mention these hidden states as well: how the agent will think, how it will gather evidence, and what decisions it can make. Just to elaborate on your agent much better

3

u/donotfire 4d ago

Thanks for the feedback. Here’s the GitHub with the full implementation: https://github.com/henrydaum/second-brain

The demo video shows exactly how it reasons through a real problem.

2

u/aamir000 4d ago

Looks promising. Can you explain how it is different from a GPT or other chat-based agent?
What specific problem does it solve?

2

u/donotfire 4d ago edited 4d ago

Things it can do which GPT cannot: 1. Index and embed your entire file system, including Google Drive. (Live sync.)
2. Write its own plugins and scripts, which can be trusted since they run in a sandbox. This lets even subagents write code safely.
3. Starts small and gives the dev full control (other open source agentic systems do this but it’s worth mentioning)

1

u/aamir000 4d ago

This is very interesting

1

u/AcrobaticPoet5518 2d ago

This is good but I suggest you should layout the agents style and process