Skip to main content

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for optio-grok 0.2.0
File Size Uploaded
optio_grok-0.2.0.tar.gz 106.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for optio-grok 0.2.0
File Interpreter ABI Platform
optio_grok-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 177.9 kB

Release files / optio_grok-0.2.0.tar.gz

Download URL optio_grok-0.2.0.tar.gz
Size 106.8 kB
Tags Source
SHA-256 checksum
How to use checksums
efcc92176a22ebcaf24da35ad955b002011d2be9d1937b7eb0faf0eaf1701d0e
BLAKE2b-256 checksum
How to use checksums
24b4311cb199a0d3daa0199849e604c4a8f627d883d36d6a6c1f17933549f887
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.0-py3-none-any.whl

Download URL optio_grok-0.2.0-py3-none-any.whl
Size 71.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df8c4bb38ac617eca580e57142622b944a4c07a4abfff6fb901ae32a05e0ec06
BLAKE2b-256 checksum
How to use checksums
ae709a133ffcc009913868d1bbd070549a80048031ea8e5b5481a5d6f5a8cbc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page