Welcome to your AI Agent Automation Playground!
Build your own living operating system: command your AI Agent with your voice (or text), and watch it orchestrate workflows, open apps, and automate your creative rituals. Speech-2-Action! ๐ฃ๏ธโจ
The Command Orchestra includes FastAPI backend that allows you to trigger automations from your frontend applications!
API will be available at:
- ๐ Backend: http://localhost:8000
- ๐ API Docs: http://localhost:8000/docs
- ๐ Health Check: http://localhost:8000/api/v1/health
POST /api/v1/workout
- Trigger workout automations (running, cycling, mobility, gym)POST /api/v1/studio
- Launch FL Studio and configure audioPOST /api/v1/daily-note
- Create daily notes in ObsidianPOST /api/v1/voice-command
- Process natural language commandsGET /api/v1/automations
- List all available automations
See API_EXAMPLES.md for detailed usage examples and frontend integration code.
Command-Orchestra/
โโโ .venv/
โโโ requirements.txt
โโโ README.md
โโโ API_EXAMPLES.md # API usage examples and frontend integration
โโโ run_server.py # FastAPI server startup script
โโโ speech2action/
โโโ main.py # Original CLI application
โโโ api/ # NEW: FastAPI backend
โ โโโ __init__.py
โ โโโ main.py # FastAPI application
โ โโโ routes.py # API endpoints
โ โโโ models.py # Pydantic models
โ โโโ middleware.py # CORS and logging middleware
โโโ actions/
โ โโโ spell_book.py # Spell definitions and triggers
โ โโโ manager_agent.py # OpenAI Agents implementation
โ โโโ obsidian_automation.py # Obsidian note automation
โ โโโ flstudio_automation.py # FL Studio automation
โ โโโ __init__.py
โโโ core/
โ โโโ command_parser.py # Command parsing logic
โ โโโ action_dispatcher.py # Dispatches actions to automations
โ โโโ voice_listener.py # Voice/text input handler
โ โโโ __init__.py
โโโ config/
โ โโโ settings.py # Environment/config management
โ โโโ __init__.py
โโโ __pycache__/
๐ Frontend: Command Orchestra Frontend - The React frontend interface for voice and manual trigger command interaction
- Clone repo & create venv:
git clone <repo-url> cd Command-Orchestra python3 -m venv .venv source .venv/bin/activate
- Install requirements:
pip install --upgrade pip pip install -r requirements.txt
- Configure your Obsidian vault path in
.env
:OBSIDIAN_MAIN_VAULT_PATH=/absolute/path/to/your/main/vault OBSIDIAN_EXERCISE_VAULT_PATH=/absolute/path/to/your/exercise/vault OPENAI_API_KEY=your_openai_api_key # Required for Agent mode
# Start the API server
python run_server.py
# Server runs at http://localhost:8000
# Use with your frontend or make direct API calls
# Run the original CLI application
python -m speech2action.main
Play, experiment, and extend โ your digital symphony awaits! ๐ถ