Introduction
Linea: a workflow automation PaaS for running AI agent pipelines with memory, scheduling, and integrations.
Welcome to Linea
Linea is a workflow automation platform designed to run AI agent pipelines at scale. It provides everything needed to build, schedule, monitor, and remember across automated workflows.
This documentation covers the internal architecture of Linea: intended for contributors and developers building on top of the platform.
What Linea Provides
- Workflow Engine: define, deploy, and trigger multi-step automation workflows
- Execution Runtime: BullMQ-powered job processing with real-time status tracking
- Memory System: SuperMemory-inspired atomic fact storage with pgvector hybrid search
- Knowledge Bases: workspace-scoped document stores with vector search
- MCP Integration: attach Model Context Protocol servers as tools to any workflow
- Schedules & Webhooks: cron triggers and HTTP event hooks
- Notifications: user-scoped event feed
- API Keys: workspace-level credentials for programmatic access
Quick Navigation
Tech Stack
| Layer | Technology |
|---|---|
| API | NestJS 11, TypeScript |
| Database | PostgreSQL + pgvector (via Drizzle ORM) |
| Job Queue | BullMQ + Redis |
| Auth | Clerk |
| Frontend | Next.js 15, React 19, Tailwind CSS v4 |
| Monorepo | Turborepo + pnpm workspaces |
| AI | Anthropic Claude Haiku (extraction), OpenAI (embeddings) |