Built-In Orchestration Tools

Built-in tool inventory for Locus, with categorized commands and practical workflows that extend raw provider CLIs.

Locus adds an operational toolchain on top of provider CLIs (Claude/Codex): planning, GitHub-native execution, review loops, status visibility, logging, sandbox lifecycle management, and package extensibility.

Why Built-In Tools (vs Raw Provider CLIs)

Raw provider CLIs can generate code, but they do not natively manage your GitHub workflow end to end.

Locus built-in tools add:

  • GitHub task lifecycle control (issue, sprint, plan, run)

  • Delivery automation (autoLabel, autoPR, run --resume)

  • Structured quality loops (review, iterate)

  • Operational visibility (status, logs, artifacts)

Tool Inventory

1) Setup and Configuration

Tool
Purpose
Example

Initialize .locus/, verify gh, and seed label schema

locus init

Read/write project settings (model, automation, execution behavior)

locus config set ai.model gpt-5.3-codex

Check and install newer CLI versions

locus upgrade --check

2) Work Modeling in GitHub

Tool
Purpose
Example

Create/manage GitHub issues as execution units

locus issue create "Add webhook signature validation" --sprint "Sprint 8"

Create/activate/manage sprint milestones

locus sprint active "Sprint 8"

Generate plan files, review, and approve into GitHub issues

locus plan "Build billing retries" --sprint "Sprint 8" then locus plan approve <id> "Sprint 8"

3) Execution, Review, and Iteration

Tool
Purpose
Example

Execute active sprint or standalone issue set

locus run --resume

AI review for open agent:managed PRs

locus review

Apply PR feedback in loop

locus iterate --pr 42

Operational dashboard for sprint/issues/PRs

locus status

Tail and inspect run logs for failures/debugging

locus logs --follow

4) Interactive and Analysis Tools

Tool
Purpose
Example

Interactive or one-shot coding session

locus exec "Add retry guard to webhook handler"

Architecture discussion and planning prompts

locus discuss "Should we split webhook processing into a queue worker?"

List, search, and manage structured project memory

locus memory list --category architecture

locus artifacts

Inspect and convert AI-generated artifacts in .locus/artifacts/

locus artifacts plan webhook-reliability-prd

5) Package Ecosystem Tools

Tool
Purpose
Example

locus install

Install community package from npm

locus install telegram

locus uninstall

Remove installed package

locus uninstall telegram

locus packages

List installed packages / check outdated

locus packages outdated

locus pkg

Run package-provided commands

locus pkg telegram start

6) Sandbox Management Tools

Tool
Purpose
Example

Create/manage provider sandboxes, auth sessions, package installs, shell access, and logs

locus sandbox install bun --provider codex

Practical Workflows Where Built-In Tools Win

Workflow A: Issue-to-PR Delivery with Recovery

Why this beats raw provider CLI usage:

  • Keeps task state in GitHub labels/issues/PRs

  • Recovers from interruption without re-running completed tasks

  • Preserves one team workflow across Claude/Codex model switching

Workflow B: Plan Approval Before Execution

Why this beats raw provider CLI usage:

  • Separates planning from execution with an approval gate

  • Converts approved plan into ordered GitHub work automatically

  • Keeps execution order explicit via order:N labels

Last updated