Skip to content
mifunedevPublic
Mifune Logo RCHESTRA

Steerable Harnesses for DeepAgents

License DCO

Open-source AI agent orchestration platform built on LangGraph and powered by the MCP & A2A protocols.

Self-host for free or let us deploy it for you. Your agents, your data, your infrastructure.

The stack is a Python FastAPI backend that runs under uvicorn, LangGraph agents, and Alembic migrations over PostgreSQL with the pgvector extension. A React and Vite client serves the browser. TaskIQ workers with Redis run distributed execution. MinIO or S3 stores files.

🚀 Deployment Options

Option Best For Get Started
Community (Free) Developers, self-hosting docker pull ghcr.io/mifunedev/orchestra:latest
Managed Cloud Teams wanting convenience Contact Us
Enterprise Organizations needing SSO, compliance, SLA Contact Us

🚀 Quickstart

Prerequisites: Docker, Python 3.12 or newer, Node.js, and uv.

1. Clone and install

git clone https://github.com/mifunedev/orchestra.git
cd orchestra
cd backend && uv sync            # install the Python dependencies
cd ../frontend && npm install    # install the Node.js dependencies

2. Start PostgreSQL

Orchestra uses a shared local PostgreSQL container. The container is generic. Any project on the host can use it. Orchestra owns only the orchestra_dev database inside it. Tests start their own disposable PostgreSQL container through testcontainers.

docker run -d \
  --name pgvector \
  --restart unless-stopped \
  -p 5432:5432 \
  -v pgvector_data:/var/lib/postgresql/data \
  -e POSTGRES_USER=admin \
  -e POSTGRES_PASSWORD=test1234 \
  -e POSTGRES_DB=postgres \
  --memory 1g --cpus 1 \
  pgvector/pgvector:pg17

The flag -v pgvector_data:/var/lib/postgresql/data mounts a named volume. Docker stores the data outside the repository.

Create the database and the vector extension:

docker exec pgvector psql -U admin -d postgres -c "CREATE DATABASE orchestra_dev OWNER admin;"
docker exec pgvector psql -U admin -d orchestra_dev -c "CREATE EXTENSION IF NOT EXISTS vector;"

The values admin and test1234 serve local development only. Never reuse them in production.

3. Choose the connection host

If the application runs on the host, use localhost:

postgresql://admin:test1234@localhost:5432/orchestra_dev?sslmode=disable

If the application runs inside another container, use the container name pgvector:

postgresql://admin:test1234@pgvector:5432/orchestra_dev?sslmode=disable

A container reaches the database by container name only after the container joins the same Docker network. Run docker network connect <network> pgvector to join it.

4. Configure the environment

cp .example.env .env

Set POSTGRES_CONNECTION_STRING in that file to the connection string from step 3. The backend make targets read the ENV_FILE variable, which points at the root .env by default. The frontend npm run dev script reads the same root .env. Read Environment variables for every key.

5. Migrate, seed, and run

cd backend
make migrate.up    # apply every pending Alembic migration
make seeds.user    # create the default users
make dev           # start the API on port 8000

cd ../frontend
npm run dev        # start the Vite dev server

Open http://localhost:8000/api for the API documentation.

6. Command reference

Command Description
make dev Start backend server (port 8000)
make dev.worker Start TaskIQ worker
make test Run all backend tests
make format Format code with Ruff
make seeds.user Seed default users
make migrate.up Apply all pending migrations

For all commands, see backend/Makefile.

📚 Documentation

Stay up to date on Discord. Full release history in Changelog.md.

📄 License

Apache 2.0. Read LICENSE. Sign every commit under the DCO with git commit -s.

Releases

Sponsor this project

Packages

Used by

Contributors

Languages