Starts the Orchestrator 3 Stream application (backend + frontend) in background mode. Use when the user asks to start orchestrator, launch orchestrator, run orchestrator, or open the orchestrator UI. Supports --session and --cwd flags for backend.
Launches the Orchestrator 3 Stream application with both backend (FastAPI) and frontend (Vue/Vite) servers.
apps/orchestrator_3_stream/Default ports (configurable via .env):
The backend script (start_be.sh) accepts:
| Flag | Description | Priority |
|---|---|---|
--cwd <path> | Working directory for the orchestrator | CLI > .env (ORCHESTRATOR_WORKING_DIR) > current dir |
--session <id> | Session ID to resume | CLI > .env (ORCHESTRATOR_SESSION_ID) > new session |
Run in background by default:
# Basic start (new session, current directory)
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh &
# With session ID (resume existing session)
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh --session <session-id> &
# With custom working directory
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh --cwd /path/to/project &
# With both flags
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh --cwd /path/to/project --session <session-id> &
Run in background:
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_fe.sh &
After both services are running, open the frontend URL:
open -a "Google Chrome" "http://127.0.0.1:5175"
Start both in background (new session):
# Start backend
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh &
# Wait for backend to initialize
sleep 3
# Start frontend
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_fe.sh &
# Wait for frontend to initialize
sleep 2
# Open in Chrome
open -a "Google Chrome" "http://127.0.0.1:5175"
Resume a session:
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh --session abc123-def456 &
sleep 3
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_fe.sh &
sleep 2
open -a "Google Chrome" "http://127.0.0.1:5175"
If user requests foreground mode, do NOT use & suffix and run each command sequentially, starting frontend first in background then backend in foreground:
# Frontend in background (so we can run backend in foreground)
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_fe.sh &
# Backend in foreground (to see logs)
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh --cwd /path/to/project
To stop the services:
# Find and kill backend
lsof -ti:8002 | xargs kill -9
# Find and kill frontend
lsof -ti:5175 | xargs kill -9
uv sync in backend directory, npm install in frontend directoryUser request:
Start the orchestrator
You would:
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh &
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_fe.sh &
open -a "Google Chrome" "http://127.0.0.1:5175"
User request:
Start orchestrator with session abc123 and working directory /Users/me/myproject
You would:
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh --cwd /Users/me/myproject --session abc123 &
User request:
Start orchestrator in foreground so I can see logs
You would:
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_fe.sh &
&):
cd /path/to/agent-experts/apps/orchestrator_3_stream && ./start_be.sh