Back to home
Lanson Flow Docs

CLI and Agentic Coding Guide

Enable AI Agents to autonomously close the loop in the terminal like engineers.

The Lanson ecosystem fully supports toolchain integration for AI Agents and command-line-driven workflows. Through a unified command-line interface, developers and autonomous agents can seamlessly control service lifecycles, inspect requirements, and advance testing.

Core Toolchain

# Inspect local project status and port mapping
lanson status

# Control development service lifecycle
lanson run lanson-flow-web
lanson stop lanson-flow-web

# Requirement patrol and status progression
lanson req patrol

Design Principles

1. Strict Environment and Port Locking: All fixed ports and local public domains are uniformly mapped to avoid conflicts. 2. Secure Credential Injection: Keys are securely injected uniformly via 1Password CLI; hardcoding is strictly prohibited. 3. Foreground Blocking Execution and Real Delivery: Background suspension with assumed success is strictly prohibited; all statuses are based on real diffs and console receipts.