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

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.1
File Size Uploaded
optio_cursor-0.2.1.tar.gz 115.3 kB Details

Built distribution (wheel)

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

Total release size: 192.4 kB

Release files / optio_cursor-0.2.1.tar.gz

Download URL optio_cursor-0.2.1.tar.gz
Size 115.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8988e5b7d12a817564a060da2b5bfa4452e33664cc51cd1dad706425cf4afa2d
BLAKE2b-256 checksum
How to use checksums
06f26ec44e7195cfb8c06c037da34603d4ff66f4987f33600d605af9aea24afb
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.1-py3-none-any.whl

Download URL optio_cursor-0.2.1-py3-none-any.whl
Size 77.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9d387f2c750488bee9cc4ef8ff286898dc4502ca695b3f15ae30a46ebe97a0e
BLAKE2b-256 checksum
How to use checksums
b3186d316ac85d780eedb0668f6b9c1fc7c7325e707edf787012fcc3a36f852a
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

This release

0.2.1 This release

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