Run Grok Build (xAI) as an optio task; local subprocess or remote via SSH; ttyd-served TUI iframe.
Project description
optio-grok
Run Grok Build (xAI) as an optio task — either as a local subprocess
or on a remote host over SSH — with the interactive TUI embedded in the
optio dashboard via an iframe widget served by ttyd.
Install
pip install optio-grok
Requires Python 3.11+. Pulls optio-core, optio-host, optio-agents,
asyncssh, and aiohttp.
What it does
Grok Build is a near-twin of Claude Code. optio-grok adapts the
optio-claudecode machinery: it launches grok inside a detached tmux
session, serves the TUI over ttyd, and coordinates with the host
harness through the optio.log keyword channel (STATUS / DELIVERABLE /
DONE / ERROR). The agent reads its task from an AGENTS.md file planted
in the workdir.
Isolation
Each task runs under an isolated HOME (<workdir>/home) with
GROK_HOME pointing at <workdir>/home/.grok. Grok ships a
claude-compat layer, so CLAUDE_CONFIG_DIR is pinned at
<workdir>/home/.claude to keep the operator's real ~/.claude
configuration, hooks, and instructions from leaking into the task.
--no-leader is always passed so tasks never share a grok backend.
Status
Stage 0 (MVP): iframe/ttyd mode, local host. Resume, seeds, conversation mode, and filesystem isolation arrive in later stages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file optio_grok-0.1.0.tar.gz.
File metadata
- Download URL: optio_grok-0.1.0.tar.gz
- Upload date:
- Size: 84.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82c17f083086a67bd39e5d6dbf666f009c7140154139356e39463fe14803bcae
|
|
| MD5 |
9cac1366fba01d77864dd53f65bd5aa8
|
|
| BLAKE2b-256 |
4280094555bab934c1bab2b4dcfedbb2f01393800b15da69a31bb6e66ddcdf39
|
File details
Details for the file optio_grok-0.1.0-py3-none-any.whl.
File metadata
- Download URL: optio_grok-0.1.0-py3-none-any.whl
- Upload date:
- Size: 59.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f8b83e9b0afdd570f77283a42c2e6a04259aa24598abf8dd8d7a42d2be64563
|
|
| MD5 |
926865634c2511cb4b844a7c0e279a5e
|
|
| BLAKE2b-256 |
92efb8aa3ec05e6b67956cefda7d6dff0fa1febce7461a0549e8117a92942f41
|