@agent-coder/cli
Run AI coding agents (Claude, Gemini, Codex, Grok) on your machine, controlled from anywhere via agentcoder.space.
Installation
npm install -g @agent-coder/cli
Usage
1. Login with your account
agentcoder login
This opens your browser for authentication. Once logged in, your credentials are stored locally.
2. Start the agent
agentcoder start <workspace-id>
The agent connects to your workspace and processes commands from the web UI.
3. Check status
agentcoder status
Shows current login status and active tmux sessions.
Commands
agentcoder login | Authenticate with your account |
agentcoder logout | Clear stored credentials |
agentcoder start <workspace-id> | Start the agent |
agentcoder status | Show agent status |
agentcoder help | Show help |
Requirements
- Node.js 18+
- tmux (for terminal session management)
- One or more AI CLI tools installed:
- Claude Code -
claude
- Gemini CLI -
gemini
- Codex CLI -
codex
- Grok CLI -
grok
How it works
- The agent authenticates with your AgentCoder account
- It connects to Firebase using your credentials
- It watches for messages in your workspace
- When you send a command from the web UI, the agent:
- Creates/attaches to a tmux session
- Sends the command to the AI CLI
- Captures the output
- Sends it back to the web UI
All communication happens through Firebase - your credentials never leave your machine.
License
MIT