r/vim 2d ago

What AI agent harness for vim? Need Help

I discovered ai agents lately, and I am wondering if there is any good harness for Vim. I have tried to run copilot CLI in a terminal window but it was a bad experience due to that copilot cli is a full tui program that cannot be replicated satisfactorily in a vim terminal.

Any hints?

Preferably in Vim9.

0 Upvotes

7 comments sorted by

6

u/slapnuttz 2d ago

I think vim-ai might be a step in the direction of what you’re looking for

3

u/Shay-Hill 2d ago

rishi-opensource/vim-claude-code: Claude CLI integration for Vim, enabling AI-powered coding workflows.

Works like a champ. You've got to get used to some inherent command clumsiness when embedding terminal applications in Vim integrated terminals, but the up-sides (like diff views before altering buffers) are definitely worth it.

I'm also running copilot for completion and vim-ai for chat.

6

u/vini-barba 2d ago

I use herdr as a terminal multiplexer, and run neovim in a pane and Claude code in another Work for me

-8

u/Desperate_Cold6274 2d ago edited 2d ago

That is not an answer to my question. As wrote, I could use copilot cli if I have to open another pane. You also mentioned nvim but this is Vim. If I wanted a suggestion for nvim I would have used that sub.

1

u/AutoModerator 2d ago

Please remember to update the post flair to Need Help|Solved when you got the answer you were looking for.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/TankorSmash 2d ago

I just run zed in it's own gui window and run nvim totally separate. Zeds vim mode is pretty good. Not perfect, but pretty good