Fusion

June 25, 2026 ยท View on GitHub

Fusion

From rough idea to production code โ€” automatically.

๐Ÿญ A software factory, run by a multi-agent orchestrator.

Describe what you want โ€” a team of AI agents plans, builds, reviews, and ships it for you. Fusion is your software factory: an assembly line for code that runs across tasks, agents, missions, git, files, and worktrees, with any model, local or cloud.

runfusion.ai โ†’ ยท Docs ยท GitHub ยท npm ยท Discord

English ยท ็ฎ€ไฝ“ไธญๆ–‡ ยท ็น้ซ”ไธญๆ–‡ ยท Franรงais ยท Espaรฑol ยท ํ•œ๊ตญ์–ด

License: MIT npm Discord Status Shipping


Fusion reel: from rough idea to production code

Fusion dashboard: Planning, Todo, In Progress, In Review, Done kanban columns with active task cards

Your entire dev environment. On a single pane of glass.

Describe a task in plain language. A planning agent reads your project, understands context, and writes a full PROMPT.md plan โ€” steps, file scope, acceptance criteria. Then Fusion plans, reviews, executes, and reviews again, in an isolated git worktree, with a human approval gate wherever you want one.

One board. Controlled from anywhere. Laptop, Mac mini, Linux server, cloud VM, phone โ€” all connected.

Like Trello, but your tasks get specified, executed, and delivered by AI. Built on the great work of dustinbyrne/kb.


Quick start

Zero install, straight from npm:

npx runfusion.ai

That launches the dashboard. Subcommands forward through: npx runfusion.ai task create "fix X", npx runfusion.ai --help, etc. (Or verbosely: npx @runfusion/fusion dashboard.)

One-line installer (macOS & Linux โ€” auto-picks Homebrew, falls back to npm):

curl -fsSL https://runfusion.ai/install.sh | sh
fusion dashboard

Homebrew (macOS & Linux):

brew tap runfusion/fusion
brew install fusion
fusion dashboard            # or: fn dashboard

Or as a one-liner (auto-taps): brew install runfusion/fusion/fusion.

npm global:

npm install -g @runfusion/fusion
fn dashboard                # or: fusion dashboard

From a clone (for development):

pnpm dev dashboard

Then click the Open: URL printed in the terminal. It embeds a bearer token (http://localhost:4040/?token=fn_...) that the browser captures to localStorage on first visit and reuses automatically thereafter. On the server side, Fusion now persists the dashboard/daemon token in ~/.fusion/settings.json on first authenticated run and reuses it on later starts unless you override it (--token, FUSION_DASHBOARD_TOKEN, FUSION_DAEMON_TOKEN) or disable auth with --no-auth. See CLI reference โ†’ fn dashboard โ†’ Authentication for full precedence and reset/revocation options.

First-run setup

On first launch, Fusion opens the onboarding wizard with three guided steps:

  1. AI Setup โ€” Use a simplified quick-start provider list (recommended providers plus any already-connected providers), then expand Advanced provider settings only if you need additional providers or setup details. You only need one provider to get started. Deprecated Google Gemini CLI / Antigravity provider entries are intentionally hidden; Google/Gemini API key, Google Generative AI, Vertex, and Cloud Code paths remain supported.
  2. GitHub (Optional) โ€” Connect GitHub for issue import and PR management
  3. First Task โ€” Create your first task or import from GitHub (if no project is active, onboarding first prompts you to register/select a project directory)

The wizard is dismissible and non-blocking โ€” click Skip for now to use the dashboard immediately. Re-trigger it later from Settings โ†’ Authentication โ†’ Reopen onboarding guide.

Mobile

For Capacitor + PWA workflow, see MOBILE.md.


The flow

  โ‘   Describe          โ‘ก  Planning             โ‘ข  The board           โ‘ฃ  Isolated worktree
  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€        โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€         โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  "Add dark mode   โ†’   Agent writes    โ†’   Plan โ†’ Review โ†’    โ†’   fusion/FN-123 branch
   toggle to           PROMPT.md           Execute โ†’ Review        concurrent, zero
   settings panel"     (steps, scope,      (per step, until        file conflicts
                       acceptance)         done)

See every step, before the merge

Fusion task detail: workflow steps visible on an in-progress task with diffs and file changes

