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.1.0.tar.gz
(38.0 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.1.0-py3-none-any.whl
(45.9 kB
view details)
File details
Details for the file swiftgate-1.1.0.tar.gz.
File metadata
- Download URL: swiftgate-1.1.0.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3ba414366538c9ccbb7c88076e6fe0ae968dd071591f2f46cebdab5b7d92ca2
|
|
| MD5 |
f808945a66b9d9ac4ed5293c0b55e917
|
|
| BLAKE2b-256 |
a153c9e607b6b02c15b0579f187b94dfe8618d548ea33cbc46dcd84ffc608c56
|
File details
Details for the file swiftgate-1.1.0-py3-none-any.whl.
File metadata
- Download URL: swiftgate-1.1.0-py3-none-any.whl
- Upload date:
- Size: 45.9 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 |
c2a8a778376154a017c3d167c1a3917299f1933b2dba30f77a5ec1ce092e5a33
|
|
| MD5 |
cc5b75187c01890511135ef34d75928e
|
|
| BLAKE2b-256 |
f8e18618d3765ea33fe1c2f879c1e5e241f234bde30ab68823b5c2e54223e93b
|