Skip to content
EzyGangPublic

About

Connect task trackers, model runtimes, source control, and isolated workers without coupling them together.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

676 Commits

Folders and files

Repository files navigation

Vulcanum

CI GitHub release AGPL-3.0-or-later

Vulcanum is being built as an agnostic orchestration layer between task trackers, implementation agents, and higher-level harnesses.

It gives those systems one place to hand work off, run it, follow what happened, and return the result. The tracker does not need to know how a coding agent works. The coding agent does not need tracker-specific logic. A higher-level agent should be able to use the same Vulcanum CLI regardless of which tracker or execution backend sits behind it.

Execution also does not have to live on one machine. A worker can run on an idle PC or Mac at home while other workers run on a VPS or another machine. Vulcanum treats them as one pool and sends compatible work wherever capacity is available.

The point is not to build another task tracker, another coding agent, or just another local agent runner. Vulcanum is the layer that lets those parts change independently and still work together.

Warning

Vulcanum is still pre-1.0. It is under active development, migrations and interfaces can change, and it should be run on infrastructure you control.

Contents


Installation

The release installers download verified release assets:

Linux and macOS install the vulcanum CLI and vulcanum-server worker daemon:

curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/EzyGang/vulcanum/main/install.sh | sh

Windows x64 installs the vulcanum.exe CLI only after the first release containing the Windows CLI asset is published; Windows worker-daemon setup is not supported:

irm https://raw.githubusercontent.com/EzyGang/vulcanum/main/install.ps1 | iex

Both installers:

  • download the latest release archive and its SHA-256 checksum;
  • verify the archive before installing;
  • accept a version and destination through VULCANUM_VERSION and VULCANUM_INSTALL_DIR.

The Unix installer supports x86_64 and ARM64 Linux and macOS, installs to ~/.local/bin by default, and prints PATH instructions when needed. It requires tar, awk, sed, either curl or wget, and either sha256sum or shasum. To inspect it before running:

curl --proto '=https' --tlsv1.2 -LsSf \
  -o install.sh \
  https://raw.githubusercontent.com/EzyGang/vulcanum/main/install.sh
less install.sh
sh install.sh

The Windows installer supports x86_64 Windows, installs to %LOCALAPPDATA%\Vulcanum\bin by default, and adds that directory to the user PATH. To inspect it before running:

irm https://raw.githubusercontent.com/EzyGang/vulcanum/main/install.ps1 -OutFile install.ps1
Get-Content install.ps1
.\install.ps1

Set installer variables before invoking the corresponding script:

VULCANUM_VERSION=0.1.0 VULCANUM_INSTALL_DIR="$HOME/bin" sh install.sh
$env:VULCANUM_VERSION = "0.1.0"
$env:VULCANUM_INSTALL_DIR = "$HOME\bin"
.\install.ps1

The control-plane server, dispatcher, and frontend must still be deployed separately or run from source as described under Running Locally.

Automatic worker-side updates

Installed workers update the vulcanum CLI and vulcanum-server worker daemon as one verified release pair. Automatic updates are enabled by default for newly created worker configurations. Operators can opt out or back in without editing ~/.vulcanum/config.json:

vulcanum worker updates disable
vulcanum worker updates enable

Each command changes only auto_update_enabled; all other worker configuration is preserved. A running daemon reads the changed setting on its next startup. When enabled, the worker updates the vulcanum CLI and vulcanum-server daemon together from stable releases. Automatic updates cover only this worker-side pair, not the control-plane server, dispatcher, or frontend.

See Worker configuration for update cadence, verification, activation, rollback, and recovery details.

Install the agent skills

After installing the CLI, install both Vulcanum agent skills into a supported coding agent:

vulcanum skills install

The command uses the first available package runner—pnpm dlx, npx, bunx, or yarn dlx—to install vulcanum-cli and vulcanum-ticket-template from this repository. At least one supported JavaScript package runner must be available.

Install only one skill when needed:

vulcanum skills install cli
vulcanum skills install ticket-template

To place a skill manually or pass it directly to an agent, print its complete SKILL.md to standard output:

vulcanum skills install ticket-template --stdout > ./SKILL.md

See the CLI reference for canonical skill names and command behavior.


What Vulcanum Is For

