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.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.4.0
File Size Uploaded
optio_cursor-0.4.0.tar.gz 125.4 kB Details

Built distribution (wheel)

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

Total release size: 207.8 kB

Release files / optio_cursor-0.4.0.tar.gz

Download URL optio_cursor-0.4.0.tar.gz
Size 125.4 kB
Tags Source
SHA-256 checksum
How to use checksums
77e5cbad2cb6e2ff3339be3fe4ff9ed07e24e086c835b93523031a73eb74eb22
BLAKE2b-256 checksum
How to use checksums
43b7fb3708d1c063f2e09d621db14d755d6f3d5ef809115b038fcad28686d6f9
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.4.0-py3-none-any.whl

Download URL optio_cursor-0.4.0-py3-none-any.whl
Size 82.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2488f5dcb0bd986823cbe60f4dbcfccf133b40ccf9c0053dd84e2e3e8324cdcf
BLAKE2b-256 checksum
How to use checksums
7fc38363ff6f3becd61ca5d0402e3e09380bee2a314ff87c7c6bed89380b432d
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

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

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