Sorry if its a shameless plug, but I think it fits here. I wrote a blog post some time ago on how I got my own AI agent (powered by codex) to extend is capabilities by writing more of its own source code: https://www.nunodonato.com/ai-that-expands-its-features-by-w...