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.8.tar.gz
(37.6 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.8-py3-none-any.whl
(45.4 kB
view details)
File details
Details for the file swiftgate-1.0.8.tar.gz.
File metadata
- Download URL: swiftgate-1.0.8.tar.gz
- Upload date:
- Size: 37.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ae98fc0a0bc44409d06252529be2ca4780d3a479e14392a7cd89d350209fd4b
|
|
| MD5 |
8b0b4e21f7cf378e5a024e880004c0d3
|
|
| BLAKE2b-256 |
1b2a4210549a8e564472d8c38827375bd8faa866957c2f8eb030ed461f455b54
|
File details
Details for the file swiftgate-1.0.8-py3-none-any.whl.
File metadata
- Download URL: swiftgate-1.0.8-py3-none-any.whl
- Upload date:
- Size: 45.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 |
3d1a4b273ba92150bd6727a408ea5e6a62698a8d31b5eab6712f1e27e057a86f
|
|
| MD5 |
ecf5cec11fa053baa403d3f4a243327d
|
|
| BLAKE2b-256 |
43e61514e28ef9459e47072e4f8d17b45a677d4bbd0ec839ddefcf0860869a18
|