THE LITTLE STACK DOCUMENTATION
Good agents start
with a little stack.
Build with an agent runtime. Add durable workflows.
Keep the tools, files, and traces that make it all work.
Local first. Bring your own model.
import { createHarness, localHost }
from "@little-stack/harness";
import { openai } from "@ai-sdk/openai";
export const agent = createHarness({
host: localHost({ dataDir: ".little" }),
model: openai("gpt-5"),
system: "You help people get things done.",
});
# Create a Node or Next.js project
npx @little-stack/workflow@0.2.0-alpha.2 setup
# Already have a Next.js app? Preview changes:
npx @little-stack/workflow@0.2.0-alpha.2 setup \
--here --template existing-next --plan
# Add --workflow to include a durable workflow.
ONE STACK. CLEAR RESPONSIBILITIES.
Find your building block.
THE AGENT RUNTIME
Little Harness
Give your agent tools, skills, files, and a workspace. Keep sessions and traces together.
DURABLE EXECUTION
Little Workflow
Turn bounded jobs into validated workflows. Run, inspect, and replay every step.
TRACING & IMPROVEMENT
LittleDB
Trace what agents do, evaluate the results, and test changes that make them better.
THE WORKSPACE ENGINE
Little Compute
The self-hosted engine for persistent workspaces and on-demand execution.
Harness and Workflow run independently. LittleDB is private; Little Compute is unpublished. See release status
FROM AN IDEA TO A FIRST RUN
Start small.
Build from there.
Most projects start with Harness. Add a workflow when a job needs durable, replayable steps.
Choose your starting pointYour machine is a good place to start.
The published SDKs run locally with Node.js 22+ and AI SDK 7. No Little hosted service required.