Every task shows its plan, its reviews, its diffs, and its file changes in real time. Jump into an active task and nudge direction, tighten constraints, pause, or re-prompt.


What makes it different

๐Ÿง  AI planningDescribe a task in plain language. Planning agents turn it into a PROMPT.md plan with steps, file scope, and acceptance criteria.
๐Ÿ” Selectable workflowsBuilt-ins cover coding, quick fixes, review-heavy work, stepwise execution, plugin-gated Compound Engineering, and PR lifecycle fragments. Pick a workflow per task or author custom ones in the Workflow Editor.
๐ŸŒณ Worktree isolationEach task runs in its own branch and worktree (fusion/{task-id}). Parallel tasks. Zero conflicts. Optional worktrunk delegation via worktrunk.enabled (see WorktreeBackend abstraction).
โšก Smart merge controlsPassing every gate? Fusion squash-merges and moves on. Opt into manual approval anywhere, inherit the live global auto-merge default, or set explicit per-task auto/manual overrides.
๐Ÿ›ฐ๏ธ Multi-node meshLaptop, Mac mini, Linux server, cloud VM, phone โ€” all synced. Desktop, mobile, web.
๐Ÿงฉ Any modelAnthropic, OpenAI, Ollama, Google Generative AI, Z.ai, local runtimes, and user-defined custom providers. Local and cloud coexist, with workflow model/fallback lanes configurable per project.
๐Ÿข Agent companiesImport pre-built teams โ€” 440+ agents across 16 companies โ€” and run them autonomously for weeks.
๐Ÿ“ฌ Inter-agent messagingBuilt-in mailbox between agents. Delegate, clarify, coordinate; engineer-role agents can opt into backlog auto-claim when you want implementation help beyond executor-only pickup.
๐Ÿ—จ๏ธ Agent chatDirect chat, task chat, attachments, in-chat question cards, resumable streams, and experimental multi-agent Chat Rooms where mentioned members respond directly and ambient members can join up to a cap. (Chat docs)
๐Ÿ—บ๏ธ MissionsHierarchical planning (Mission โ†’ Milestone โ†’ Slice โ†’ Feature โ†’ Task) with autopilot and validation contracts.
๐Ÿ”ฌ ResearchBounded research runs with web search, GitHub, local docs, and LLM synthesis (plus runtime builtin WebSearch/WebFetch support in planning + synthesis flows when available). Turn findings into tasks. (Docs)
๐Ÿงช Self-improvementAgents reflect on their own output and update their prompts as they learn your codebase.
๐Ÿ”“ Open source. MIT.No vendor lock-in. Run it on your own hardware. Shipping weekly.

See it in action

The newest surfaces in Fusion, at a glance โ€” the live board, your agent team, mission control, visual workflows, agent chat, multi-agent rooms, and inter-agent mail.

๐Ÿ“‹ The board & your agent team โ€” live, from a real fleet

Fusion board: Triage, Todo, In Progress, In Review, Done columns with live task cards across the Tokyo Night theme

Every task, every column, every step โ€” live. Cards carry GitHub links, step counts, review levels, and promote/move/archive actions. Switch to the Graph view to see task dependencies as an interactive node graph:

Fusion board: Triage, Todo, In Progress, In Review, Done columns with live task cards
Board โ€” kanban columns
Fusion graph view: task dependency graph with connected nodes
Graph โ€” dependency map

Here is the same fleet re-skinned into the Ember theme (dark graphite with an orange accent), alongside the Agents roster:

Fusion board in the Ember theme
Board โ€” Ember
Fusion Agents view: CEO, Product Manager, CTO, and engineers with roles and heartbeat status
Agents โ€” Tokyo Night

Import a team and every agent shows up here โ€” role, reports-to chain, heartbeat, and token share. The Agents roster in Ember:

Fusion Agents view in the Ember theme

๐Ÿ›ฐ๏ธ Command Center โ€” mission control for your agent fleet

Fusion Command Center: live concurrency gauges, token charts, and fleet telemetry across tabs

One screen for everything your agents are doing. Tune live scheduler capacity, watch token spend by model in real time, and prove the value with hard numbers. The Overview tab opens with live gauges and charts:

Fusion Command Center Overview: concurrency gauges, engine status, and fleet charts

