Pamoja (Swahili for "together") — a dual-agent agentic workflow plugin for Neovim with Claude Code and Gemini CLI support.
The name reflects the core philosophy of this plugin: working together. Rather than being locked into a single AI provider, Pamoja brings multiple agents together under one unified interface. Claude and Gemini work alongside each other — and alongside you — as collaborative partners in your coding workflow.
- Together with your editor: Seamless Neovim integration
- Together across providers: Switch between Claude and Gemini instantly
- Together on complex tasks: Multi-step workflows that coordinate agent capabilities
One interface. Multiple agents. Working pamoja.
- Dual Provider Support: Seamlessly switch between Claude Code and Gemini CLI
- Ask Agent: Get answers to coding questions with full context
- Code Refactoring: Apply structured refactors with diff preview
- Code Generation: Generate new code into buffers
- Multi-File Operations: Plan and execute cross-file changes safely
- Streaming Output: See responses as they arrive
- Neovim >= 0.9.0
- One or both of:
- Claude Code CLI installed and authenticated
- Gemini CLI installed and authenticated
See the Wiki for detailed setup guides:
- LazyVim Setup - Local development and testing
{
"swmcc/pamoja.nvim",
config = function()
require("pamoja").setup({
default_provider = "claude",
})
end,
}use {
"swmcc/pamoja.nvim",
config = function()
require("pamoja").setup({
default_provider = "claude",
})
end,
}require("pamoja").setup({
-- Default AI provider: "claude" or "gemini"
default_provider = "claude",
-- Provider-specific settings
providers = {
claude = {
cmd = "claude",
args = {},
},
gemini = {
cmd = "gemini",
args = {},
},
},
-- UI settings
ui = {
output = "split", -- "split" | "float" | "tab"
split_direction = "below", -- "below" | "above" | "left" | "right"
split_size = 15,
confirm_changes = true,
},
-- Optional keymaps
keymaps = {
ask = "<leader>pa",
summarize = "<leader>ps",
refactor = "<leader>pr",
generate = "<leader>pg",
task = "<leader>pt",
},
})| Command | Description |
|---|---|
:PamojaAsk [prompt] |
Ask the agent a question |
:PamojaSummarize |
Summarize selected text (visual mode) |
:PamojaRefactor [instruction] |
Refactor selected code |
:PamojaGenerate [description] |
Generate new code |
:PamojaTask [description] |
Run a multi-step task |
:PamojaUse {provider} |
Switch to claude or gemini |
:PamojaStatus |
Show current provider status |
:PamojaCancel |
Cancel running operation |
:PamojaAsk How do I implement binary search in Lua?" Select code visually, then:
:'<,'>PamojaSummarize" Select function, then:
:'<,'>PamojaRefactor Extract the loop into a separate function
" Or refactor entire file:
:PamojaRefactor Add error handling to all functions:PamojaGenerate Create a Lua module for parsing CSV files:PamojaTask Rename the User class to Account across the codebase:PamojaUse gemini
:PamojaStatusSee ARCHITECTURE.md for detailed technical documentation.
See MVP.md for current feature scope and roadmap.
MIT
Contributions welcome. Please open an issue first to discuss proposed changes.
