/flux
The local-first, AI-powered knowledge base.
Not just another markdown editor.
Start organizing your knowledge or read our docs
Project Phoenix
A comprehensive rewrite of our core platform with a focus on local-first architecture and AI integrations.
Tasks
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).
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;
}
});
Done. Synced 12 issues in 432 ms.
GitHub Issues
| Aa Title | Status | Labels |
|---|---|---|
| Fix markdown parsing bug | Open | bug |
| Add vim keybindings | Open | featureui |
| Update Electron version | Closed | chore |
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
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`);
}
});
Done after 412 ms.
All set. Here's the new PDF for your next meeting. Break a leg!
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 docsAll 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[build] Bootstrapping Electron core...
[build] Loading plugins...
[build] Agent sandbox initialized.
Capabilities:
tool queryKnowledgeGraph
tool exportToPDF
sync githubIssues
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 waitlistMention
Collaborate with agents like teammates. @mention them in any page, comment, or chat with them directly.
@Claude and @Codex Can you jump in on this bug?
Roger that—let me get started.
Assign
Hand off work to your agents from any task, or trigger them in parallel.
Orchestrate
Watch agents think, call tools, and act across Flux and other apps with your review and approval when it matters.
Let me understand the context before I get started here.
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.
| App | Bundle Size | Cold-Start | Memory Footprint | Disk Fidelity |
|---|---|---|---|---|
| Flux | 45 MB | 120 ms | 65 MB | Native (Electron) |
| Obsidian | 80 MB | 150 ms | 120 MB | Electron |
| Notion | N/A (Web) | 1200 ms | 400+ MB | Cloud-only |
| Logseq | 110 MB | 300 ms | 250 MB | Electron |
| Tolaria | 95 MB | 200 ms | 180 MB | Electron |
| Zennotes | 150 MB | 400 ms | 300 MB | Electron |
CLI, API, MCP, SDK — LFG.
Flux CLI
BetaLet coding agents use token-efficient commands to build and deploy tools directly into your local Flux workspace.
Flux Local API
Turn your vault into an accessible knowledge graph. Build internal tools with local websockets and secure shared connections.
Read the API docsFlux MCP
Search, read, and edit pages and databases locally using standard Model Context Protocol integrations.
Flux Plugin SDK
AlphaBuild native plugins using Rust or WASM. Extend the core capabilities of Flux with extreme performance and deep system integrations.
Join the waitlistimport { 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.
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.