The main problem Vulcanum tries to solve is coupling.

Without a middle layer, the code that picks up a task usually knows about the tracker, the agent runner, the machine that will execute it, the repository host, and the way results should be reported. Adding a second tracker or agent backend means rebuilding a large part of that glue.

Vulcanum puts one boundary in the middle of three sides:

  1. Task trackers, where people plan and follow the work.
  2. Execution backends, where implementation and review agents actually run.
  3. Higher-level harnesses, such as OpenClaw, Hermes, or a personal agent that wants to delegate software work.

That separation is the main idea. Task trackers connect through provider interfaces. OpenCode, OMP, and future implementation agents connect through worker runtime interfaces. Higher-level harnesses can use the bundled SKILL.md and the Vulcanum CLI rather than getting a custom integration for every harness.

The distributed worker setup follows from that design. Workers can be on the same network or spread across different machines. You might keep one on a home machine that would otherwise sit idle, run another on a Mac, and add VPS workers for always-on capacity. They all connect to the same control plane and advertise what they can run.

Worker registration, dispatch, concurrency, and crash recovery are necessary parts of making this reliable, but they are not the main selling point by themselves. The useful part is having one neutral layer that joins trackers, execution, and higher-level automation without making any one of them the center of the stack.

Where It Fits

Task-tracker side

This is the working entry point today.

You configure a project, choose the column Vulcanum should watch, connect one or more GitHub repositories, and choose the execution settings. Moving a task into the pickup column starts the workflow. Vulcanum keeps the task updated as implementation, review, and pull request state change.

Kaneo is the current tracker backend. The server-side provider boundary is intended to support other trackers without changing the worker or agent runtime.

Execution side

Workers connect to the control plane from whichever machines you want to use. Each worker reports its available capacity and execution mode. Vulcanum can then use local machines and remote hosts as one worker pool instead of tying the workflow to a single computer.

OpenCode and OMP are the current agent backends. Host, Docker, and Kata are the current execution modes.

Higher-level harness side

OpenClaw, Hermes, or another personal agent does not need a dedicated Vulcanum adapter.

Vulcanum ships a shareable CLI skill that explains the available commands and a ticket-template skill for creating consistently structured work. vulcanum skills install installs both into supported coding agents. A harness can then use the authenticated CLI to inspect workers and runs; configure projects, repositories, workflow columns, models, providers, and GitHub; and browse, create, edit, search, or move tasks.

A Typical Run

  1. A task enters the configured pickup column.
  2. Vulcanum creates a pending implementation run.
  3. The dispatcher picks a compatible worker with free capacity.
  4. The worker acknowledges the job and the task moves to progress.
  5. The worker clones the configured repositories using a short-lived GitHub App token.
  6. OpenCode or OMP works on the task in the worker's configured execution environment.
  7. Events, usage, and status are sent back while the run is active.
  8. The agent finishes with a summary, result status, and any pull request URLs.
  9. Vulcanum adds the result to the original task and moves it to review.
  10. If agent review is enabled, Vulcanum creates a separate review run for each pull request before moving the task to review.
  11. Once every linked pull request is closed or merged, Vulcanum moves the task to done.

A failed or blocked run stays failed in Vulcanum and does not quietly advance the task. Runs can also be cancelled from the control plane.

What Works Today

