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

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.4.3
File Size Uploaded Provenance Actions
optio_grok-0.4.3.tar.gz 112.1 kB Without provenance Details for optio_grok-0.4.3.tar.gz

Built distribution (wheel)

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

Total release size: 187.6 kB

Release files / optio_grok-0.4.3.tar.gz

Download URL optio_grok-0.4.3.tar.gz
Size 112.1 kB
Tags Source
SHA-256 checksum
How to use checksums
85d88f89492d483e4abdddf8a8ade66e9eb217488a3e3fdbbd0acdf84c62923b
BLAKE2b-256 checksum
How to use checksums
51b6e5dda53e50b7d9456480b50831eda1d340505ce4ddefdf7e943f2338b16d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / optio_grok-0.4.3-py3-none-any.whl

Download URL optio_grok-0.4.3-py3-none-any.whl
Size 75.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c0bb9d296c8333e75a7d3790de8da964a1621e75d275cb691545a741efa4c3e
BLAKE2b-256 checksum
How to use checksums
2cd05ed12c5efbbcf008d4f20d70fd3b8a30a37c1bc891661ea7a02a2a6e6491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for optio-grok 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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