UNPKG

@hivetechs/hive-ai

Version:

Real-time streaming AI consensus platform with HTTP+SSE MCP integration for Claude Code, VS Code, Cursor, and Windsurf - powered by OpenRouter's unified API

78 lines (51 loc) 1.82 kB
# 🚀 Super Simple Hive AI + Claude Code Setup Get Hive AI working in Claude Code in 2 easy commands! ## Prerequisites - **License:** Get a free license at [hivetechs.io/pricing](https://hivetechs.io/pricing) - **OpenRouter API Key:** Get yours at [openrouter.ai/keys](https://openrouter.ai/keys) ## Setup (2 Commands) ```bash # 1. Install Hive AI npm install -g @hivetechs/hive-ai # 2. Intelligent setup (does everything!) hive setup-claude-code ``` The intelligent setup will: - Find your Hive installation automatically - Configure Claude Code MCP integration with correct paths - Test the configuration works - Handle Windows/macOS/Linux differences ## First Use Once in Claude Code, just ask: ``` "Set up Hive AI with my license key abc123 and OpenRouter key sk-or-v1-xyz456" ``` Claude Code will handle the rest automatically! ## What You Get - **4-Stage AI Consensus:** Multiple models working together - **Real-time Streaming:** Watch the consensus pipeline in action - **Professional Analytics:** Track performance and usage - **Profile Management:** Customize AI model configurations - **Complete Integration:** No switching between tools ## Example Usage ``` "Run consensus on: how do I optimize React performance for large datasets?" "Show me analytics for the last 24 hours" "What consensus profiles are available?" "Check system status" ``` ## Troubleshooting If anything goes wrong: ```bash # Remove and re-add claude mcp remove hive-ai claude mcp add hive-ai -s user -- hive mcp-server start # Check status claude mcp list # Debug mode claude --debug ``` ## That's It! You now have access to 320+ AI models from 55+ providers directly in Claude Code through Hive AI's consensus engine. --- *For advanced users: See `CLAUDE_CODE_INTEGRATION.md` for detailed configuration options.*