The current implementation supports:

  • Kaneo projects and task boards. Vulcanum can read projects, watch configured columns, create and update tasks, move tasks, post comments, and manage labels.
  • OpenCode and OMP. Team defaults select the agent backend for each run, and every worker can execute either backend.
  • GitHub repositories and pull requests. A GitHub App provides repository access, short-lived clone credentials, pull request tracking, and close/merge webhooks.
  • Pull request mention commands. On an open pull request, an authorized team member can comment @app-slug review to start an agent review or @app-slug implement <request> to start implementation work against that pull request. Project and ticket selectors disambiguate repositories connected to multiple Vulcanum projects or tickets; see GitHub App for syntax and authorization details.
  • Host, Docker, and Kata execution. Each worker is configured with one execution mode.
  • Concurrent workers. The dispatcher respects each worker's available job slots.
  • Crash recovery. Workers keep an SQLite journal for in-flight jobs and reconcile it when they restart.
  • Multi-repository jobs. A project can provide more than one repository to an implementation run.
  • Multi-turn runs. The agent can continue for the configured number of turns and ends through an explicit finish_run contract.
  • Optional agent review. Implementation pull requests can be handed to separate review runs.
  • Live run data. The server stores ordered events, status, worker, model, duration, token counts, summaries, and pull request URLs.
  • Team and project settings. Models, prompts, turn limits, review settings, concurrency limits, repositories, and workflow columns can be configured at the appropriate level.
  • Model-provider credentials. Credentials are encrypted in PostgreSQL and turned into backend-specific job configuration when a run starts.
  • Single-user and team modes. A deployment can use an instance password or GitHub OAuth with teams and invite links.
  • A web UI. The frontend includes the task board, dashboard, runs, workers, teams, and settings for tracker providers, model providers, models, GitHub, and defaults.
  • Agent and harness integration. The bundled vulcanum-cli and vulcanum-ticket-template skills provide shared instructions for using the authenticated CLI without a harness-specific adapter.
  • App-facing CLI management. The CLI can inspect workers and runs, manage projects and task boards, configure integrations and model settings, and install the bundled agent skills.

A few boundaries are worth being clear about:

  • Kaneo is the only task-tracker backend right now.
  • GitHub is the only repository and pull request backend right now.
  • OpenCode and OMP are the only implementation-agent backends right now.
  • Run records and events are stored centrally. Exported backend message history is currently saved on the worker under ~/.vulcanum/sessions/; there is no server-side artifact bundle yet.
  • Model credentials are encrypted at rest, but the server must decrypt the credentials needed by a job and send them to the worker. The credential-vault work described below is not implemented yet.

What Is Still Planned

The main pieces still ahead are:

  • A credential vault/broker so jobs can use credentials without handing reusable plaintext secrets directly to the agent process.
  • More task-tracker backends.
  • More implementation-agent backends.
  • Repository and pull request backends beyond GitHub.
  • Central storage for exported session history and run artifacts.

These are planned directions, not features hidden behind configuration.


Technical Reference

Everything below is implementation and setup detail. If you only wanted to understand what Vulcanum does, the sections above are the useful part.

Architecture

flowchart LR
  tracker[Task-tracker backend] <--> tracker_adapter[Task-tracker adapter]
  tracker_adapter <--> server[Vulcanum control plane]

  user[User] --> ui[Web UI]
  ui --> server

  harness[OpenClaw / Hermes / another agent] -->|follows| skill[Bundled SKILL.md]
  harness -->|runs| cli[Vulcanum CLI]
  cli <--> server

  server <--> postgres[(PostgreSQL)]
  server <--> redis[(Redis)]
  dispatcher[Dispatcher] <--> postgres
  dispatcher <--> redis

  worker[Worker daemon] -->|poll / ack / events / result| server
  worker <--> journal[(SQLite journal)]
  worker --> isolation[Host / Docker / Kata]
  isolation --> runtime[Agent runtime]
  runtime --> opencode[OpenCode]
  runtime --> omp[OMP RPC]

  server <--> github[GitHub App]
  github --> repos[Git repositories and pull requests]
  isolation --> repos
Loading

There are three extension boundaries that matter:

  1. Task-tracker backends live on the server side and translate tracker projects, columns, tasks, labels, and comments into Vulcanum's internal types.
  2. Agent backends live on the worker side and implement the shared runtime/session contract.
  3. Execution environments prepare the workspace independently of the selected agent backend.

The higher-level harness path is deliberately different. It uses shared instructions and CLI commands rather than an adapter for each harness.

Processes and Storage

vulcanum-web

The Actix Web control-plane process:

  • exposes the /api/v1 HTTP API;
  • runs PostgreSQL migrations at startup;
  • polls enabled task-tracker projects;
  • handles authentication, teams, providers, workers, projects, jobs, and runs;
  • processes GitHub callbacks and pull request webhooks;
  • serves the services used by the frontend and workers.

It listens on port 8000.

vulcanum-dispatcher

The dispatcher is a separate process. It finds pending work, looks for compatible workers with free capacity, reserves a worker slot, and signals the selected worker through Redis.

vulcanum-server

