Seed Agent: Minimal Self-Modifying Agent in 186 Lines of Python

vivekhaldar · x · 2026-08-21

Introduces 'Seed,' a minimal starting point for an agent consisting of just 186 lines of Python and a 113-word prompt. It abandons frameworks in favor of a simple loop connecting an LLM to a single tool (exec for bash) and a system prompt file the agent can rewrite. Tools, memory, and skills must be 'grown' by the agent session-by-session into its self/ directory.

Related event: Dev builds minimal self-modifying AI agent in 186 lines of Python(2 posts)→

Original post →

More from coding & agent

coding & agent channel →