Skip to main content

optio-cursor

Run Cursor CLI (cursor-agent) 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-cursor

Requires Python 3.11+. Pulls optio-core, optio-host, optio-agents, asyncssh, and aiohttp.

What it does

Cursor CLI is a near-twin of Grok Build / Claude Code. optio-cursor adapts the optio-grok machinery: it launches cursor-agent 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 the XDG base dirs (XDG_CONFIG_HOME, XDG_CACHE_HOME, XDG_DATA_HOME) pinned under it, so cursor's ~/.cursor and ~/.cache state never touches the operator's real home. Permission rules are config-planted (cursor has no --allow/--deny argv): they go into <home>/.cursor/cli-config.json. At login cursor spawns xdg-open for the auth URL; the redirect browser-shim (front of PATH) captures it and surfaces the URL to the operator on a BROWSER: line instead of a browser popping on the host.

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-cursor 0.4.6

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-cursor 0.4.6
File Size Uploaded Provenance Actions
optio_cursor-0.4.6.tar.gz 132.6 kB Without provenance Details for optio_cursor-0.4.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for optio-cursor 0.4.6
File Interpreter ABI Platform Actions
optio_cursor-0.4.6-py3-none-any.whl Python 3 none any Details for optio_cursor-0.4.6-py3-none-any.whl

Total release size: 216.5 kB

Release files / optio_cursor-0.4.6.tar.gz

Download URL optio_cursor-0.4.6.tar.gz
Size 132.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1ca698db0c01cbd6c9a6388dc2345ca78fe84588bafd4ecbb013e1b1dfab9858
BLAKE2b-256 checksum
How to use checksums
d27d7ad163aeb4721ea9e6141a0afb9233055cb4419e9168487176fa3e7654d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / optio_cursor-0.4.6-py3-none-any.whl

Download URL optio_cursor-0.4.6-py3-none-any.whl
Size 83.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
baa3d8e36711b5f6609b7a8a2a077bc3f72ad5280cfe3267b4b819f7fb93a3d0
BLAKE2b-256 checksum
How to use checksums
fde094029958b95d6c2ab69a8abed910691b9f58c970cc8fbccd245f247a2e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for optio-cursor 0.4.6

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