Despite the binary name, this is the worker daemon. It polls the control plane, prepares a workspace, starts OpenCode or OMP, reports events, submits the result, and cleans up the run environment.

vulcanum

This is the CLI. It provisions, registers, starts, and removes workers; installs the bundled agent skills; and provides authenticated commands for workers, runs, projects, task boards, integrations, and model settings. See the CLI reference for command syntax, authentication, and team-selection behavior.

Frontend

The Preact frontend is the control UI. It talks to vulcanum-web; it does not communicate directly with PostgreSQL, Redis, workers, Kaneo, or GitHub.

Storage

  • PostgreSQL stores users, teams, provider configuration, project configuration, workers, work runs, events, usage, linked pull requests, and encrypted model credentials.
  • Redis carries dispatch and cancellation signals and backs short-lived registration, OAuth, invite, and webhook work.
  • Worker SQLite stores the local execution journal used for restart recovery.
  • Worker filesystem stores exported backend message history under ~/.vulcanum/sessions/.

Security and Execution

Execution modes

Mode What it means
Host Runs the agent as the worker's operating-system user. It uses a separate workspace, but it is not a security boundary. Use it only for trusted work.
Docker Runs the agent in the configured container image. The worker removes the container and temporary work directory after the run on a best-effort basis.
Kata Uses the Docker execution path with kata-runtime, giving the job a lightweight virtual-machine boundary when Kata and KVM are set up correctly.

Every backend has a maximum run duration enforced by the runtime/session loop.

Credentials

Model-provider credentials are encrypted with AES-256-GCM using MODEL_PROVIDER_SECRET_KEY. The key must decode to exactly 32 bytes and must remain stable for the life of the stored credentials.

For a job, the server decrypts the required provider configuration and sends it to the authenticated worker. Use HTTPS between the server and remote workers. Plain HTTP is only appropriate for an isolated local setup.

GitHub repository access uses short-lived installation tokens. The worker places the token behind Git and gh credential helpers instead of leaving the direct token in the ordinary agent environment.

Authentication

Single-user mode uses INSTANCE_PASSWORD. Multiuser mode uses GitHub OAuth, teams, memberships, and expiring invite links.

These application controls do not turn a shared deployment into a safe environment for mutually hostile tenants. Host mode in particular gives jobs the worker user's access.

Running Locally

Show local development setup

Prerequisites

For the control plane:

  • Node.js 22 or newer
  • pnpm 11
  • Rust stable with Cargo, rustfmt, and Clippy
  • PostgreSQL 15 or newer
  • Redis

For host workers, both OpenCode and OMP must be installed. Docker execution needs Docker. Kata execution needs Linux, KVM, Docker, and Kata Containers.

The setup CLI configures systemd on Linux and launchd on macOS. Kata setup is Linux-only. Windows setup is not currently provided.

Install and configure

pnpm install

Create a root .env file:

DATABASE_URL=postgres://postgres:postgres@localhost:5432/vulcanum
REDIS_URL=redis://127.0.0.1:6379
JWT_SECRET=replace-with-a-long-random-secret
INSTANCE_PASSWORD=replace-with-a-login-password
IS_SINGLE_USER=true
MODEL_PROVIDER_SECRET_KEY=replace-with-a-base64-encoded-32-byte-key

Changing MODEL_PROVIDER_SECRET_KEY later prevents existing model-provider credentials from being decrypted.

Apply migrations and start the two server processes in separate terminals:

pnpm migrate-server-up
cargo run -p vulcanum-server --bin vulcanum-web
cargo run -p vulcanum-server --bin vulcanum-dispatcher

Start the frontend:

pnpm run dev --filter=@repo/frontend

The API listens on http://localhost:8000. The frontend development server listens on http://localhost:5173 and uses port 8000 as its default API URL.

Kaneo credentials are configured in the task-tracker provider settings, not through global KANEO_INSTANCE or KANEO_API_KEY environment variables.

GitHub App

Repository cloning, pull request tracking, and review triggers use a GitHub App. For local development, configure:

  • Callback URL: http://localhost:8000/api/v1/github/callback
  • Enable Request user authorization (OAuth) during installation
  • The optional Setup URL may use the same callback endpoint
  • Webhook URL: http://localhost:8000/api/v1/github/webhook
  • Webhook events: Pull request and Issue comment
  • Contents permission: read and write
  • Pull requests permission: read and write
  • Issues permission: read and write
  • Workflows permission: read and write

