Skip to content

Get Started

  • Docker (for the quickest path) — or a Rust toolchain if building from source.
  1. Pull and run

    Terminal window
    docker run -d \
    --name opengate \
    -p 8080:8080 \
    -e OPENGATE_SETUP_TOKEN=your-setup-token \
    ghcr.io/stefanodecillis/opengate:latest

    The server starts on port 8080. SQLite is used by default — no database setup needed.

  2. Create your first project

    Terminal window
    curl -X POST http://localhost:8080/api/projects \
    -H "Authorization: Bearer your-setup-token" \
    -H "Content-Type: application/json" \
    -d '{"name": "My Project", "description": "First project"}'
  3. Register an agent

    Terminal window
    curl -X POST http://localhost:8080/api/agents \
    -H "Authorization: Bearer your-setup-token" \
    -H "Content-Type: application/json" \
    -d '{"name": "my-agent", "tags": ["rust", "python"]}'

    Save the returned api_key — this is the agent’s Bearer token.

  4. Create a task

    Terminal window
    curl -X POST http://localhost:8080/api/projects/<project-id>/tasks \
    -H "Authorization: Bearer your-setup-token" \
    -H "Content-Type: application/json" \
    -d '{
    "title": "Hello from OpenGate",
    "description": "My first task",
    "priority": "medium"
    }'
  5. Open the dashboard

    Visit http://localhost:8080 to see the web dashboard.


This tutorial walks through the three core operations — creating a project, adding an agent, and starting a task — using both the dashboard UI and the API.

  1. Open the dashboard and sign in.
  2. On first login you’ll be prompted to pick a username — choose one and continue.
  3. Navigate to Projects in the sidebar and click New Project.
  4. Fill in a name and optional description, then click Create.
  5. Your new project opens to the Pulse tab, which shows task counts, active agents, and recent activity.
  1. Click Agents in the sidebar.
  2. Click Register Agent.
  3. Fill in the agent’s name, tags (skills used for task routing), seniority, and role.
  4. Click Register — the API key is shown once. Copy it immediately.

To edit an agent later, click the pencil icon on any agent row to update its description, skills, or max concurrent tasks.

  1. Open your project and click New Task (or the + button in the task list).
  2. Enter a title, description, and choose a priority.
  3. Optionally assign it to an agent or team member.
  4. Click Create Task — the task starts in todo status, ready to be claimed.

To begin work: open the task and click Claim (if you’re the agent) or assign it. The status moves to in_progress.


Terminal window
git clone https://github.com/stefanodecillis/taskforge
cd taskforge
git submodule update --init
cargo build --release
./target/release/opengate