Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Overview

Batuta provides a unified CLI for the entire transpilation-to-deployment pipeline, plus ML model serving, stack orchestration, and intelligent query interfaces.

Pipeline Commands (5-Phase Workflow)

CommandPhaseDescription
batuta initSetupInitialize project with batuta.toml
batuta analyze1Analyze source codebase (languages, deps, TDG)
batuta transpile2Transpile source code to Rust
batuta optimize3MoE backend selection + Cargo profile tuning
batuta validate4Verify semantic equivalence
batuta build5Build final binary (release, cross-compile, WASM)

Workflow Management

CommandDescription
batuta statusShow current workflow phase and progress
batuta resetReset workflow state to start over
batuta reportGenerate migration report (HTML/Markdown/JSON)

Intelligence & Query

CommandDescription
batuta oracleKnowledge graph queries, RAG search, PMAT code search
batuta bug-hunterPopperian falsification-driven defect discovery
batuta falsifyRun Sovereign AI Assurance Protocol checklist

Agent Runtime

CommandDescription
batuta agentAutonomous agent runtime (--features agents)
batuta playbookDeterministic YAML pipelines with BLAKE3 caching

ML Model Ecosystem

CommandDescription
batuta serveServe models via Realizar (OpenAI-compatible API)
batuta deployDeploy to Docker, Lambda, K8s, Fly.io, Cloudflare
batuta mcpMCP server for AI tool integration
batuta hfHuggingFace Hub integration

Stack & Data

CommandDescription
batuta stackPAIML Stack dependency orchestration
batuta dataData platform integration
batuta vizVisualization frameworks
batuta contentContent creation tooling

Global Options

All commands support these flags:

FlagDescription
-v, --verboseEnable verbose output
-d, --debugEnable debug output
--strictEnforce strict drift checking
--allow-driftAllow drift warnings without blocking
-h, --helpPrint help
-V, --versionPrint version

Navigate: Table of Contents