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
Release files for minions-sdk 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minions_sdk-0.2.4.tar.gz | 32.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minions_sdk-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.6 kB
Release files / minions_sdk-0.2.4.tar.gz
| Download URL | minions_sdk-0.2.4.tar.gz |
|---|---|
| Size | 32.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
242894ed7f1c652ada87e1a85d53aba9800c8d974518756abce763a78acac9ad
|
|
BLAKE2b-256 checksum How to use checksums |
78309de3dbc4f0d165b4e3556d9be3d21e21effdffe99a4b9f93bd62894ccc5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / minions_sdk-0.2.4-py3-none-any.whl
| Download URL | minions_sdk-0.2.4-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
917b60d9a2f36f872152f81007303f6e918dd97a8712add7fef72de415efccd9
|
|
BLAKE2b-256 checksum How to use checksums |
2a11562869bc34959d94c1658b2a7ed97ca02ab1aabe27c744cffd5ffe4263d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|