Dynamic tool loader for PLATO shells — the weapon rack
Project description
plato-shell-bridge
The weapon rack — dynamic tool discovery, loading, and lifecycle management for PLATO shells. All Cocapn fleet tools reference this:
from plato_shell_bridge import PlatoShell
shell = PlatoShell("agent-shell")
shell.load_tool("coordination-topology")
Dependencies
none (standalone Python 3.10+)
Installation
pip install plato-shell-bridge
Or from source:
git clone https://github.com/SuperInstance/plato-shell-bridge
cd plato-shell-bridge
pip install -e .
API
from plato_shell_bridge import PlatoShell, ToolHandle, discover_shells
# Load a tool into a shell
shell = PlatoShell("agent-shell")
handle = shell.load_tool("coordination-topology")
print(handle.commands) # available methods
# Discover all PLATO shells on the network
shells = discover_shells(timeout=2) # list of ShellInfo
# List loaded tools
loaded = shell.list_tools()
# Unload
shell.unload_tool("coordination-topology")
License
MIT — Part of the Cocapn Fleet Intelligence System
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file plato_shell_bridge-0.1.0.tar.gz.
File metadata
- Download URL: plato_shell_bridge-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef1bf8f2e21ff48e81aff79825939aa73394620d8734061ebe51aba11df99892
|
|
| MD5 |
4bd4471cdd4cc189a6a21fab3424b807
|
|
| BLAKE2b-256 |
60895bdc902452ab721deb1d383b9127cb334f5b59f47e6a40bdef7d84c68497
|
File details
Details for the file plato_shell_bridge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plato_shell_bridge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07e6fcbca1df52976dd0ece4c5c4e84fb9351bb42ab8b6e236b938cc38e04621
|
|
| MD5 |
524e74ab3a552439c0e165a520a7cc23
|
|
| BLAKE2b-256 |
e705c30d6bf502b8dbfbc99e58a75b1e738ba0e253f78eea2cece32b477e9e81
|