Self-evolving agents: letting the agent write its own tools and MCP servers, hot-loaded mid-session

Hofi2010 · reddit · 2026-11-22

The author shares an experiment in self-evolving agent architecture: the agent gets code execution and a bash shell inside a Docker container with internet access, and can write its own tools and MCP servers, hot-load them within the current session, and keep them in its codebase to reuse or modify for future goals. The results it comes up with are surprisingly creative. The post invites discussion with others trying similar ideas.

Original post →

More from coding & agent

coding & agent channel →