Every tab is a different lens on the same live fleet:

Tokens by model, token trend, and tokens-over-time charts
Tokens โ€” spend by model, cached vs. input vs. output, over time.
Productivity: commits, human-hours saved, task duration percentiles, and files by language
Productivity โ€” outcomes, duration percentiles, language mix.
Agent org chart with token share and tokens-by-agent breakdown
Team โ€” agent org chart and token share per agent.
Activity: task throughput and event timeline charts
Activity โ€” task throughput and event timelines.
Signals: anomaly detection and fleet signal charts
Signals โ€” anomaly detection and fleet health.
Command Center tab
More โ€” Tools ยท Ecosystem ยท GitHub ยท System ยท Reliability.

Tokens ยท Tools ยท Activity ยท Productivity ยท Team ยท Ecosystem ยท GitHub ยท Signals ยท System ยท Reliability ยท Mission Control โ€” every tab is a different lens on the same live fleet.

The same fleet, your way โ€” Command Center (and the whole dashboard) re-skins live across 70+ color themes. Here it is in Shadcn Light, Shadcn Dark Gray, and Ember:

Command Center in Shadcn Light theme
Shadcn Light
Command Center in Shadcn Dark Gray theme
Shadcn Dark Gray
Command Center in Ember theme
Ember
A dozen light themes & a dozen dark themes (click to expand)
Command Center across 12 light color themes

Command Center across 12 dark color themes

๐Ÿ” Selectable workflows, authored visually

Fusion Workflow Editor: switching between built-in workflow graphs

A task's journey from idea to merge is a workflow โ€” and it's yours to choose and shape. Pick a built-in (Coding, Quick fix, Review-heavy, Stepwise, PR lifecycle, Compound engineering, and more), inspect its graph, then duplicate and customize columns, gates, model lanes, and review policy in the visual Workflow Editor. No engine fork required.

Here's the Stepwise coding graph โ€” plan, execute, and review every step before the next โ€” explored node-by-node in Shadcn Light, Dark Gray, and Ember:

Stepwise coding workflow graph in Shadcn Light, panning across nodes
Shadcn Light
Stepwise coding workflow graph in Shadcn Dark Gray, panning across nodes
Shadcn Dark Gray
Stepwise coding workflow graph in Ember, panning across nodes
Ember

๐Ÿ—จ๏ธ Agent chat โ€” talk to your agents, mid-flight

Fusion agent chat: a threaded conversation with an agent diagnosing a failed task

Direct chat and per-task chat with any agent, on any model. Ask why a task failed, steer an approach, drop attachments, answer in-chat question cards, and resume streams where you left off โ€” full markdown and code rendering throughout.

Agent chat thread in Shadcn Light
Shadcn Light
Agent chat thread in Shadcn Dark Gray
Shadcn Dark Gray

๐Ÿ‘ฅ Multi-agent chat rooms

Fusion chat room: CEO, Product Manager, and CTO agents coordinating in #leads

Put multiple agents in a room and let them coordinate. Mention a member and it responds directly; ambient members can join the conversation up to a cap. Here the CEO, Product Manager, and CTO agents align on task ownership in #leads โ€” no human in the loop. (Chat docs)

Multi-agent chat room in Shadcn Light
Shadcn Light
Multi-agent chat room in Shadcn Dark Gray
Shadcn Dark Gray
Multi-agent chat room in Ember
Ember

๐Ÿ“ฌ Agent mail โ€” an inbox between your agents

Fusion mailbox: inter-agent messages with triage summaries and approvals

A built-in mailbox for delegation, clarification, and hand-offs. Agents file triage summaries, request approvals, and coordinate work across the fleet โ€” with Inbox, Outbox, Agents, and Approvals views, so you can audit every exchange.

Agent mailbox in Shadcn Light
Shadcn Light
Agent mailbox in Shadcn Dark Gray
Shadcn Dark Gray
Agent mailbox in Ember
Ember

๐Ÿ“ฑ Fusion is an AI factory in your pocket

The full board, Command Center, missions, agents, and chat travel with you โ€” native iOS and Android apps (Capacitor) plus an installable PWA. Start a run on your laptop, steer it from your phone.

