← Discover MCPs and Agents
V
MCPAI & MLGitHub

Void-spirit-CLI

Void Spirit CLI terminal AI coding assistant for OpenAI, Gemini, DeepSeek, Ollama, Claude, and other LLM providers.

Links

README

From the repo.

⚡ Void Spirit

Terminal AI coding assistant — any LLM, no login, no geo-restrictions.

npm version license node

Inspired by the agent engineering principles from learn-claude-code. Built for developers who want the same agentic power with any LLM provider — no Anthropic subscription required.


Why Void Spirit?

Most AI coding agents lock you into a single provider. Void Spirit doesn't.

  • 🌏 Works from China — Use DeepSeek, Gemini, or any accessible API. No VPN gymnastics.
  • 🔓 No login, no account — Bring your own API key. That's it.
  • 🏠 Run locally — Full offline mode with Ollama. Your code never leaves your machine.
  • 💰 Zero subscription — Pay only for what you use via API. No $20/mo paywall.
  • 🧠 DeepSeek thinking mode — First-class support for DeepSeek Reasoner's chain-of-thought.

Who Is Void Spirit For?

🧑‍💻 Personal — Indie Devs, Students, Hobbyists

  • Free AI pair programming with any model you choose
  • Learn to code with AI — no subscription paywall
  • Built-in productivity skills: daily planner, notes, learning paths
  • Privacy-first: run Ollama locally, your code stays on your machine

🏢 Teams & Business — Consultants, Startups, Enterprise

  • Token budgets — Cap spending per session (--budget 50000 or --budget-usd 0.50)
  • Team config — Share standardized settings via .void-spirit/team.json in your repo
  • Audit log — Full trail of every AI action for compliance (/audit, --export-audit)
  • Data sovereignty — Run with Ollama or LM Studio, air-gapped, zero data exfiltration
  • Plugin security — Three-tier trust model with SHA-256 integrity verification

Install

# Run instantly (no install)
npx void-spirit

# Or install globally
npm install -g void-spirit
void-spirit   # or: vs

First run will launch the setup wizard to pick your provider and model.


How It Compares

FeatureClaude CodeOpenCodeVoid Spirit
Cost$20/mo subscriptionYour API key onlyYour API key only
China access❌ Blocked⚠️ Possible✅ DeepSeek, Gemini, Ollama, Qwen
Local models✅ Ollama✅ Ollama + LM Studio
Multi-providerClaude only✅ 10+✅ 17+ providers
Login required✅ Anthropic account❌ None❌ None
MCP support✅ Full MCP host
Token budgets✅ Per-session caps
Team config✅ Shared .void-spirit/team.json
Audit log✅ Full action trail + export
LSP integration
Plan/Build modesImplicit via approval
Session persist
Conversation branching✅ Fork & switch
Plugin system✅ GitHub plugins + security
Security sandbox⚠️✅ Path + command sandbox
Subagents✅ Isolated context
Task tracking✅ Persistent todos
On-demand skills✅ Load on need
OpenCode compatible✅ Config + MCP import

OpenCode Compatible

Void Spirit is fully compatible with the OpenCode ecosystem:

MCP Server Support

Connect to any Model Context Protocol server. Configure in .void-spirit/team.json or opencode.json:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..." }
    },
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "./src"]
    }
  }
}

MCP tools appear alongside built-in tools automatically. Use /mcp to list connected servers.

Instruction Files

Void Spirit reads project instruction files from multiple formats:

