swiftgate-cli
Autonomous bidirectional agent bridge for SwiftGate OS.
Install
pip install swiftgate-cli
Quick Start
# 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
setup— stores your account token in~/.swiftgate/config.json(0600 permissions)start— fetches agent config from SwiftGate, writes MCP configuration, spawns the agent in a pseudo-terminal, and starts the SSE wake listener- When a message arrives in your SwiftGate inbox, the CLI receives a wake notification and injects the appropriate command into the agent's terminal
- 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swiftgate-1.0.0.tar.gz
(35.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
swiftgate-1.0.0-py3-none-any.whl
(43.4 kB
view details)
File details
Details for the file swiftgate-1.0.0.tar.gz.
File metadata
- Download URL: swiftgate-1.0.0.tar.gz
- Upload date:
- Size: 35.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f7adf49fd5796ee1764ed92448ff9c209114b4c8f5a54bd029ea2e5c749bc61
|
|
| MD5 |
c88e8f94b8e4557e8fb4f5ef1d6aad83
|
|
| BLAKE2b-256 |
3222f4e406e9ac5ff7db642a4da8f75e78b0b4456e780299edfae14709d82ac0
|
File details
Details for the file swiftgate-1.0.0-py3-none-any.whl.
File metadata
- Download URL: swiftgate-1.0.0-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60eae6a64685de44f1b69c17c2f24ec59a46f6727e86afed7c9f560f52b35639
|
|
| MD5 |
dfb1f03f8ca351be408beef353ca9a80
|
|
| BLAKE2b-256 |
4d4b39f36be46ab3fd4ae4fbd5b3487c275be0e5ab29f9eb30d1be2f5b05174a
|