None of the AI-in-the-shell projects were good enough for me, so I made my own minimalistic plugin that simply runs a Codex instance in background and attaches it to my shell on demand