Skip to main content

CLI Visual Guide

Visual examples of TRI CLI commands and their output.

Quick Referenceโ€‹

Command Outputsโ€‹

tri constantsโ€‹

$ tri constants

SACRED CONSTANTS
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ฯ† (PHI) = 1.618033988749895
ฯ†โปยน (INVERSE) = 0.618033988749895
ฯ†ยฒ (PHI_SQ) = 2.618033988749895
TRINITY = 3.000000000000000
ฯ€ (PI) = 3.141592653589793
e (E) = 2.718281828459045

Golden Identity: ฯ†ยฒ + 1/ฯ†ยฒ = 3 โœ“

MU (ฯ†โปโด) = 0.0381976020901013
CHI (ฯ†โปยณ) = 0.236067977499790
SIGMA (ฯ†) = 1.618033988749895
EPSILON (1/3) = 0.333333333333333

tri phi 10โ€‹

$ tri phi 10

ฯ†ยน = 1.618033988749895
ฯ†ยฒ = 2.618033988749895
ฯ†ยณ = 4.236067977499790
ฯ†โด = 6.854101966249690
ฯ†โต = 11.090169943749480
ฯ†โถ = 17.944271909999590
ฯ†โท = 29.034441853748630
ฯ†โธ = 46.978713763748200
ฯ†โน = 76.013155617496850
ฯ†ยนโฐ = 122.991869381245050

tri genโ€‹

$ tri gen specs/tri/todo.vibee

[VIBEE] Parsing spec: specs/tri/todo.vibee
[VIBEE] Generating Zig code...
[VIBEE] Output: trinity/output/todo.zig
[VIBEE] Generated 2 types, 4 behaviors
[VIBEE] โœ“ Code generation complete

tri serveโ€‹

$ tri serve --port 8899

[TRI] Unified Server v8.27
[TRI] ฯ†ยฒ + 1/ฯ†ยฒ = 3 = TRINITY
[TRI]
[TRI] Starting HTTP server...
[TRI] Host: 127.0.0.1
[TRI] Port: 8899
[TRI] Commands: 139 registered
[TRI]
[TRI] API endpoints:
[TRI] GET /api/health
[TRI] GET /api/version
[TRI] GET /api/status
[TRI] GET /api/commands
[TRI] POST /api/execute
[TRI] GET|POST /graphql
[TRI]
[TRI] โœ“ Server ready at http://127.0.0.1:8899

tri doctorโ€‹

$ tri doctor

TRINITY SYSTEM HEALTH CHECK
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โœ“ Zig 0.15.0 installed
โœ“ trinity library available
โœ“ VSA module loaded
โœ“ VM module loaded
โœ“ Firebird LLM module loaded
โœ“ VIBEE compiler ready

SYSTEM STATUS: HEALTHY

Modules:
โ€ข VSA : v0.5.0 [SIMD enabled]
โ€ข VM : v2.1.0 [bytecode ready]
โ€ข Firebird : v3.0.0 [BitNet b1.58]
โ€ข VIBEE : v7.0.0 [self-improving]

Performance:
โ€ข SIMD : ARM64 NEON โœ“
โ€ข JIT : available
โ€ข Memory : 16 GB system

ฯ†ยฒ + 1/ฯ†ยฒ = 3 = TRINITY

Color Scheme Legendโ€‹

ColorMeaning
๐ŸŸข GreenSuccess, healthy
๐Ÿ”ต BlueInfo, neutral
๐ŸŸก YellowWarning, caution
๐Ÿ”ด RedError, failure
๐ŸŸฃ PurpleSacred, special

Interactive Demoโ€‹

Live Editor
function CLIDemo() {
  const [command, setCommand] = React.useState('constants');
  const [output, setOutput] = React.useState('');

  const commands = {
    constants: `SACRED CONSTANTS
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ฯ† (PHI)        = 1.618033988749895
ฯ†ยฒ (PHI_SQ)    = 2.618033988749895
TRINITY        = 3.000000000000000

Golden Identity: ฯ†ยฒ + 1/ฯ†ยฒ = 3 โœ“`,

    phi10: `ฯ†ยน = 1.618033988749895
ฯ†ยฒ = 2.618033988749895
ฯ†ยณ = 4.236067977499790
...
ฯ†ยนโฐ = 122.991869381245050`,

    help: `TRI Commander v8.27
Commands: 139 available

Core:
  gen        Generate code from .vibee spec
  chat       Interactive AI chat
  serve      HTTP API server
  doctor     System health check

Math:
  constants  Show sacred constants
  phi <n>    Compute ฯ†โฟ
  fib <n>    Fibonacci number
  lucas <n>  Lucas L(n)

Use 'tri help <command>' for more info.`
  };

  React.useEffect(() => {
    setOutput(commands[command] || '');
  }, [command]);

  return (
    <div style={{fontFamily: 'monospace', fontSize: '13px', background: '#1a1a2e', padding: '1rem', borderRadius: '8px'}}>
      <div style={{marginBottom: '1rem'}}>
        <label style={{color: '#888'}}>Select command: </label>
        <select
          value={command}
          onChange={(e) => setCommand(e.target.value)}
          style={{background: '#16213e', color: '#0f3460', border: '1px solid #0f3460', padding: '4px 8px', borderRadius: '4px', marginLeft: '8px'}}
        >
          <option value="constants">tri constants</option>
          <option value="phi10">tri phi 10</option>
          <option value="help">tri help</option>
        </select>
      </div>
      <pre style={{color: '#4ecca3', margin: 0, whiteSpace: 'pre-wrap'}}>{output}</pre>
    </div>
  );
}
Result
Loading...

Common Patternsโ€‹

Success Patternโ€‹

โœ“ Operation completed successfully
[TRI] All checks passed

Error Patternโ€‹

โœ— Error: file not found
[TRI] Operation failed

Info Patternโ€‹

โ„น Info: processing 10 items
[TRI] Status: in progress