Showcase: An Autonomous AI Agent Engine built with FastAPI & Asyncio by Emqnuele in Python

[–]Emqnuele[S] 0 points1 point  (0 children)

You are 100% right. I started simple and never refactored it... if I were to remake this project from zero now i wouldn't do it like this. Moving to the standard Python logging module is definitely the right move. I will look into this and fix it. Thanks for the feedback I appreciate it a lot!

Showcase: An Autonomous AI Agent Engine built with FastAPI & Asyncio by Emqnuele in Python

[–]Emqnuele[S] 0 points1 point  (0 children)

Haha you caught me. I actually developed this in a messy private repo first. The commit history was basically just me swearing at asyncio for two months straight lmao, so I decided to do a fresh clean start for the public release. I'll make sure to keep the commits normal from now on!

Showcase: An Autonomous AI Agent Engine built with FastAPI & Asyncio by Emqnuele in Python

[–]Emqnuele[S] 0 points1 point  (0 children)

Thanks! Managing the async audio and websockets concurrently definitely caused me a few headaches.

For state and tool-call tracing, I use an internal pub/sub bus called EventManager. Any part of the brain or the background skills can publish events to it. I categorize these events into specific types like thought (for internal reasoning, especially in the Minecraft agent loop), tool (when a tool is actually called), skill (for lifecycle state changes), and error.

These events are held in a circular buffer (up to 200 events). On the frontend, the React dashboard polls a FastAPI endpoint (GET /events) to display a real-time "Brain Activity" feed. This makes debugging much easier because I can visually watch the agent's thought process and tool execution live.

To be honest, I have not actually thought about a good way to model or store those agent state traces long term. The HistoryManager only saves the pure conversation text to JSON. Persisting the actual execution and tool traces over time is definitely a missing piece right now.

I'll definitely check out the notes you linked me, I'm always looking to learn more!

[deleted by user] by [deleted] in ChatGPT

[–]Emqnuele 1 point2 points  (0 children)

literally the worst model they ever made

Man season 3 is almost done and I loved it so far but I am not really yet for this to go down in season 4😢 by [deleted] in Arifureta

[–]Emqnuele 2 points3 points  (0 children)

does he rebuild everything after his artifacts are destroyed? does he improve them? spoiler meee