- Автор
- smartcomputer-ai
- Размер
- 36.8 MB
- Звёзды
- 276
- Обновлён
- КоммитNov 17Релизv0.11.0Nov 18
- Возраст
- 9 мес
- Коммиты · 90 дней
README проекта с github.com/smartcomputer-ai/lightspeed. Одним файлом markdown: README.md.
Run thousands of agents. Efficient, durable, auditable.
Website · Documentation · Demo
Lightspeed is open-source infrastructure for running managed agent fleets as durable workflows.
"Managed agents" is an emerging pattern that separates the core agent loops from the VM or sandbox they use. Agents survive restarts, can run for months, and stay cheap when idle. When they need an operating system, they borrow a real machine for as long as the task requires.
Lightspeed's Rust core runs on Temporal today and stores production data in Postgres with optional S3. The frontend is TypeScript and React.
Lightspeed aims for the capability of Claude Code, Codex, and OpenClaw without requiring one operating system per agent.
Most frontier harnesses live inside a guest OS, which makes them difficult to scale and secure. Hence the emerging pattern to "separate the harness from compute" or the brain and hands split. This is especially useful in enterprises with more stringent supervision and scaling requirements.
So, in Lightspeed, the harness (the agent loop, context, and session state) runs as a lightweight durable workflow. Shells, code execution, and full filesystems run on machines attached only when needed. One worker can therefore manage hundreds of agents.
What you can build with Lightspeed:
To run from source, install the Rust toolchain selected by rust-toolchain.toml,
Node.js 24 or newer, Docker with Compose, and a native build toolchain with
protoc. Then start the local product:
./dev.sh
When the readiness checks pass in the CLI, open
http://localhost:5173/app/ and sign in with the
development account printed by the launcher. The defaults are
[email protected] and lightspeed-dev-password.
Select the Test universe, open Models → Add provider, and connect an
API key. Follow the quickstart
to choose a model and start your first session. You can also set
OPENAI_API_KEY or ANTHROPIC_API_KEY in a root .env as deployment defaults.
The launcher installs dependencies, starts local infrastructure and application processes, applies migrations, and waits until the product is ready.
For other development profiles, service addresses, resets, and live tests, see the local development guide. See Environment variables for exact settings and defaults.
The current implementation includes:
Models & providers
Agent capabilities
Bots
Durability & scale
Attached compute
lightspeed-envd is the daemon that connects a running system with Lightspeed. Run it anywhere with a
registration key and it dials in and registers itself, so NATed VMs,
Kubernetes pods, and benchmark sandboxes need no inbound addressSecurity & auth
In Lightspeed, every agent is driven by an event-sourced, deterministic core. The runtime replays the session log, decides the next step, and emits effect intents that adapters execute against LLM providers and tools. The core itself performs no I/O, which makes it a natural fit for durable workflow engines.
Two more decisions make this practical inside a workflow engine:
The architecture walkthrough introduces the system. Continue with the agent loop and durability, context and storage, and tools and controller workflows to understand better how everything works and fits together.
cargo test
npm run check
See Testing and evaluation for focused checks, replay coverage, live-test prerequisites, and model evaluations.
Preview the Starlight manual with ./dev.sh docs.
See CONTRIBUTING.md