About this project

opencraft is a local-first desktop work partner built on flowcraft's config-driven graph engine. It runs entirely on the user's machine across macOS, Linux, and Windows, providing an LLM-driven agent that reads and edits files, executes shell commands with approval gates, coordinates subagents, and persists and resumes sessions. The application is built with Wails v3 and React, creating a native desktop experience. It supports multiple inference providers including OpenAI, Anthropic, Azure, ByteDance, DeepSeek, Kimi, MiniMax, and Qwen, with custom endpoints, router priority with retry fallback, and per-model usage tracking. Key features include streaming chat with reasoning and tool calls, session management with resume, rename, export, and delete capabilities, a kanban view for subagent delegation, and internationalization support for English and Chinese. The tool suite covers file operations, command execution (including PTY sessions), patch application, web fetching, plan updates, permission requests, and skill tools. Safety is handled through a middleware chain with truncation caching, a 32k result cap, secret redaction, and a JSONL audit trail. The runtime includes a local execd sandbox with stdio and unix socket support, workspace-scoped SQLite storage, buffer-fold memory summarization, AGENTS.md worldstate, layered configuration, and seatbelt/bwrap sandboxing with approvals stored outside the project directory. Multi-agent capabilities include persistent subagents with delegation kanban, skill discovery, git-based installation, and authoring tools. Workflow features encompass JSONL session rollout streams, external lifecycle hooks, configurable network policy with SSRF protection, and a diagnostics tab. Installation is available via Homebrew on macOS or direct download from GitHub Releases for all platforms. The macOS app is signed with a Developer ID and notarized by Apple. Building from source requires Go 1.25+, Node 22, and Wails v3 prerequisites. The project is released under the MIT License.