docs(readme): document network mode

This commit is contained in:
chahinebrini 2026-06-25 12:43:05 +02:00
parent efd0c7edfd
commit 16d5fa7a45

View File

@ -23,6 +23,30 @@ agenthub status --update
- Codex CLI
- Kimi Code CLI
## Network Mode
AgentHub can expose a project to other machines on the same network.
On the host machine (e.g. Mac):
```bash
cd my-project
agenthub init
agenthub server start --host 0.0.0.0 --port 3377
```
On another machine (e.g. Windows):
```powershell
$env:AGENTHUB_SERVER="http://<mac-ip>:3377"
agenthub task create --title "Windows task" --role implementer
agenthub status
```
Use `--server http://<ip>:3377` on each command instead of the environment variable if you prefer.
`init` always runs locally on the host machine.
## License
MIT