Mosaic CLI Docs 中文

Guide

Choose Your Usage Path

The documentation now has beginner, detailed-learning, and operations tracks. Start with Quickstart, then use Learning Path and module guides for depth.

Quickstart (10 min)

From install to first ask/chat in the shortest reliable path.

Open Quickstart

Learning Path

Detailed stage-by-stage tutorial from basic to advanced.

Open Learning Path

Models & Profiles

Setup multiple providers, aliases, fallback chains, and safer profile patches.

Open Models & Profiles

Sessions Lifecycle

Create, inspect, resume, and clear reusable ask/chat sessions.

Open Sessions Guide

TUI Guide

Chat-first fullscreen terminal UI with sessions pane and live inspector.

Open TUI Guide

Policy Baseline

Apply approvals and sandbox rules with command-level safety checks.

Open Policy Guide

Azure Ops Playbook

One complete scriptable runbook: Azure profile, channels, gateway, policy, and regression gate.

Open Azure Playbook

Agents Module

Dedicated step-by-step guide for agents and route control.

Open Agents Guide

Channels Module

Terminal/Slack/Telegram channel operations and reliability checks.

Open Channels Guide

Gateway Call API

Detailed gateway call contract and automation usage.

Open Gateway Call API

Operations

Production-oriented runbook: channels, gateway, policy, diagnostics, and regression checks.

Open Operations

Regression Guide

From beginner checks to release gate with scripted regression flows.

Open Regression Guide

Path A: Quickstart

Use this if you are setting up Mosaic for the first time or validating a new machine.

  • Install and verify mosaic --help.
  • Run setup with one profile.
  • Validate with models list and health.
  • Run ask and chat.

Path B: Operations

Use this after quickstart when you need channels, gateway control, policy enforcement, and team-level diagnostics.

  • Add and test delivery channels.
  • Operate gateway lifecycle and probe status.
  • Apply approvals + sandbox policy.
  • Use status/health/doctor/logs/dashboard for day-2 operations.

Path C: Detailed progression + modules

Use this when you want full learning depth and module-specific walkthroughs.

Suggested order

  1. Finish Quickstart.
  2. Follow Learning Path to build depth.
  3. Complete Agents Guide for agent routing mastery.
  4. Set up real channel + gateway in Operations.
  5. Run release checks from Regression Guide.
  6. Keep Troubleshooting as runbook fallback.