Discussion about this post

User's avatar
Neural Foundry's avatar

Brilliant breakdown of the core mechanics! The tap> approach for observability is clever tbh, way cleaner than wrestling with logging frameworks. I've run into similar 'class explosion' issues when trying to customize LangChain for edge cases, and seeinghow much can be done with pure fucntions is refreshing.

lukas's avatar

I built a bash agent that does exactly what you describe. I skipped JSON and just used raw text. The program is really minimalistic—just 130 lines of Python code:

I even give the LLM its own PID so the agent can put itself to sleep or even kill itself, haha.

It already works better than expected. It can navigate files, install software, and even spawn sub-agents! GitHub: https://github.com/lukaspfitscher/Agent2

3 more comments...

No posts

Ready for more?