The Headless Project Management Engine
Build custom project boards, dynamic DAG dependency trackers, and reactive Kanban workflows into your web apps. No bloated Jira or Linear iframes. Zero vendor lock-in.
pnpm add @critical-path/core @critical-path/client Real-Time Critical Path DAG Calculation
Click tasks to toggle completion. Watch downstream blockers dynamically resolve and the critical path recalculate.
Engineered for Modern Web Architecture
Everything you need to orchestrate complex task workflows, dependencies, and project state without heavy monolithic bloat.
100% Headless Architecture
Completely decoupled logic and state. Build your UI using React, Svelte, Vue, or vanilla HTML without fighting opinionated design systems.
Real-time DAG & Critical Path
Automated topological sorting, cycle detection, and sub-millisecond calculation of critical path duration and blocker chains.
Pluggable Storage Adapters
Switch between SQLite, Firestore, or In-Memory storage with a single line of configuration. Or easily roll your own custom adapter.
Extensible Lifecycle Hooks
Tap into async hooks: beforeTaskCreate, afterTaskUpdate, onStatusTransition. Add audit logging, webhook notifications, and automated workflows.
Standards-Compliant Web Fetch
Built on standard Web Request/Response objects. Mount seamlessly into Next.js App Router, SvelteKit, Express, or Cloudflare Workers.
Model Context Protocol & WebMCP
First-class dual AI integration: standard server MCP for Claude Desktop & Cursor, plus client-side WebMCP with ambient project scoping for React and Svelte 5.
Drop-In Simplicity Across Frameworks
Clean, idiomatic APIs tailored for your favorite frontend and backend ecosystems.
// app/api/critical-path/[...path]/route.ts import { createNextHandler } from '@critical-path/server'; import { SQLiteStore } from '@critical-path/core'; // Initialize store and mount standard Next.js route handler const store = new SQLiteStore({ filename: 'critical-path.db' }); const handler = createNextHandler({ store }); export { handler as GET, handler as POST, handler as PUT, handler as PATCH, handler as DELETE, handler as OPTIONS };
Why Headless Project Management?
Traditional project trackers force you into their web UI, vendor lock-in, and costly per-seat pricing. Critical Path gives you the raw engine to embed directly into your stack.
- × Rigid UI: Locked into third-party dashboards and iframe embeds.
- × Siloed Data: Your project data lives in their proprietary cloud database.
- × Per-Seat Tax: Exponential enterprise billing for every internal user.
- × Slow Latency: Multi-second roundtrips across bloated external REST APIs.
- ✓ 100% Custom UX: Render natively in your own React or Svelte design system.
- ✓ Your Database: Store tasks in your SQLite or Firestore instance alongside your application data.
- ✓ MIT Open Source: Zero per-seat fees. Deploy everywhere with complete source control.
- ✓ Sub-Millisecond Engine: In-process topological sorting and instant critical path math.