Pixel-art office dashboard — AI agents work in real-time, walking between rooms based on their task status.
git clone https://github.com/ninenox/pix-agent-office.git
cd pix-agent-office
bash install.sh && source .venv/bin/activate
python main.pyOpen: http://localhost:19000
| Mode | How |
|---|---|
| Manual | Type a task per agent → click ▶ RUN |
| Auto | Describe a goal → click ✦ BRAINSTORM → Boss AI assigns tasks |
Add, remove, or change agents by editing team.json — no code changes needed.
"my-agent": {
"name": "My Agent",
"role": "Researcher",
"model": "qwen2.5:7b",
"provider": "ollama",
"base_url": "http://localhost:11434/v1",
"color": "#f97316",
"system_prompt": "You are...",
"tools": ["web_search", "read_file"]
}Supported providers: anthropic, openai, ollama, or any OpenAI-compatible endpoint.
| Tool | Description | Requires |
|---|---|---|
read_file |
Read from workspace/ |
— |
write_file |
Write to outputs/ |
— |
run_python |
Run Python code | — |
http_request |
HTTP GET/POST/PUT/DELETE | — |
shell_command |
Run shell commands (blocked: rm, sudo, curl…) | — |
web_search |
Real-time web search | BRAVE_API_KEY |
google_calendar |
Fetch calendar events | OAuth setup |
telegram_notify |
Send Telegram messages | TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID |
create_schedule |
Schedule recurring agent tasks | — |
Add a tool: create agents/tools/my_tool.py extending BaseTool → restart.
Agents can schedule themselves from a prompt:
"Show my Google Calendar every day at 10am and notify via Telegram"
Schedules are stored in config/schedules.json and run automatically.
The create_schedule tool accepts:
- Cron presets — e.g.
"ทุกวัน 9 โมง","ทุกชั่วโมง" - Raw cron expressions — e.g.
"0 9 * * *","15 22 * * *"
Configure in team.json under key "boss":
"boss": {
"provider": "ollama",
"model": "qwen2.5:7b",
"base_url": "http://localhost:11434/v1",
"system_prompt": "You are the team lead..."
}| Method | Path | Description |
|---|---|---|
| GET | /team |
Team config |
| GET | /status |
All agent statuses |
| POST | /status |
Update agent status |
| GET | /status/<agent_id> |
Single agent status |
| POST | /run |
Run agents |
| POST | /brainstorm |
Auto mode |
| POST | /stop |
Stop agents |
| GET | /schedules |
List schedules |
| POST | /schedules |
Create schedule |
| DELETE | /schedules/<id> |
Delete schedule |
| POST | /schedules/<id>/toggle |
Enable/disable schedule |
| GET | /health |
Health check |
MIT
