lk autoorg

Run an autonomous organization loop — and pick the org yourself.

What it does

Run an autonomous organization loop — and pick the org yourself.
One subagent per organizational role iterates on the project. An explicit `roles: a, b` clause in the task always wins (aliases like docs, qa, security, devops, product, engineering work — and ANY other token becomes a custom role, e.g. `lk autoorg "roles: growth-hacker, data-scientist ship the launch"`). Without a clause, naming disciplines in the task narrows the org — and the disciplines are not only engineering ones: "marketing", "sales", "SEO", "content", "growth" and "analytics" staff a go-to-market org instead (marketing-lead, sales-lead, content-marketer, seo-specialist, growth-marketer, data-analyst). A goal that names no discipline at all has its org DERIVED from the goal, so any job that exists can be staffed — "open a restaurant" gets a head chef, not a staff engineer. With no message, or if that fails, the full default engineering org runs (product, engineering, QA, security, devops, docs). Each role is routed to the model best suited to its work unless --model pins one, and every prompt carries the repository's detected languages so roles work in YOUR project's stack.

Usage

Run lk autoorg from your terminal. Add --help to any command to see its full flag list, which is always authoritative over this page.
•
lk autoorg
lk autoorg — walkthrough
0:12
See a walkthrough of autoorg.

Related commands

•
lk ask — Ask Local Keep AI a question or run a one-shot task.
•
lk autofleet — Run an autonomous fleet loop.
•
lk autopilot — Run an autonomous build loop.
•
lk autoswarm — Run an autonomous heterogeneous-model swarm loop.
•
lk run — Interactive coding agent — Claude Code–style READ/SEARCH/edit/run using your models.
•
lk workflow approve — Approve exactly the saved commands; execution is a separate action.
•
lk workflow list — List the latest 20 saved workflows in this workspace.
•
lk workflow plan — Save a proposal without executing any commands.
•
lk workflow resume — Retry the first incomplete step, preserving recorded successful steps.
•
lk workflow review — Inspect saved commands, results and changed-file diffs.
•
lk workflow run — Execute an approved plan, saving step results and file checkpoints.
•
lk workflow undo — Restore declared files only if no later edits would be overwritten.

Where this is defined

autoorg is declared in ai-platform/sage/cli_core.py. This page is generated from that source, so it cannot describe behaviour the CLI does not have.

All documentation

Installation
Install the CLI on macOS, Linux or Windows, and sign in.
Setup, start to finish
The whole path on one page: install, sign in, pick local or hosted, get an answer.
Connecting accounts
One account everywhere, registering devices for the SMS bridge, and OAuth integrations.
Models
Pull open-weight models, switch between them, and run fully local.
Using models on every client
What runs locally in a terminal, a browser tab, a phone and the desktop app.
Editor integrations
VS Code, Cursor, JetBrains, Neovim, Sublime, Zed, Godot, Unity, gh and git hooks.
The SMS bridge
Send a task to your own machine from your phone, and get the answer back.
The apps
One React Native codebase behind iPhone, Android, web and desktop — and how to run it.
Automation Studio
Idea to production: flows, per-step models, your machines or ours, live editing.
Enterprise seats
Licensed team seats under one owner account — invites, billing, and how seats resolve.
API reference
API keys, authentication, chat completions, pricing and errors — for your own software.
Notifications
Four channels, all opt-in, how to change them, and the limits on re-engagement.
Privacy
What leaves your machine, what never does, and how anonymisation works.
Troubleshooting
When a model will not load, a command hangs, or the CLI cannot be found.