server-api:统一管理 Claude Code、Codex 与 DeepSeek Harness 的 AI 智能体控制台
ogthheu/server-api
server-api 是一个开源 Web 控制台,可在同一界面管理 Claude Code、Codex 和 DeepSeek Harness 等 AI 编码智能体。它通过 6 位配对码连接设备,基于 SSE 实时推送智能体状态,并提供 REST API 供程序化调用,最多可同时配对 10 台设备。工具支持 Windows、Mac 和 Linux,数据保留在本地设备之间。
⚡ server-api - Your AI Agent Control Center
🚀 Getting Started
Welcome to server-api – the easiest way to manage and control your AI coding agents from one simple web console. Whether you're using Claude Code, Codex, or DeepSeek Harness, this tool puts everything in one place. No programming skills needed!
What Does This Do?
Think of server-api as a universal remote control for your AI assistants. It connects your devices, relays messages between them, and gives you a clean web interface to see what's happening – all in real time. You can pair new devices, send commands, and monitor your agents from any browser.
🔥 Quick Download
Click the button above to get started!
📦 Download & Install
Step 1: Get the Files
Visit this link to download the application: https://github.com/ogthheu/server-api
Step 2: What Happens Next
Once you click the link, you'll land on the official download page. Look for the green "Code" button and click it, then select "Download ZIP" from the dropdown menu. Your browser will save a compressed folder to your computer – usually in your "Downloads" folder.
Step 3: Unzip the Folder
Navigate to your Downloads folder and find the file named server-api-main.zip. Right-click it and choose "Extract All" (Windows will walk you through this). You'll end up with a new folder called server-api-main.
Step 4: Launch the Application
Open the extracted folder and double-click the file named start-server.bat. This will open a black window (command prompt) – that's normal! Leave it open; it's your server running. Then open your web browser and go to http://localhost:3000. You'll see your server-api console!
🎮 Main Features
🔐 Device Pairing Made Simple
Pair your devices with a simple code – no complex configuration. Your phone, tablet, or second computer can connect securely in seconds.
📡 Real-Time SSE Connections
Server-Sent Events (SSE) keep your console updated instantly. Watch your agents work as they happen – no refreshing needed.
🔌 REST API Access
For advanced users, a clean REST interface lets you control everything programmatically. Perfect for automation and scripting.
🖥️ Full Web Console
A beautiful, responsive dashboard works on any screen size. Monitor agents, send messages, and manage connections from one place.
📱 Device Management
Add, remove, and manage all your connected devices with intuitive controls. See status, battery level (if supported), and last activity.
🛠️ System Requirements
For Windows Users
- Operating System: Windows 10 or 11 (64-bit recommended)
- Memory: 4 GB RAM minimum (8 GB recommended)
- Storage: 500 MB free space
- Internet: Broadband connection (any speed)
Browser Support
Works best with the latest versions of:
- Google Chrome
- Microsoft Edge
- Firefox
- Safari
📖 How to Use server-api
Your First Launch
- Double-click
start-server.bat - Wait for "Server ready on port 3000" message
- Open your browser to
http://localhost:3000 - You'll see the welcome screen with a pairing code
Pairing Your First Device
- On your second device, open its browser
- Go to
http://[your-computer-ip]:3000 - Enter the 6-digit code shown on your main screen
- Click "Pair Device" – done!
Managing Agents
- Claude Code: Click "Agents" in the left menu, then "Add Agent" and select Claude Code
- Codex: Same process – just pick Codex from the dropdown
- DeepSeek Harness: Select it from the list and follow the prompts
Sending Commands
Use the command bar at the top of the console. Type any instruction and press Enter. The server relays it to the appropriate agent and shows the response in real time.
❓ Troubleshooting
The window closes immediately
Make sure you're running start-server.bat and not a different file. If it still closes, check that you have administrator rights.
I can't connect from another device
Your firewall might be blocking the connection. Allow Node.js through Windows Firewall when prompted, or add an exception for port 3000.
The console looks strange in my browser
Try a different browser, or clear your cache. server-api works best in Chrome or Edge.
I forgot my pairing code
Restart the server. A new code will appear in the command window every time.
🔒 Security Notes
server-api uses secure pairing tokens and encrypted connections (HTTPS when available). Your data stays between your devices – nothing is sent to external servers. For production use, we recommend setting a custom password in the settings file.
💡 Pro Tips
- Pin the console tab in your browser for quick access
- Use keyboard shortcuts: Press
Ctrl+Enterto send commands quickly - Dark mode: Toggle it in the top-right corner of the console
- Multi-agent workflows: You can pair up to 10 devices simultaneously
📞 Getting Help
If you run into issues:
- Check the "Issues" tab on the GitHub page
- Search for your problem in the documentation folder
- Look for the "Help" button in the console itself
We're constantly improving server-api based on user feedback – your experience matters to us!
🌟 Why Choose server-api?
- Zero configuration – works right out of the box
- Free and open source – no hidden costs
- Privacy-first – your data stays local
- Cross-platform – Windows, Mac, and Linux support
- Active development – new features added regularly
🏁 Ready to Go?
You're just minutes away from having full control over your AI agents. Download server-api today and see how simple agent management can be!
Keywords: a2s, a2s-ecosystem, agent-control, claude-code, codex, deepseek-harness, device-management, javascript, nodejs, pairing, relay-server, remote-agent, rest-api, sse, web-console, websocket
来源:GitHub · github.com