Skip to content

lightfastai/lightfast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5,421 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Lightfast

Lightfast

License: Apache 2.0 npm version TypeScript CI Status GitHub stars

An operating system for product development. For agents and teams.

Website · Documentation · Discord

Lightfast ingests events from your stack — code, signals, feedback, decisions, deploys — and stores them as cited memory that agents and engineers query through the same primitives. The operating layer is a pipeline: memory → intelligence → agents. v0.1.0 ships memory and a proxy for agent actions; intelligence, and the auto-drafted artifacts that close the loop, are in development.

Memory

Memory is the substrate, and the layer Lightfast ships today.

Every event from every connected tool flows into a temporal graph with semantic embeddings, cited by source. Not a log — a graph that resolves commits, PRs, deployments, incidents, and the people behind them into entities and traces the relationships between them. Explore answers questions against that graph with streaming, cited responses grounded in the actual events.

The direction: causal reasoning across tools — not just storing that a PR merged and an error spiked, but understanding which commit caused which incident, which ticket tracks the fix, and which deployment shipped it. The longer Lightfast runs, the more it understands about your team, your patterns, and your stage.

Intelligence

Intelligence will compose memory into action. Skills, workflows, rules, and permissions — defined once, enforced continuously.

The target: express an invariant — "every production release needs an approved review and a closed ticket" — and the layer enforces it at all times, not on a schedule.

This layer is in development. Today, Lightfast exposes memory through cited answers and a proxy primitive (below) that executes provider actions on behalf of agents.

Agents

Agents operate on memory through the REST API, TypeScript SDK, and MCP server — the same primitives available to people.

The proxy primitive is the first step toward intent-based resolution: proxy.search discovers connected providers, resources, and available actions; proxy.call executes an action (github.list-pull-requests) through Lightfast with auth handled. Action-level today; higher-order intent resolution — find the owner of this system, open a PR with full context — is where this is headed.

The destination: as the number of agents in your company grows, one system they all operate through — with shared memory, shared context, and your rules enforced at the kernel level.

Surfaces today: REST API, TypeScript SDK, MCP (Claude, Cursor, Codex). IDE and CI surfaces are planned.

The Loop

Where Lightfast is going — bug → fix → changelog, without anyone copy-pasting:

  1. Signal lands. A Sentry error and a customer report resolve to the same symptom.
  2. Context stitches. Lightfast correlates the symptom to a commit, PRs, owner, and prior discussion.
  3. Fix ships. A PR opens with full context, merges, deploys.
  4. Loop closes. A changelog entry, a customer reply, and a docs update auto-draft — each human-reviewable.

Today, steps 1 and 2 are addressable through memory + Explore. Steps 3 and 4 — the write-back and auto-drafting — are the roadmap. Every feature Lightfast ships is meant to make your team smarter, not just the product larger.

Supported Sources

Available now:

Source Events
GitHub Push, pull requests, issues, code reviews
Vercel Deployments, project activity
Sentry Errors, issues, alerts
Linear Issues, comments, projects, cycles

Coming soon:

Integrate in 2 Ways

1. TypeScript SDK

npm install lightfast
import { createLightfast } from "lightfast";

const lf = createLightfast(process.env.LIGHTFAST_API_KEY!);

// Semantic search across all connected sources
const { results } = await lf.search({
  query: "deployment errors last week",
  limit: 10,
});

// Discover connected providers, resources, and available actions
const { connections } = await lf.proxy.search();

// Execute a provider action through Lightfast (auth handled)
const { status, data } = await lf.proxy.call({
  action: "github.list-pull-requests",
  params: { owner: "acme", repo: "web" },
});

2. MCP Server (Claude, Cursor, Codex)

Connect AI assistants directly to your workspace via Model Context Protocol.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "lightfast": {
      "command": "npx",
      "args": ["-y", "@lightfastai/mcp"],
      "env": {
        "LIGHTFAST_API_KEY": "sk-lf-..."
      }
    }
  }
}
Claude Code (CLI)

Add to .mcp.json in your project root (or ~/.claude.json for global):

{
  "mcpServers": {
    "lightfast": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@lightfastai/mcp"],
      "env": {
        "LIGHTFAST_API_KEY": "sk-lf-..."
      }
    }
  }
}

Or use the CLI: claude mcp add lightfast --scope project -- npx -y @lightfastai/mcp

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "lightfast": {
      "command": "npx",
      "args": ["-y", "@lightfastai/mcp"],
      "env": {
        "LIGHTFAST_API_KEY": "sk-lf-..."
      }
    }
  }
}
OpenAI Codex

Add to ~/.codex/config.toml:

[mcp_servers.lightfast]
command = "npx"
args = ["-y", "@lightfastai/mcp"]

[mcp_servers.lightfast.env]
LIGHTFAST_API_KEY = "sk-lf-..."

Available tools:

  • lightfast_search — semantic search across connected sources, with cited results
  • lightfast_proxy_search — discover connected providers, resources, and available provider actions
  • lightfast_proxy_call — execute a provider action through Lightfast (auth handled)

Security

  • Your data stays yours — We never train on your data. Complete tenant isolation.
  • Encrypted at rest and in transit — Industry-standard security practices
  • Role-based access — Workspace permissions mirror your source permissions
  • Self-hosted option — Coming soon for enterprises with strict data residency requirements

Requirements

Documentation

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

git clone https://github.com/lightfastai/lightfast.git
cd lightfast
pnpm install
pnpm dev

Community

License

Lightfast is open source:

  • Platform (apps, API routers, database, internal packages): Apache License 2.0.
  • SDKs and shared libraries (core/*, vendor/*, UI kit, shared utilities): MIT License (see each package's LICENSE file or package.json).

Contributions are accepted under the Developer Certificate of Origin via Signed-off-by: on commits. See CONTRIBUTING.md.

About

Lightfast is the operating system that runs your startup. Your tools, your agents, your entire operation — orchestrated in one place. Strategy, ops, execution. Lightfast runs all of it.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors