coreblow
v2.6.0
Published
CoreBlow — enterprise AI gateway and personal assistant runtime
Maintainers
Readme
Start a task in your terminal, hand the exact session off to CoreBlow Studio Desktop without losing context, or let it keep running 24/7 over Telegram, Discord, Slack, and scheduled cron jobs. Everything connects to one local Gateway backed by SQLite memory and OS-level sandboxing — no cloud lock-in, no account wall, and no split state across devices.
Use any model you want — local Ollama, Anthropic, OpenAI, Google Gemini, OpenRouter, or your own OpenAI-compatible endpoint. Switch models mid-session with /model, or let the adaptive router fail over automatically when provider quotas tighten.
- A real terminal UI, plus Desktop and Web — Full React + Ink terminal interface (
coreblow) with multiline editing, inline colored diffs, and approval prompts, seamlessly synchronized with CoreBlow Studio Desktop (apps/desktop/— the sole cross-platform Desktop application with built-in macOS/Windows/Linux Menu Bar & System Tray), Web Control UI, and Go terminal companion (corechat). - One memory that persists and learns — Four-layer local memory (
USER.md,MEMORY.md,CONSTRAINTS.md, daily journals) indexed with SQLite WAL + FTS5/BM25 (< 2msrecall). Completed tasks feed EvoLoop skill synthesis so your agent gets more useful without manual prompt rewrites. - Safe execution by default — Loopback-only local Gateway by default, OS-level bash sandboxing (Apple Seatbelt on macOS, Bubblewrap on Linux), TypeScript AST skill security scanning,
per-channel-peerDM isolation, and a SHA-256 tamper-evident audit journal. - Any model, automatic failover — Route across 8 backends and 6 task tiers (
fast,deep,local,coding,vision,decision) with Daybreak quota failover to fallback cloud models or local Ollama without dropping active turns. - Multi-agent delegation and PR gates — Escalate complex tasks to specialist agents (
@coder,@researcher,@auditor,@verifier,@all) on a Kanban DAG, backed by a 5-gate PR workflow (typecheck,linter,unit_tests,secret_scan,forbidden_paths). - 24/7 channels, cron, and 75 MCP tools — Built-in cron scheduler (
coreblow cron), unified bot monitor (coreblow bots), and a live Model Context Protocol server (coreblow mcp serve) exposing 75 native tools over stdio and JSON-RPC. - Two-tier extensibility — Install verified channel drivers and integrations on demand from CoreHub behind
coreblow/plugin-sdk, or drop zero-dependencySKILL.mdV2 cognitive workflows indexed in< 2ms.
Quick Start
Requires Node.js 22.12+.
npm install -g coreblow
coreblowRunning coreblow for the first time launches an interactive setup wizard inside your terminal to pick your provider, model, and theme in under 30 seconds.
Other install options:
# Homebrew (macOS / Linux)
brew install coreblow/tap/coreblow
# Docker Compose (local containerized gateway)
git clone https://github.com/coreblow/coreblow.git && cd coreblow
docker compose up -dDaily Workflows
# Pipe diffs, logs, or files into headless mode (CI & Unix-friendly)
git diff | coreblow -p "Review these changes for security and edge cases" --output-format json
# Pick up right where you left off (SQLite FTS5 session store)
coreblow -c # continue the latest session in this folder
coreblow -r # fuzzy full-text search across past sessions
# Move from terminal to Desktop with the same live session
coreblow desktop --session latest
# Run the local Gateway, scheduled jobs, and messaging bots 24/7
coreblow gateway run # start the loopback gateway in the foreground
coreblow cron # manage scheduled background jobs
coreblow bots # monitor Telegram, Discord, Slack, WhatsApp, Signal
# Check Gateway latency and security posture
coreblow doctor --net # real RTT percentiles (min/median/p95/max ms)
coreblow security audit # check config, permissions, and secret hygiene
# Launch the lightweight Go terminal client or serve 75 native MCP tools
coreblow chat --go
coreblow mcp serveArchitecture
CoreBlow runs as a 12-service Hybrid OOP/DOP microkernel inside a single local Gateway. Stateful services (registries, SQLite WAL, plugin sandboxes, War Room orchestration) stay isolated behind explicit OOP boundaries, while hot paths (prompt assembly, SSE streaming, model routing, skill distillation) run as pure data transforms.
flowchart TD
subgraph Clients["Omni-Platform Client Surfaces"]
TUI["Terminal TUI (React + Ink)<br/><code>coreblow</code>"]
DESK["Studio Desktop (Electron + Vite)<br/><code>apps/desktop/</code>"]
WEB["Web Control UI<br/><code>ui/</code>"]
COMP["CoreChat (Go) & CoreBar (macOS)<br/>24/7 Messaging Channels"]
end
subgraph Gateway["CoreBlow Gateway Control Plane"]
GW["WebSocket / HTTP Control Plane"]
end
subgraph Microkernel["12-Service Hybrid Microkernel"]
LOOP["Agent Turn Loop<br/>Cognitive Coordinator & War Room"]
COG["Cory Memory (SQLite WAL + FTS5)<br/>EvoLoop & Knowledge Scribes"]
ROUTE["8-Backend Adaptive Router<br/>(Daybreak Failover)"]
MCP["MCP Bridge (75 Native Tools)<br/>& CoreHub Plugin Host"]
SEC["Seatbelt / Bubblewrap Sandbox<br/>AST Scanner & 5-Gate PR Engine"]
end
Clients <-->|WebSocket / JSON-RPC| GW
GW <--> LOOP
LOOP <--> COG
LOOP <--> ROUTE
LOOP <--> MCP
LOOP <--> SEC| Directory | Responsibility | Tier |
| :--- | :--- | :--- |
| src/gateway/ | Gateway server, WebSocket/HTTP control plane, and 12-service DI registry. | Kernel Host |
| src/memory/ | Cory 4-layer memory, SQLite WAL + FTS5/BM25 index, Knowledge Scribes, and compaction. | Cognitive |
| src/learning/ | EvoLoop skill synthesizer, DOP trajectory distiller, Wilson scoring, and skill locks. | Cognitive |
| src/providers/ | 8-backend adaptive router, Daybreak quota failover, credential pool, and SSE streaming. | Routing |
| src/agents/ | Single-brain Cognitive Coordinator, War Room Kanban DAG, and 5-gate PR workflow engine. | Orchestration |
| src/mcp/ | Live Model Context Protocol bridge exposing 75 native tools over stdio and JSON-RPC. | Protocol |
| src/plugins/ | Controlled plugin host, CoreHub App Store lifecycle, trust policies, and chat views. | Extensibility |
| src/security/ | TypeScript AST skill scanner, execution approvals, secret redaction, and OS sandboxes. | Security |
| src/tui/ink/ | Production React + Ink terminal UI (diffs, inline approvals, /model, /pool, /rewind, /sandbox). | Interface |
| src/cli/ | Operator CLI (onboard, doctor --net, chat --go, cron, bots, mcp, plugins, security). | Interface |
| apps/desktop/ | Sole cross-platform CoreBlow Studio Desktop app (macOS, Windows, Linux) with built-in Menu Bar / System Tray, electron-updater, --session handoff, and sandbox: true. | Desktop |
| ui/ | Pre-built Web Control UI served directly by the Gateway. | Web |
| extensions/ | Controlled workspace plugins managed via CoreHub. | Plugins |
All repositories under github.com/coreblow enforce 100% 40-character commit SHA-pinned GitHub Actions, automated CycloneDX SBOMs, and signed build provenance.
| Repository | Role |
| :--- | :--- |
| coreblow/corehub | On-demand plugin App Store registry, Cloudflare Worker backend, and SHA-256 verified catalog |
| coreblow/corechat | Standalone Go 1.22+ WebSocket / JSON-RPC terminal client (coreblow chat --go) |
| coreblow/corebar | Native macOS SwiftUI Menu Bar status monitor for the local Gateway |
| coreblow/trust | OWASP Agentic AI threat model and automated policy evaluator |
| coreblow/corebox | OS-level process isolation runner (Seatbelt, Bubblewrap, Docker) |
| coreblow/dolphin | Typed resumable workflow runner with atomic disk checkpoints |
| coreblow/corebench | Gateway latency, TTFT/RTT network profiling, and benchmark harnesses |
| coreblow/coreblow.com, homebrew-tap, nix-coreblow | Public website, installers, Homebrew tap, and Nix flake packaging |
Operator Quick Reference
# Setup & configuration
coreblow onboard # Guided interactive setup for models, channels, and skills
coreblow configure # Edit gateway, provider, and credential settings
# Gateway operations
coreblow gateway run # Start the local gateway in the foreground
coreblow gateway status # Check daemon status and socket reachability
coreblow health --json # Fetch structured health output
# Diagnostics & companions
coreblow doctor --net # Measure Gateway RTT latency (min/median/p95/max ms)
coreblow chat --go # Launch the compiled Go terminal companion (corechat)
coreblow desktop --session <id> # Open an active session in CoreBlow Studio Desktop
# Automations, protocols & security
coreblow cron # Manage 24/7 scheduled background tasks
coreblow bots # Monitor connected messaging bots
coreblow mcp serve # Serve 75 native tools via Model Context Protocol
coreblow security audit # Audit permissions, secrets, and sandbox postureDevelopment & Contributing
Requires Node.js 22.12+ and pnpm 10+.
git clone https://github.com/coreblow/coreblow.git
cd coreblow
pnpm install
pnpm check # oxlint + tsgo + MCP budget + SDK boundary + security checks
pnpm test # vitest suite
pnpm build # Control UI + runtime bundles + plugin-sdk declarationsFleet companion scripts (automatically resolves binary on $PATH or local companion checkout):
pnpm corebar:dev # Run macOS menu-bar companion
pnpm chat:go # Run Go terminal companion
pnpm trust:eval --help # Run OWASP Agentic AI policy evaluator
pnpm rtt:probe # Probe Gateway TTFT / RTT latency
pnpm bench:run # Run Gateway benchmark suiteSee CONTRIBUTING.md for contribution guidelines, code style standards, and verification workflows.
Further reading:
- Architecture Blueprint
- Ecosystem Contract Map
- Product Requirements
- Releases & Upcoming Work
- Discussions
- Issues
- Documentation Portal
License
CoreBlow is open-source software licensed under the MIT License. Copyright © 2026 CoreBlow.
