interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / cli / README.md

60 lines · 3270 bytes Raw Blame History Rendered
1# Ω Omega Harness CLI (`omega`)
2
3Interactive terminal CLI for operating **Inkling-2-Mini** through Omega Harness, with a Gemini-CLI-style Ink TUI branded with Drake's `Ω` symbol (and optional Gemini SDK fallback).
4
5## Key Features
6
7- **Hooked to Inkling-2-Mini by default** (`http://127.0.0.1:8080`, model `inkling-2-mini`):
8 - Auto-detects Omega's pure seeded-Omega **`inkling2-serve`** (`GET /health` with `slots_active` / `slots_max`), formats prompts cleanly for `serve_live.om`, and automatically retries `503 server_busy` when all 8 static KV slots are occupied.
9 - Also supports full OpenAI-compatible Inkling servers with SSE streaming, native `tool_calls`, and Inkling `<|content_thinking|>` / `<|content_invoke_tool_json|>` token parsing.
10 - Optional Gemini SDK (`@google/genai`) backend available via `--provider gemini` or `/provider gemini`.
11- **Omega Harness skills**: automatically discovers every skill in `../skills/*/SKILL.md` (`load_skill`, `/skills`, `/skill <name>`).
12- **Omega compiler integration**: `omc_compile`, `omc_run`, `/compile`, `/run`, and `--omega-only` mode (`.om` / `NOTES.md` writes only, automatic `omc` compilation, error enrichment from `../data/reference.tsv`).
13- **27 modern agent tools** (`omega --tools` / `/tools`):
14 - **File & Code**: `read_file`, `write_file`, `edit_file`, `delete_file`, `list_dir`, `glob_files`, `grep_search`
15 - **Execution & Git**: `run_shell`, `git_status`, `git_diff`, `git_log`, `git_commit`
16 - **Web**: `web_fetch`, `web_search`
17 - **Planning & Memory**: `todo_write`, `todo_read` (`/tasks`), `memory_save`, `memory_read` (`/memory`)
18 - **Autonomous Inkling Subagents**: `spawn_subagent`, `spawn_parallel_subagents`, `list_subagents` (`/agents`), `message_subagent` — spins up isolated Inkling-2-Mini subagents using the same model across `inkling2-serve`'s `N=8` static KV slots
19 - **Omega Harness Native**: `list_skills`, `load_skill`, `omc_compile`, `omc_run`, `omega_pin`
20
21## Build & Install
22
23```sh
24sh cli/install.sh
25```
26
27Or package a self-contained release bundle (`.tar.gz` + `.sha256` + `MANIFEST.txt`):
28
29```sh
30sh cli/package.sh
31```
32
33## One-Command Stack Lifecycle (Inkling-2-Mini + Arboris + SM121 Speedups)
34
35```sh
36omega start # Boot Inkling-2-Mini + Arboris on Spark, open :8080 tunnel, launch Ω TUI
37omega up # Boot Spark server + tunnel only (auto-builds if missing)
38omega up --rebuild # Recompile pure-Omega inkling2-serve on Spark and restart
39omega --status # Check health, N=8 KV slots & live Arboris top-8/top-16 hit rates
40omega down # Stop Spark server cleanly + close tunnel (keeps Spark GPU idle)
41```
42
43## Usage
44
45```sh
46omega # Launch interactive Ω TUI connected to Inkling-2-Mini
47omega --status # Probe Inkling server health & active KV slots
48omega --omega-only # .om-only guard + auto-omc compile checks
49omega -p "What is 2 + 2?" # Headless mode (supports piped stdin)
50omega --provider gemini # Switch to Google GenAI SDK backend
51omega --skills # List available Omega Harness skills
52omega --pin # Check PIN vs local omc sha256
53```
54
55## Tests
56
57```sh
58cd cli
59npm run build && npm test
60```