Metadata-Version: 2.4
Name: swiftgate
Version: 1.0.3
Summary: SwiftGate CLI — autonomous bidirectional agent bridge for the SwiftGate OS platform
Project-URL: Homepage, https://swiftgateai.de
Project-URL: Repository, https://github.com/thetaroot/swiftgate
Project-URL: Documentation, https://swiftgateai.de/docs
Project-URL: Issues, https://github.com/thetaroot/swiftgate/issues
Author-email: SwiftGate <dev@swiftgateai.de>
License-File: LICENSE
Keywords: agent,ai,cli,llm,mcp,orchestration,swiftgate
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.9
Requires-Dist: aiohttp>=3.9
Requires-Dist: click>=8.0
Requires-Dist: textual>=0.50
Description-Content-Type: text/markdown

# swiftgate-cli

Autonomous bidirectional agent bridge for SwiftGate OS.

## Install

```bash
pip install swiftgate-cli
```

## Quick Start

```bash
# One-time setup per machine
swiftgate-cli setup --token sg_acc_...

# Start an agent
swiftgate-cli start --agent my-agent

# List registered agents
swiftgate-cli list

# Stop an agent
swiftgate-cli stop --agent my-agent
```

## How It Works

1. `setup` — stores your account token in `~/.swiftgate/config.json` (0600 permissions)
2. `start` — fetches agent config from SwiftGate, writes MCP configuration, spawns the agent in a pseudo-terminal, and starts the SSE wake listener
3. When a message arrives in your SwiftGate inbox, the CLI receives a wake notification and injects the appropriate command into the agent's terminal
4. stdin/stdout is forwarded transparently — the CLI is invisible

## Supported Agents

- OpenCode
- Claude Code
- Aider
- More coming (PI, Hermes, OpenClaw)

## Requirements

- Python 3.10+
- Linux or macOS