The callback accepts both GitHub response shapes. OAuth responses are correlated through a single-use state nonce; installation responses are verified against the GitHub App API before Vulcanum stores them.

Authorized team members can issue two commands on newly created comments in an open pull request:

@app-slug review [project:<project-config-uuid>]
@app-slug implement [project:<project-config-uuid>] [ticket:<external-task-ref>] <request>

The app ignores edited or deleted comments, non-PR issue comments, and its own comments. Commands and app mentions are case-insensitive. When a repository belongs to multiple eligible projects, the project:<uuid> selector must be the first selector after the command; Vulcanum replies with exact project-specific commands when the selector is missing or invalid.

review keeps its review-only ticket and run lifecycle. implement instead starts implementation work against the current PR. Its request is required, may span multiple lines, and is stored verbatim as durable run context. Vulcanum reuses the one implementation ticket mapped to the PR in the selected project and appends a source-marked request block without replacing the existing title or description. If no ticket is mapped, Vulcanum creates one in the implementation workflow with the PR URL, request, and a durable marker. If multiple tickets remain mapped after project selection, Vulcanum does not guess: its reply lists exact commands with a ticket:<external-task-ref> selector. The ticket selector follows the optional project selector and chooses only a ticket already mapped to that PR and project. A ticket with an active implementation run rejects another follow-up before its tracker description is changed.

When a separate review ticket already exists for the PR, the implementation ticket is linked as blocking that review ticket. The implementation run records the tracker slug, and the confirmation uses that slug without exposing the internal work-run ID.

Examples:

@vulcanum-app review
@vulcanum-app review project:0d915a91-f314-4c1e-a2b6-dae140ca16d2
@vulcanum-app implement handle the retry case
@vulcanum-app implement project:0d915a91-f314-4c1e-a2b6-dae140ca16d2 also add migration coverage
and verify the rollback path
@vulcanum-app implement project:0d915a91-f314-4c1e-a2b6-dae140ca16d2 ticket:task-123 handle the mapped ticket

GitHub models pull request timeline comments as issue comments, so the app needs Issues: read to receive commands and Issues: write to acknowledge accepted commands and post actionable authorization, selection, ambiguity, active-run, and provider-failure feedback.

Add the app values to .env:

GITHUB_APP_ID=123456
GITHUB_APP_PRIVATE_KEY=base64-encoded-private-key-pem
GITHUB_APP_SLUG=vulcanum-app
GITHUB_WEBHOOK_SECRET=replace-with-the-app-webhook-secret

GITHUB_APP_PRIVATE_KEY is the base64 encoding of the complete PEM file.

GitHub user authorization links PR commenters to Vulcanum. The credentials may belong to the same GitHub App or to a separate OAuth App:

GITHUB_CLIENT_ID=your-client-id
GITHUB_CLIENT_SECRET=your-client-secret
GITHUB_OAUTH_REDIRECT_URL=http://localhost:8000/api/v1/github/callback

GITHUB_OAUTH_REDIRECT_URL is the public callback that GitHub returns the temporary authorization code to. It must exactly match a callback URL configured on the GitHub App or OAuth App.

Restart vulcanum-web, then connect the app from the GitHub section in Settings. In single-user mode, select Link account there and authorize the GitHub account allowed to trigger reviews. In multiuser mode, set IS_SINGLE_USER=false; each commenter must sign in through GitHub and belong to the team that owns the project.

When IS_SINGLE_USER=true, each GitHub installation also has a Push identity setting. It defaults to GitHub App. Choosing Linked GitHub account uses the explicitly linked account for every job on that installation; the triggering user never affects credential selection. Linking requests GitHub's repo and workflow OAuth scopes so private repositories and workflow files can be updated. Vulcanum encrypts the credential at rest and displays only the linked login. Before linked-account mode is enabled, Vulcanum verifies that the account can access every selected repository. Revoked, expired, disconnected, or inaccessible credentials block the run with a configuration error until the owner relinks the account or explicitly selects GitHub App. Multi-user installations never expose or use linked push credentials.