Fusion mobile: board Fusion mobile: Command Center Fusion mobile: missions
Fusion mobile: agents Fusion mobile: agent chat Fusion mobile: chat list

See MOBILE.md for the Capacitor + PWA workflow.


How it works

graph TD
    H((You)) -->|rough idea| T["Planning<br/><i>auto-planning</i>"]
    T --> TD["Todo<br/><i>scheduled for execution</i>"]
    TD --> IP["In Progress<br/><i>for each step:<br/>plan, review, execute, review</i>"]

    subgraph IP["In Progress"]
        direction TD
        NS([Begin step]) --> P[Plan]
        P --> R1{Review}
        R1 -->|revise| P
        R1 -->|approve| E[Execute]
        E --> R2{Review}
        R2 -->|revise| E
        R2 -->|next step| NS
        R2 -->|rethink| P
    end

    R2 -->|done| IR["In Review<br/><i>ready to merge,<br/>or auto-complete</i>"]
    IR -->|direct squash merge<br/>or merged PR| D["Done"]

    style H fill:#161b22,stroke:#8b949e,color:#e6edf3
    style T fill:#2d2006,stroke:#d29922,color:#d29922
    style TD fill:#0d2044,stroke:#58a6ff,color:#58a6ff
    style IP fill:#1a0d2e,stroke:#bc8cff,color:#bc8cff
    style P fill:#1a0d2e,stroke:#bc8cff,color:#e6edf3
    style R1 fill:#1a0d2e,stroke:#bc8cff,color:#e6edf3
    style E fill:#1a0d2e,stroke:#bc8cff,color:#e6edf3
    style R2 fill:#1a0d2e,stroke:#bc8cff,color:#e6edf3
    style NS fill:#1a0d2e,stroke:#bc8cff,color:#bc8cff
    style IR fill:#0d2d16,stroke:#3fb950,color:#3fb950
    style D fill:#1a1a1a,stroke:#8b949e,color:#8b949e

Tasks with dependencies are processed sequentially. Independent tasks run in parallel. Optionally require manual approval before tasks move from Planning to Todo (requirePlanApproval setting).


Workflow overview

Fusion workflows define how a task moves from idea to delivery. The default coding path is still the familiar Plan/Triage โ†’ Execute โ†’ Workflow steps โ†’ Review โ†’ Merge loop, but the policy now lives in a selectable workflow rather than being only hard-coded engine behavior.

  • Select per task: choose a workflow from the dashboard task/board workflow controls, or assign one through fn_workflow_select / workflow_id when creating tasks.
  • Built-in catalog: Coding (builtin:coding), Quick fix (builtin:quick-fix), Review-heavy (builtin:review-heavy), Compound engineering (builtin:compound-engineering, plugin-gated), Stepwise coding (builtin:stepwise-coding), and the PR lifecycle (builtin:pr-workflow, a reusable PR graph fragment).
  • Customize safely: inspect built-ins, duplicate them, or author custom workflows in the visual Workflow Editor. Workflow-specific settings cover model lanes, review/approval policy, step execution knobs, task fields, and columns.

Read Workflow Steps for runtime semantics, built-in workflow behavior, and workflow-step templates; read Workflow Editor for the dashboard authoring guide.


Multi-node. One board. Every platform.

Fusion mesh: laptop, Mac mini, Linux server, cloud VM, phone โ€” all synced

macOS Windows Linux Web iOS Android

Laptop, Mac mini, Linux server, cloud VM, phone โ€” every node is a peer. Your task state, agents, logs, and diffs stay synchronized across the mesh. The same Fusion ships as:

  • ๐Ÿ–ฅ๏ธ Desktop app โ€” Electron for macOS (Intel + Apple Silicon), Windows 10/11, and Linux
  • ๐Ÿ“ฑ Mobile app โ€” Capacitor for iOS/iPadOS and Android (MOBILE.md)
  • ๐ŸŒ Web dashboard โ€” any modern browser, served from the fn dashboard daemon
  • ๐Ÿ”Œ CLI โ€” fn binary + extension for terminal-first workflows

Start the daemon on any node, connect your other devices, and the board follows you everywhere.


Run an agent company

Fusion agent company: import a team, run it autonomously for weeks

Import a team. Run it autonomously for weeks. 440+ agents across 16 companies, wired for missions, mailboxes, and inter-agent delegation.

