Metadata-Version: 2.4
Name: optio-antigravity
Version: 0.2.0
Summary: Run Google Antigravity (agy) as an optio task; local subprocess or remote via SSH; ttyd-served TUI iframe or transcript-driven conversation.
Author-email: Kristof Csillag <kristof.csillag@deai-labs.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/deai-network/optio
Project-URL: Repository, https://github.com/deai-network/optio
Project-URL: Issues, https://github.com/deai-network/optio/issues
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Code Generators
Classifier: Framework :: AsyncIO
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: optio-core<0.4,>=0.3
Requires-Dist: optio-host<0.3,>=0.2
Requires-Dist: optio-agents<0.6,>=0.5
Requires-Dist: asyncssh>=2.14
Requires-Dist: aiohttp>=3.9
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
Requires-Dist: pytest-xdist>=3.6; extra == "dev"

# optio-antigravity

Run Google Antigravity (`agy`) 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`,
or as a transcript-driven conversation rendered in the dashboard chat
widget.

## Install

```bash
pip install optio-antigravity
```

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

## What it does

Antigravity is Google's CLI coding agent (`agy`), sharing state with the
Gemini CLI under `~/.gemini`. optio-antigravity adapts the optio wrapper
machinery: it launches `agy` under a PTY, 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.

Because `agy --print` runs one-shot only (no ACP/stream-json) and swallows
stdout under a non-TTY, conversation mode is **synthetic**: each turn is
driven with `agy -p --conversation <id>` under a PTY and events are read
from `~/.gemini/antigravity/transcript.jsonl`.

## Status

Stage 0 (MVP): package scaffold. Iframe/ttyd mode, remote/SSH, resume,
seeds, conversation mode, and filesystem isolation arrive in later stages.
