Python SDK for the Minions structured object system
Project description
minions-sdk (Python)
Python SDK for the Minions structured object system — queryable, nestable, evolvable, and AI-readable.
Install
pip install minions-sdk
Quick Start
from minions import TypeRegistry, create_minion, RelationGraph
# 1. Get the built-in agent type
registry = TypeRegistry()
agent_type = registry.get_by_slug("agent")
# 2. Create an agent
minion, validation = create_minion(
{"title": "Research Assistant", "fields": {"role": "researcher", "model": "gpt-4"}},
agent_type,
)
# 3. Link minions together
graph = RelationGraph()
graph.add({"source_id": minion.id, "target_id": "skill-001", "type": "parent_of"})
Cross-SDK Interop
Minions created in Python can be serialized to JSON and read by the TypeScript SDK:
import json
data = minion.to_dict() # camelCase keys
json_str = json.dumps(data) # → valid JSON, TS-compatible
Documentation
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
minions_sdk-0.2.1.tar.gz
(21.4 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
File details
Details for the file minions_sdk-0.2.1.tar.gz.
File metadata
- Download URL: minions_sdk-0.2.1.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0117642b45de20a0506d2baa022832176911c30a5c5a6f0cdd2930cd4b5e930a
|
|
| MD5 |
44e63634b5fcc066df95ed6a9a29d623
|
|
| BLAKE2b-256 |
3a6d984cfa37cf74ac7ae5951a923e3829df5fedf8e7e69ad8f65a9ca749dafa
|
File details
Details for the file minions_sdk-0.2.1-py3-none-any.whl.
File metadata
- Download URL: minions_sdk-0.2.1-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69f1c8207af0ffc2440344f39b5622222f5caa3f090f81eb8d16ccff092d44a7
|
|
| MD5 |
c899aa975c87340f925a8d03d0671cef
|
|
| BLAKE2b-256 |
ed46dea73c5a3e090a80a18c979ad1b58a7e6c29fc278e81f2115d948259e972
|