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.
Metadata
Release files for optio-grok 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| optio_grok-0.2.1.tar.gz | 107.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| optio_grok-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 178.6 kB
Release files / optio_grok-0.2.1.tar.gz
| Download URL | optio_grok-0.2.1.tar.gz |
|---|---|
| Size | 107.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad7948e33a09fa602a1033303ddc276566ef8b02f106274e9d55a6535de44e33
|
|
BLAKE2b-256 checksum How to use checksums |
2b86cab3b4b64b1ee034add10556447cc8f0b942fa7068f3d13194d1f1ac6567
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / optio_grok-0.2.1-py3-none-any.whl
| Download URL | optio_grok-0.2.1-py3-none-any.whl |
|---|---|
| Size | 71.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f698a83c3d641575335d4c4f247481474a1738e7912b4c2c43e95e61172d6c0
|
|
BLAKE2b-256 checksum How to use checksums |
54ecdb38094214beaf6f136af12eda2afd5b5588a6809e9528f2382205c14e12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|