npx companies.sh add paperclipai/companies/gstack

Compatible with the tools you already use.

Fusion integrates with the tools you love. Hermes, Paperclip, and OpenClaw all ship as first-class plugins โ€” route any workspace to whichever runtime fits the task. And any Paperclip agent-company imports with a single command.

Hermes

Hermes experimental

Nous Research

The open-source autonomous agent from Nous Research. Install the Hermes plugin and run agents through Hermes for long-running, context-growing work โ€” route any Fusion workspace to it.

OpenClaw experimental

OpenClaw runtime support is available as an experimental plugin (fusion-plugin-openclaw-runtime) for runtime discovery/configuration parity. Configure agents with runtimeConfig.runtimeHint: "openclaw" after installing the plugin.


Paperclip

Paperclip experimental

paperclip.ing

The human control plane for AI labor. Install the Paperclip plugin to run agents through Paperclip inside Fusion.

Fusion also natively supports the companies.sh agent-company standard: import a prebuilt team โ€” 440+ agents across 16 companies โ€” and let them coordinate over Fusion's mailbox, missions, and workflow gates for weeks of autonomous work. Same company format, same agents, same skills as Paperclip.

npx companies.sh add paperclipai/companies/gstack

Hermes, Paperclip, and OpenClaw are experimental runtime plugins โ€” APIs and wire formats may shift between minor releases.


Documentation

GuideWhat it covers
Getting StartedInstallation, onboarding, first task, and workflow-selection basics
Dashboard GuideBoard/list views, chat, workflow editor, git manager, settings, and UI tools
Task ManagementTask lifecycle, prompt specs, comments, archiving, and GitHub integration
CLI ReferenceFull fn command and daemon reference
Settings ReferenceGlobal/project settings, model hierarchy, workflow settings, and custom providers
Workflow StepsWorkflow runtime, built-in workflows, gates, templates, and phases
Workflow EditorVisual authoring, importing/exporting, custom fields/columns/settings, and mobile editor
ResearchBounded research runs, findings, exports, and task integration
AgentsAgent management, spawning, heartbeat, and mailbox workflows
MissionsMission hierarchy, planning, autopilot, and validation contracts
Plugin ManagementDiscovering, installing, enabling, configuring, and troubleshooting plugins
Plugin AuthoringBuilding plugins with lifecycle hooks, routes, tools, runtimes, and dashboard surfaces
Remote AccessTokenized remote dashboard access, Tailscale/Cloudflare setup, and troubleshooting
Multi-ProjectCentral registry, isolation modes, and migration paths
DockerContainer deployment

Core features

  • AI Planning โ€” Planning agent generates detailed PROMPT.md with steps, file scope, and acceptance criteria
  • Step-by-step Execution โ€” Plan โ†’ Review โ†’ Execute โ†’ Review cycle for each task step, with graph-mode workflows able to model per-step parse/execute/review/rework explicitly
  • Git Worktree Isolation โ€” Each task runs in its own worktree (fusion/{task-id} branch)
  • Selectable workflows โ€” Pick Coding, Quick fix, Review-heavy, Stepwise coding, plugin-gated Compound Engineering, custom workflows, or PR lifecycle fragments where appropriate (overview; Workflow Steps)
  • Visual Workflow Editor โ€” Inspect read-only built-ins, duplicate/customize workflows, and edit graph nodes, columns, task fields, typed settings, and per-project values (Workflow Editor)
  • Workflow Steps โ€” Configurable quality gates (pre-merge: blocks merge; post-merge: informational), plus workflow-declared optional steps such as opt-in Browser Verification
  • Workflow-native policy โ€” Fast-mode planning (leanPlanning / autoApproveSpec), typed triage thresholds, review/approval, step execution, and model/fallback lanes are workflow settings, not hard-coded engine constants (Settings Reference; workflow settings)
  • GitHub + PR lifecycle โ€” Import issues, create PRs, display real-time PR/issue badges, and use workflow-mode PR lifecycle graph fragments where enabled
  • Dashboard โ€” Real-time kanban/list/graph views, agent management, terminal, git manager, mission planner, chat, workflow editor, custom provider setup, and one-click update action
  • Missions โ€” Hierarchical planning (Mission โ†’ Milestone โ†’ Slice โ†’ Feature โ†’ Task) with autopilot, validation contracts, fix-feature retries, mission-goal linking, and blocked-handoff semantics
  • Multi-Project โ€” Manage multiple projects from a single installation with project isolation
  • Custom Providers โ€” Add OpenAI-compatible, OpenAI Responses, Anthropic-compatible, or Google Generative AI providers; saved models appear in Project Models and workflow model dropdowns (Dashboard Guide; settings shape)
  • Smart merge controls โ€” Global auto-merge stays live for default tasks, while explicit per-task overrides can force auto/manual behavior (Settings Reference)
  • Inter-Agent Messaging โ€” Built-in messaging for coordination between agents and users; engineer-role agents can opt into backlog auto-claim for implementation tasks (Settings Reference)
  • Agent Chat + Chat Rooms โ€” Direct/task chat supports attachments, resumable streams, question response cards, and renameable conversations; experimental rooms route mentioned members as direct responders with optional ambient replies (Dashboard Guide โ†’ Chat View)