The same setting is available from the CLI:

vulcanum settings github link-push-identity <installation-id>
vulcanum settings github set-push-identity <installation-id> linked-account
vulcanum settings github disconnect-push-identity <installation-id>

Model providers, model selection, team defaults, tracker providers, repositories, workflow columns, prompts, and review settings are configured in the UI.

Registering a Worker

Show worker registration commands

Generate a registration code from the Workers page, then run setup on the worker host.

Docker workers include both supported agent runtimes. The backend for each run is selected from the team's defaults:

vulcanum worker setup \
  --instance http://<control-plane-host>:8000 \
  --code <registration-code> \
  --isolation docker

Kata on Linux:

vulcanum worker setup \
  --instance http://<control-plane-host>:8000 \
  --code <registration-code> \
  --isolation kata

Use --isolation none for host execution. Non-interactive setup defaults to Docker when --instance and --code are provided without an isolation option.

vulcanum wrk is an alias for vulcanum worker. To start an already installed daemon directly:

vulcanum worker daemon

Repository Layout

Path What is in it
cli/ Rust CLI for worker provisioning, registration, service setup, and management.
worker-server/ Rust worker daemon, execution environments, agent runtimes, recovery, SQLite journal, and local session storage.
server/ Actix Web control plane, dispatcher, PostgreSQL repositories, business services, provider integrations, and GitHub webhooks.
shared/ Shared API types, client, worker configuration, runtime traits, validation, paths, and telemetry.
frontend/ Preact control UI.
docker/agent/ Worker image containing OpenCode, OMP, GitHub CLI, Kaneo CLI, and common development tools.

The TypeScript packages use pnpm workspaces and Turborepo. The Rust crates are members of the root Cargo workspace.

Development

Run these from the repository root:

Command Purpose
pnpm install Install workspace dependencies.
pnpm run build Build the Rust and frontend workspace.
pnpm run format Format workspace source files.
pnpm run aposlop Report duplicate code, complexity, and file-length findings in every workspace.
pnpm run aposlop:ci Fail when any workspace has an Aposlop finding.
pnpm run validate Run Rust formatting/Clippy and frontend lint/type-checking.
pnpm run test Run workspace tests. Backend tests require a migrated PostgreSQL database.
pnpm run dev Start development tasks.
pnpm migrate-server-up Apply PostgreSQL migrations.
pnpm migrate-server-down Revert the latest migration.
pnpm prep-queries Regenerate SQLx offline metadata after query changes.
cargo run -p vulcanum-server --bin vulcanum-web Start the API and poller.
cargo run -p vulcanum-server --bin vulcanum-dispatcher Start the dispatcher.
cargo run -p vulcanum-worker-server --bin vulcanum-server Start the worker daemon from source.
cargo run -p vulcanum-cli --bin vulcanum -- worker setup Run worker setup from source.

Before opening a pull request:

pnpm run format
pnpm run validate
pnpm run test

Run pnpm prep-queries after changing server SQL queries.

Releases

Published archives are listed on the GitHub Releases page.

Each release includes checksum-protected archives for:

  • vulcanum and vulcanum-server on x86_64 and ARM64 Linux;
  • vulcanum and vulcanum-server on x86_64 and ARM64 macOS;
  • vulcanum.exe on x86_64 Windows.

Use the installation scripts to select the archive for the current platform automatically. Each release also publishes multi-platform control-plane, frontend, and public website images:

ghcr.io/ezygang/vulcanum/backend:<release-tag>
ghcr.io/ezygang/vulcanum/frontend:<release-tag>
ghcr.io/ezygang/vulcanum/website:<release-tag>

Use the exact version tag. The release workflow does not publish a mutable latest tag for these images.

Contributing

Read the root AGENTS.md and the module-specific AGENTS.md before changing code.

Keep tracker behavior, control-plane business logic, worker execution, isolation, and agent runtimes in their existing layers. Add tests for application behavior and state transitions rather than framework plumbing. Include the commands you ran in the pull request, along with the exact blocker for anything that could not run.

License

Vulcanum is licensed under AGPL-3.0-or-later. See LICENSE.

About

Connect task trackers, model runtimes, source control, and isolated workers without coupling them together.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages