/flux

The local-first, AI-powered knowledge base.Not just another markdown editor.

Start organizing your knowledge or read our docs

MCP > GitHubSyncing issues...
Claude CodeGenerated summary.
Flux - /projects/phoenix.md

Project Phoenix

A comprehensive rewrite of our core platform with a focus on local-first architecture and AI integrations.

Tasks

Design database schema
Implement CRDTs for sync
Integrate MCP for local AI tools

AI Summary

The project is 60% complete. The remaining work focuses heavily on the AI agent integrations via the Model Context Protocol. You might want to assign an extra developer to the MCP tasks.

AI-first with MCP.

Connect your local knowledge base to external APIs. Continuously sync data, run agentic workflows, and extend capabilities using the Model Context Protocol (MCP).

and others
githubSync.tsSee example
import { MCPClient } from "@flux/mcp";

const client = new MCPClient();

const issues = client.database("github_issues", {
type: "managed",
initialTitle: "GitHub Issues",
schema: { properties: {
"Title": Schema.title(),
"Status": Schema.select(["Open", "Closed"]),
"Labels": Schema.multiSelect()
}}
});

client.sync("issuesSync", {
database: issues,
schedule: "5m",
execute: async () => {
// Fetch from GitHub and upsert to local Flux DB
const data = await fetchGitHubIssues();
return data;
}
});
Workers > sync:issuesSync
Done. Synced 12 issues in 432 ms.

GitHub Issues

Aa TitleStatusLabels
Fix markdown parsing bugOpenbug
Add vim keybindingsOpenfeatureui
Update Electron versionClosedchore
New page

Build any tool for your agents.

Write custom tools for Flux Agents that generate assets, query live data, and hit any local or remote API.

Generate assets from your docs

exportPdfTool.tsSee example
const exportTool = agent.tool("exportToPDF", {
title: "Export to PDF",
description:
"Reads a Flux page and creates a styled PDF document"
+ " from its content. The generated .pdf file is saved"
+ " to the local workspace.",
schema: j.object({
pageId: j.string()
}),
execute: async ({ pageId }, { flux }) => {
// Fetch page content as markdown and parse to PDF
const title = await flux.getPageTitle(pageId);
const markdown = await flux.getPageMarkdown(pageId);
const pdf = await generatePDF(markdown, title);

return flux.saveFile(pdf, `${title}.pdf`);
}
});
Agent > tool:exportToPDF
Done after 412 ms.
Can you turn Project Phoenix into a PDF?
Thought
Loaded page Project Phoenix
Called tool Export to PDF
Finalized PDF document

All set. Here's the new PDF for your next meeting. Break a leg!

Created ProjectPhoenix.pdfDownload

Trigger Agent workflows from anywhere.

Listen for local file changes or incoming webhooks from any app, then run workflows with Flux Agents, local tools, and external APIs.

Read the docs
File created
Sync completed
Daily 9:00 AM
agent.hook(processSync)
Generate report
Update Graph
Send notification

All of this, on a blazing fast local core.

Flux is built on Electron and Node.js, providing an isolated, lightning-fast sandbox. The code behind your agents, syncs, and workflows runs locally on your machine—never on a server.

Read the docs
$ flux run agent --local
[build] Bootstrapping Electron core...
[build] Loading plugins...
[build] Agent sandbox initialized.

Capabilities:
tool queryKnowledgeGraph
tool exportToPDF
sync githubIssues
Alpha

Bring your favorite agents into Flux.

Use external agents like Claude, Cursor, or one you’ve built, in a shared interface for your team and agents.

Join the waitlist

Mention

Collaborate with agents like teammates. @mention them in any page, comment, or chat with them directly.

NP
Neha Patel2m

@Claude and @Codex Can you jump in on this bug?

ClaudeJust now

Roger that—let me get started.

Assign

Hand off work to your agents from any task, or trigger them in parallel.

Assignee
Aa Task
Codex Agent
Implement empty-state...
C
Cursor Agent
A
Claude Agent
D
Decagon Agent
Empty
Bugfix for homepage

Orchestrate

Watch agents think, call tools, and act across Flux and other apps with your review and approval when it matters.

ClaudeJust now

Let me understand the context before I get started here.

Thinking
Loaded page Design Doc
Used tool Summarize Changes
Creating new coding environment

Everything you need. Nothing you don't.

Flux is designed to be the ultimate extensible, local-first knowledge base.

Local-first

Your data stays on your machine. No cloud lock-in, fully available offline.

Plain-file

Everything is just Markdown. Open your vault in any text editor, anytime.

Vim mode

First-class Vim keybindings for those who live and breathe the keyboard.

Publish to web

Share your notes with the world instantly. Deploy your vault as a website.

Plugin sandbox

Safely run community plugins in an isolated WASM sandbox environment.

Multi-view

Switch seamlessly between Graph, Canvas, Kanban, and Calendar views.

AI-first with MCP

Native LLM integration using the Model Context Protocol to chat with your vault.

Cross-platform

Native applications for macOS, Windows, Linux, iOS, and Android.

Why Flux is faster.

By deeply optimizing the Electron main process and leveraging native Node.js bindings, Flux achieves native-level performance that leaves competitors in the dust.

AppBundle SizeCold-StartMemory FootprintDisk Fidelity
Flux45 MB120 ms65 MBNative (Electron)
Obsidian80 MB150 ms120 MBElectron
NotionN/A (Web)1200 ms400+ MBCloud-only
Logseq110 MB300 ms250 MBElectron
Tolaria95 MB200 ms180 MBElectron
Zennotes150 MB400 ms300 MBElectron

CLI, API, MCP, SDK — LFG.

Flux CLI

Beta

Let coding agents use token-efficient commands to build and deploy tools directly into your local Flux workspace.

curl -fsSL https://flux.local/install | bash
Read the docs

Flux Local API

Turn your vault into an accessible knowledge graph. Build internal tools with local websockets and secure shared connections.

Read the API docs

Flux MCP

Search, read, and edit pages and databases locally using standard Model Context Protocol integrations.

claude mcp add --transport stdio flux
Claude
Read the docs

Flux Plugin SDK

Alpha

Build native plugins using Rust or WASM. Extend the core capabilities of Flux with extreme performance and deep system integrations.

Join the waitlist
import { Plugin } from "@flux/sdk";

const plugin = new Plugin({
name: "graph-analyzer",
version: "1.0.0"
});

await plugin.registerHook("onNodeCreated", async (node) => {
await plugin.api.graph.addEdges(node.id, "suggested_links");
});

Any data. Any tool.
Any agent. All in Flux.

External platforms
AgentsClaude, Cursor, OpenAI, BYO
Data sourcesLocal Files, GitHub, Postgres
TriggersFile Watcher, Webhooks, Cron
Flux Workspace
Flux Core
CLI / MCP / API / SDK
Electron Workers
Personal Knowledge
Markdown filesCanvas boardsKnowledge graphsProjectsTasks
Local Agents

Join the rebellion.

Flux is open-source and community-driven. Connect with thousands of developers, researchers, and creators building the future of local-first knowledge graphs.