Provider authentication

Fusion supports OAuth-based authentication for AI providers configured via Settings โ†’ Authentication. For most OAuth providers, when the dashboard is accessed via a non-localhost host (remote node, LAN host/IP, or reverse proxy), provider login URLs are rewritten to route OAuth callbacks through a bridge endpoint (/api/auth/oauth-callback) so redirects reach the active browser session.

  • Anthropic (Claude) โ€” Uses a pasted authorization-code flow in Settings/onboarding: sign in, then paste the final redirect URL (or code) back into Fusion to complete login
  • OpenAI Codex โ€” Uses the same pasted authorization-code flow with secure state validation
  • Factory AI โ€” via Droid CLI (optional) โ€” requires local Droid CLI install + droid auth login; detection follows the effective runtime binary path (default droid, or plugin droidBinaryPath when configured), then enable in Settings โ†’ Authentication and restart Fusion
  • llama.cpp โ€” via HTTP server (optional) โ€” configure your llama.cpp server URL (default http://127.0.0.1:8080) and optional API key, then enable in Settings โ†’ Authentication
  • Other providers โ€” Authenticate via API key entry in Settings (including Google/Gemini API key, Google Generative AI, Vertex, and Cloud Code aliases)
  • Custom providers โ€” Add user-defined OpenAI-compatible, OpenAI Responses, Anthropic-compatible, or Google Generative AI endpoints from Settings โ†’ Authentication โ†’ Custom Providers; saved model IDs become selectable in project and workflow model lanes (Dashboard Guide)

Model system

Fusion uses a dual-scope model hierarchy with five independent lanes. Global settings define baseline defaults; project settings provide per-project overrides.

LanePurposeGlobal Baseline KeysProject Override Keys
ExecutorTask execution agentexecutionGlobalProvider + executionGlobalModelIdexecutionProvider + executionModelId
PlanningTask planning agentplanningGlobalProvider + planningGlobalModelIdplanningProvider + planningModelId
ValidatorPlan/code reviewervalidatorGlobalProvider + validatorGlobalModelIdvalidatorProvider + validatorModelId
Title SummarizationAuto-title generationtitleSummarizerGlobalProvider + titleSummarizerGlobalModelIdtitleSummarizerProvider + titleSummarizerModelId
Workflow Step RefinementAI prompt refinement(uses defaultProvider/defaultModelId)(uses modelProvider/modelId on WorkflowStep)

Workflow lanes: The default workflow exposes Plan/Triage, Executor, Reviewer, and fallback model lanes in Settings โ†’ Project Models, and advanced workflow settings can declare additional typed model/policy values (Settings Reference).

Per-Task Overrides: Tasks can override the executor, validator, and planning lanes with per-task model fields (modelProvider/modelId, validatorModelProvider/validatorModelId, planningModelProvider/planningModelId).

Precedence: Per-task โ†’ Project override โ†’ Global lane โ†’ defaultProvider/defaultModelId โ†’ Automatic resolution.

For full settings documentation, see Settings Reference.

Scheduled tasks / automations

Fusion supports scheduled task automation via the /api/automations endpoints. Automations can run shell commands or multi-step workflows on a configurable schedule.

Scheduling scope

Automations and routines can run in two scopes:

  • Global โ€” Runs across all projects. Use this for cross-project maintenance, backups, or unified reporting.
  • Project โ€” Runs only within a specific project. Use this for project-specific CI, testing, or deployment tasks.

When you create a schedule without choosing a scope, Fusion defaults to project scope with the default project ID for backward compatibility.

To explicitly target a scope:

  • In the dashboard Scheduled Tasks modal, use the Global / Project toggle.
  • Via the API, pass ?scope=global or ?scope=project&projectId=<id> on automation/routine endpoints.

Scope resolution rules:

  • scope=global always resolves to the global automation/routine lane, independent of the active project.
  • scope=project requires a projectId. If omitted, it falls back to "default".
  • CRUD, run, toggle, and webhook operations are strictly scope-isolated: a global schedule cannot be mutated from a project-scoped request, and vice versa.

Operational guidance for multi-project setups:

  • Prefer global schedules for shared infrastructure (e.g., nightly backups, memory insight extraction).
  • Prefer project schedules for per-repository automation (e.g., per-project test runners, deployment hooks).
  • Global and project lanes are polled independently by the engine, so due runs in one lane do not block the other.

Automations

EndpointMethodDescription
/api/automationsGETList all automations (filtered by scope if specified)
/api/automationsPOSTCreate automation (scope defaults to project)
/api/automations/:idGETGet automation by ID
/api/automations/:idPATCHUpdate automation
/api/automations/:idDELETEDelete automation
/api/automations/:id/runPOSTTrigger manual run
/api/automations/:id/togglePOSTToggle enabled/disabled
/api/automations/:id/steps/reorderPOSTReorder automation steps

Routines

Routines are AI agent tasks triggered by cron schedules, webhooks, or manual execution. Routines share the same global/project scope model as automations.

EndpointMethodDescription
/api/routinesGETList all routines (filtered by scope if specified)
/api/routinesPOSTCreate routine (scope defaults to project)
/api/routines/:idGETGet routine by ID
/api/routines/:idPATCHUpdate routine
/api/routines/:idDELETEDelete routine
/api/routines/:id/runPOSTManual trigger
/api/routines/:id/triggerPOSTCanonical manual trigger
/api/routines/:id/runsGETGet execution history
/api/routines/:id/webhookPOSTWebhook trigger (signature verification supported)

CLI quick examples

fn task create "Fix the login bug"                    # Quick entry โ†’ planning
fn task plan "Build auth system"                      # AI-guided planning
fn task import owner/repo --labels bug                # Import GitHub issues
fn task show FN-001                                   # View task details
fn task logs FN-001 --follow                          # Stream execution logs
fn task steer FN-001 "Use TypeScript"                 # Guide the agent mid-execution

fn project add my-app /path/to/app                    # Register a project
fn project list                                       # List all projects

fn settings set maxConcurrent 4                       # Configure settings
fn settings export                                    # Export configuration

fn mission create "Auth System" "Build auth"          # Create mission
fn mission activate-slice <slice-id>                  # Activate a slice

fn skills search react                                # Search skills.sh
fn skills install firebase/agent-skills               # Install agent skills

Packages

PackageDescription
@fusion/coreDomain model โ€” tasks, board columns, SQLite store
@fusion/dashboardWeb UI โ€” Express server + kanban board with SSE
@fusion/engineAI engine โ€” planning, execution, scheduling, workflow steps
@runfusion/fusionCLI + extension โ€” published to npm

Development

pnpm install                  # Install dependencies
pnpm local                    # Start local dashboard/API + AI engine on a non-4040 port
pnpm local --no-engine        # Start local dashboard/API only
pnpm build                    # Build default workspace packages (excludes desktop/mobile)
pnpm build:all                # Build all packages (including desktop/mobile)
pnpm dev dashboard            # Run dashboard + AI engine
pnpm dev:ui                   # Dashboard only (no AI engine)
pnpm lint                     # Lint all packages
pnpm typecheck                # Type-check all packages
pnpm test                     # Run all tests

Build a standalone executable

Build a single self-contained fn binary using Bun:

pnpm build:exe                # Build for current platform
pnpm build:exe:all            # Cross-compile for all platforms

License

MIT โ€” open source, no vendor lock-in. See LICENSE.

runfusion.ai โ†’