← Discover MCPs and Agents
p
MCPAI & MLGitHub

poseidev

Poseidev — The AI-Powered CLI Code Editor. Multi-model orchestration, auto-build, agent collaboration.

Links

README

From the repo.

⚡ Poseidev

The AI-Powered CLI Code Editor — Multi-model orchestration, file operations, agent collaboration, and auto-build, all from your terminal.


✨ Features

FeatureDescription
🤖 Multi-Model AI4 models: Kimi K2, Qwen 3.5 397B, GLM 5.1, DeepSeek V4 Pro
📁 File OperationsAI creates, edits, deletes, and renames files directly on disk
🤝 Model CollabAll 3 NVIDIA models confer in rounds (Architect → Engineer → Reviewer)
🔧 Auto-Build6-phase AI pipeline: architecture → schema → backend → frontend → integration → polish
🔍 Code AnalysisHealth reports, security scans, complexity analysis, dependency checks
🧪 Test GenerationAI-powered test writing and coverage analysis
🔒 Security ScanningStatic analysis + AI-driven vulnerability detection
💬 REPL ChatPersistent conversation with context, streaming, and markdown rendering
🎨 Beautiful TUIGradients, panels, spinners, syntax highlighting, and themed output

🛠️ Install from GitHub (for developers)

npm install poseidev

OR

# 1. Clone the repo
git clone https://github.com/Imdevsup/poseidev.git
cd poseidev/cli

# 2. Install dependencies
npm install

# 3. Build
npm run build

# 4. Link globally (makes 'poseidev' command available everywhere)
npm link

# 5. Set your API key (required — no keys are bundled)
poseidev config set-key nvidia-kimi YOUR_API_KEY

# 6. Start using
poseidev

⚠️ Important: Poseidev ships with no API keys. Every user must provide their own. Get a free key at build.nvidia.com.


💻 Usage

Interactive REPL (main mode)

poseidev

Opens an interactive session. Type naturally — the AI creates files, edits code, and answers questions.

  ❯ create a REST API with Express and MongoDB

  ◆ Writing files...

  ✓ src/index.ts       42 lines · 1.2 KB · /project/src/index.ts
  ✓ src/routes/api.ts   28 lines · 890 B  · /project/src/routes/api.ts
  ✓ package.json        25 lines · 856 B  · /project/package.json

  ✓ All 3 file(s) written and verified

Slash Commands

CommandWhat it does
/modelList and switch between AI models
/keyView and set API keys
/collab <task>All 3 models collaborate on a task
/buildStart the 6-phase auto-build engine
/read <file>Read and display a file
/ls [path]List files in a directory
/create <file>Create a new empty file
/delete <file>Delete a file
/rename <old> <new>Rename or move a file
/search <query>Search project files
/helpShow all 25+ commands

One-Shot Commands

# Chat without entering the REPL
poseidev chat "explain this error: Cannot read property of undefined"

# Analyze code health
poseidev analyze health

# Security scan
poseidev security scan

# Generate tests
poseidev test generate

# Auto-build a full project
poseidev build

🤝 Multi-Model Collaboration

The /collab command makes all 3 NVIDIA models work together in rounds:

  ━━━ Multi-Model Collaboration ━━━
  Models conferring in rounds, building on each other's input

  🧠 Architect     Kimi K2 Instruct
  ⚡ Engineer       Qwen 3.5 397B
  🔍 Reviewer       GLM 5.1

  ───── Round 1 — 🧠 Architect ─────
  [Proposes design and file structure]

  ───── Round 2 — ⚡ Engineer ─────
  [Builds on Architect's plan, adds implementation]

  ───── Round 3 — 🔍 Reviewer ─────
  [Critiques both, finds issues]

  ───── Round 4 — 🧠 Architect ─────
  [Incorporates all feedback into final plan]

  ───── Final — Implementation ─────
  [Engineer writes all files based on agreed plan]

⚙️ Configuration

API Keys

Poseidev supports multiple AI providers. Set keys from the terminal or inside the REPL:

# From terminal
poseidev config set-key nvidia-kimi YOUR_KEY
poseidev config set-key nvidia-glm5 YOUR_KEY
poseidev config set-key nvidia-qwen YOUR_KEY
poseidev config set-key deepseek YOUR_KEY

# From inside the REPL
/key nvidia-kimi YOUR_KEY
/key deepseek YOUR_KEY

Models

ModelProviderKey Required
Kimi K2 InstructNVIDIA NIMnvidia-kimi
Qwen 3.5 397BNVIDIA NIMnvidia-qwen
GLM 5.1NVIDIA NIMnvidia-glm5
DeepSeek V4 ProDeepSeekdeepseek

Switch models anytime:

/model qwen/qwen3.5-397b-a17b

Settings

poseidev config show          # View all settings
poseidev config reset         # Reset to defaults

Or from the REPL:

/tokens max 4096     # Set max tokens
/tokens temp 0.7     # Set temperature
/level expert        # Set experience level
/stream              # Toggle streaming

📁 File Operations

The AI can manipulate files directly. All operations are verified — Poseidev checks that files were written correctly.

  ✓ src/index.ts      42 lines · 1.2 KB · C:\project\src\index.ts     ← verified
  ✓ package.json      25 lines · 856 B · C:\project\package.json      ← verified
  ⚠ config.ts         written but size mismatch                        ← flagged

Verification checks:

  • ✅ File exists after write
  • ✅ Content size matches expected
  • ✅ Deletion confirmed (file gone)
  • ✅ Rename verified (old gone, new exists)

🏗️ Project Structure

poseidev/
├── cli/
│   ├── src/
│   │   ├── index.ts              # Entry point + CLI commands
│   │   ├── repl.ts               # Interactive REPL
│   │   ├── config/
│   │   │   └── configManager.ts  # Persistent config storage
│   │   ├── models/
│   │   │   └── modelManager.ts   # Multi-model + fallback chain
│   │   ├── files/
│   │   │   └── fileOperations.ts # File ops engine + verification
│   │   ├── collab/
│   │   │   └── collabEngine.ts   # Multi-model collaboration
│   │   ├── build/
│   │   │   ├── autoBuildEngine.ts # 6-phase auto-build
│   │   │   └── codeExtractor.ts  # Code extraction from AI
│   │   ├── chat/
│   │   │   ├── conversationStore.ts
│   │   │   └── markdownRenderer.ts
│   │   ├── ui/
│   │   │   └── display.ts        # TUI components
│   │   ├── commands/             # 14 CLI command modules
│   │   ├── prompts/
│   │   │   └── promptEnhancer.ts
│   │   ├── search/
│   │   │   └── searchEngine.ts
│   │   └── onboarding/
│   │       └── wizard.ts         # First-run setup wizard
│   ├── package.json
│   └── tsconfig.json
├── .gitignore
└── README.md

🧩 Requirements

  • Node.js ≥ 18.0.0
  • npm ≥ 8
  • At least one API key (NVIDIA NIM keys are free at build.nvidia.com)

📝 License

MIT © Poseidev


Built with ⚡ by the Poseidev team
Multi-model AI orchestration for the terminal

Collected info

  • 0 stars
  • Language: TypeScript
  • Source updated: 4/29/2026

Config for your environment

Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.

Tool

OS

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "{MCP_ENDPOINT_URL}"
    }
  }
}

Paste into mcpServers in the config file. Restart Cursor after saving.

If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.