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.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-cursor 0.2.0
File Size Uploaded
optio_cursor-0.2.0.tar.gz 114.8 kB Details

Built distribution (wheel)

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

Total release size: 191.5 kB

Release files / optio_cursor-0.2.0.tar.gz

Download URL optio_cursor-0.2.0.tar.gz
Size 114.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ed8ada3660ac77f1ffbc366e86e7eb6c56269d482f7472880c28592a47f0a1e4
BLAKE2b-256 checksum
How to use checksums
2c899ed378c5767d9e0a9984ba16e186222e1616b4645437a21da7d91ba657a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

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

Download URL optio_cursor-0.2.0-py3-none-any.whl
Size 76.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfa7a8550e4208f3778edd97ffe8b0c1ccee9447611251957f2f22acd9dc138e
BLAKE2b-256 checksum
How to use checksums
cb6b53370dc98ce99694a192f551ed99ddb8205c8658ed1175f5f1cbe0a0e370
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.2

2 release files

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