Metadata-Version: 2.4
Name: abstract-gpt
Version: 0.1.30
Summary: Codex session manager: login, launch, rollover, and a shared web console via abstract-serve-core.
Author: jrputkey
Project-URL: Homepage, https://github.com/AbstractEndeavors/abstract-gpt
Project-URL: Repository, https://github.com/AbstractEndeavors/abstract-gpt
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: hugpy-resources<0.2,>=0.1.2.8
Requires-Dist: prompt_toolkit>=3.0
Requires-Dist: abstract-serve-core>=0.1.35.1
Requires-Dist: abstract-toolserver<0.1,>=0.0.107
Provides-Extra: mcp

# abstract-gpt

Abstract GPT manages Codex CLI logins and sessions. It launches interactive or one-shot conversations, tracks accounts and integrates a Codex session with the shared Serve console and Toolserver.

## Installation

Use Python 3.11 or later with the Codex CLI installed. The HTTP login workflow uses Linux file locking.

```sh
python -m pip install abstract-gpt
```

## Quick start

Check the saved login, complete device authorization when needed and launch an interactive conversation.

```sh
abstract-gpt oauth-status
abstract-gpt login
abstract-gpt launch --
```

For a one-shot request from the current workspace, run `abstract-gpt exec -- "Explain the layout of this project"`. These commands use the configured Codex account.

## Accounts and collaboration

The manager supports saved accounts and local login state. `abstract-gpt serve` opens the provider console. A configured Toolserver supplies MCP tools, messages and the durable records used for handoffs.

`abstract-gpt init` and interactive launches install the handoff, resume and rollover skills in the Codex skills directory. For a managed terminal seat, `abstract-gpt rollover LOCUS` queues a rollover through Toolserver. The watcher records a ledger before clearing the conversation so the next session can resume from that record.

Use `abstract-gpt --help` to inspect account, session, Toolserver and rollover commands available in this installation.

## Noninteractive use

After sign-in, `abstract-gpt exec -- "Summarize the README"` runs a one-shot Codex task from the current directory. `abstract-gpt serve` starts the shared provider console. Authentication stays with the selected account. Use `oauth-status` when diagnosing a launch before changing the saved login.