FileSource
.void-spirit.mdVoid Spirit (highest priority)
AGENTS.mdOpenCode
CLAUDE.mdClaude Code
.cursorrulesCursor
.cursor/rules/*.mdCursor (directory)
.github/copilot-instructions.mdGitHub Copilot

All discovered files are merged into the system prompt automatically.

OpenCode Config Import

Drop an opencode.json or opencode.jsonc in your project root. Void Spirit will:

  1. Import provider and model settings
  2. Import MCP server definitions
  3. Load instruction file references

Your existing OpenCode config works out of the box — no migration needed.


Supported Providers

ProviderTypeNotes
OpenAICloudGPT-4o, GPT-4, o1, etc.
Google GeminiCloudVia OpenAI-compatible endpoint
Anthropic ClaudeCloudNative SDK
DeepSeekCloudReasoner thinking mode ✅
GroqCloudUltra-fast inference
OllamaLocalNo internet needed
Together AICloudOpen-source models
OpenRouterCloudMiMo, Mistral, Llama, etc.
MistralCloudLarge, Nemo, Pixtral
PerplexityCloudSonar reasoning
FireworksCloudServerless Llama endpoints
CerebrasCloudUltra-fast hardware
Moonshot / KimiCloudNative endpoint
Alibaba QwenCloudDashScope compatible
SambaNovaCloudSpecialized inference
LM StudioLocalLike Ollama, no key needed
CustomAnyAny OpenAI-compatible endpoint

Features

  • 🛠️ 15 built-in tools — File ops, shell commands, git, web fetch, grep, search, subagents, todos, skills
  • 🤖 Subagents — Spawn isolated sub-agents for focused tasks, keeping main context clean
  • 📋 Task tracking — AI-managed todo list that persists across sessions
  • 📚 On-demand skills — Load expert knowledge modules only when needed (saves context)
  • 💾 Session persistence — Auto-save on exit, resume with --resume
  • 🌿 Conversation branching — Fork checkpoints, switch between them
  • Parallel tool execution — Read-only tools run concurrently for speed
  • 📝 Streaming markdown — Rich formatted output in terminal
  • 🧠 Persistent memory — Cross-session memory with /memory add
  • 📊 Token tracking — Real-time usage and cost estimation
  • 💵 Token budgets — Per-session spending caps (--budget, --budget-usd)
  • 👥 Team config — Shared settings via .void-spirit/team.json
  • 🎯 Project detection — Auto-detects project type and adapts context
  • 🔒 Security sandbox — Path sandboxing, command blocklist, audit log
  • 📋 Audit export — Export AI action log for compliance (--export-audit)
  • ↩️ Undo/rollback — Revert file changes with /undo
  • 🔌 Plugin system — Install from GitHub with /install <url>

Quick Start

# Start with specific provider
void-spirit --provider deepseek --model deepseek-reasoner --api-key YOUR_KEY

# Use local Ollama
void-spirit --provider ollama --model codellama

# Resume last session
void-spirit --resume

Commands

CommandDescription
/helpShow all commands
/model <name>Switch model
/provider <name>Switch provider
/configShow configuration
/clearClear conversation
/compactSummarize to save context
/image <path>Attach image to next message
/memory add <text>Save a memory
/memoryShow saved memories
/save [name]Save current session
/load [name]List or load sessions
/fork [label]Create conversation checkpoint
/branchesList checkpoints
/switch <label>Restore a checkpoint
/diffShow file changes vs git HEAD
/contextShow context window usage
/statsShow token usage & cost
/undoUndo last file change
/autoToggle auto-approve mode
/exportExport conversation to markdown
/install <url>Install a plugin
/pluginsList installed plugins
/trust <name>Trust a plugin (grant declared permissions)
/untrust <name>Revoke trust (restrict to read-only)
/exitQuit

Tools

The AI can use these tools during conversation:

ToolDescription
read_fileRead files with line numbers
write_fileCreate/overwrite files
edit_fileFind-and-replace edits
list_directoryBrowse file system
search_filesGlob-based file search
grepSearch code contents
run_commandExecute shell commands (with approval)
web_fetchFetch URLs as markdown
git_commandGit operations
create_directoryCreate directories
delete_fileDelete files (with approval)
move_fileMove/rename files
spawn_subagentRun isolated sub-agent for focused tasks
todo_writeAI-managed persistent task tracking
load_skillLoad expert knowledge modules on-demand

Plugins

Install plugins from GitHub:

# Inside Void Spirit
/install https://github.com/user/void-spirit-plugin

Plugins are stored in ~/.void-spirit/plugins/.

Plugin Security

Void Spirit enforces a three-layer plugin security model:

Permission Scoping — Plugins declare capabilities in manifest.json:

{ "permissions": ["fs:read", "fs:write", "web:fetch"] }
CapabilityRiskAllowed Tools
fs:read🟢 Lowread_file, list_directory, search_files, grep
fs:write🟡 Mediumwrite_file, edit_file, create_directory
fs:delete🟠 Highdelete_file, move_file
command:run🔴 Criticalrun_command
git:read🟢 Lowgit (status, log, diff)
git:write🟡 Mediumgit (commit, push, checkout)
web:fetch🟡 Mediumweb_fetch

Trust Tiers — 🟢 Built-in (full) · 🔵 Verified (declared perms) · 🟡 Untrusted (read-only). Use /trust and /untrust to manage. Verified plugins include SHA-256 integrity checking.

Sandboxed Execution — Plugin tool calls go through a proxy executor that blocks unauthorized tools, restricts file paths, and logs all blocked attempts.


Architecture

src/
├── index.js            # CLI entry point
├── config.js           # Provider/model configuration
├── conversation.js     # Message management
├── memory.js           # Persistent memory
├── session.js          # Session save/load
├── token-tracker.js    # Usage & cost tracking
├── security.js         # Path sandbox & command blocklist
├── project-detector.js # Auto-detect project type
├── skill-loader.js     # On-demand skill loading
├── providers/          # LLM provider adapters
│   ├── index.js        # Provider factory
│   ├── openai-compat.js# OpenAI-compatible (most providers)
│   └── anthropic.js    # Native Anthropic SDK
├── tools/              # Agent tool definitions
│   ├── definitions.js  # Tool schemas (15 tools)
│   ├── executor.js     # Tool execution logic
│   ├── subagent.js     # Isolated sub-agent execution
│   └── todo.js         # Persistent task tracking
├── skills/             # Built-in skill prompts
├── plugins/            # Plugin system
│   ├── loader.js       # Plugin loader + security integration
│   ├── plugin-permissions.js  # Capability → tool mapping
│   ├── plugin-sandbox.js      # Sandboxed tool executor
│   └── trust-manager.js       # Three-tier trust model
└── ui/                 # Terminal UI
    ├── banner.js       # Startup banner
    ├── renderer.js     # Markdown renderer
    └── repl.js         # Interactive REPL

Contributing

See CONTRIBUTING.md for setup and guidelines.


License

MIT © silverlion2


⚡ Any LLM. No login. No restrictions. Just code.

Discoverability

  • Project: Void Spirit CLI
  • Summary: A terminal AI coding assistant that works with any LLM provider, supports local or remote models, and avoids account lock-in for agentic development workflows.
  • Primary keywords: ai-agent, ai-coding-assistant, terminal-ai, coding-agent, developer-tools, llm, cli, ai-cli, nodejs, npm-package, openai, gemini
  • Use cases: Terminal AI coding assistance, Provider-agnostic LLM workflows, Local and remote model experimentation
  • Live URL: https://www.npmjs.com/package/void-spirit

Collected info

  • 2 stars
  • Language: JavaScript
  • Source updated: 6/16/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.