OpenConstruct Python — Thin Client for Agent Onboarding
Python client for OpenConstruct. Onboard agents into the SuperInstance ecosystem in under 10 lines.
What This Gives You
- 5-phase onboarding —
start()→declare_agent()→select_modules()→choose_interface()→generate_config() - Module registry — domain-filtered catalog of available modules
- Pip-installable —
pip install openconstruct - Zero runtime dependencies — pure Python, no native extensions
Quick Start
from openconstruct import OpenConstructClient, AgentIdentity
client = OpenConstructClient()
client.start()
identity = AgentIdentity(
name="my-agent",
model="claude-4",
capabilities=["code_generation", "web_search", "file_ops"],
tools=["exec", "read", "write"]
)
client.declare_agent(identity)
modules = client.list_modules(domain="math")
client.select_modules(["spectral-graph-core", "plato-room"])
client.choose_interface(["cli", "api"])
config = client.generate_config()
print(config)
Installation
pip install openconstruct
Testing
pip install -e ".[dev]"
pytest
How It Fits
One of the polyglot OpenConstruct bindings. Used by openconstruct-jupyter for notebook integration. See openconstruct-examples for a Python onboarding walkthrough.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openconstruct-0.1.0.tar.gz
(6.9 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 openconstruct-0.1.0.tar.gz.
File metadata
- Download URL: openconstruct-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad779f702489c2257ec414c2c46c515bf8755b229fa574ad8fc9a418559a39d9
|
|
| MD5 |
14268e877e7f8a65c32cab3e48a87050
|
|
| BLAKE2b-256 |
30b1438d0002fa1e3ab165dfa2228aa0a2ad952c4c17972ddad61cfec6e292a2
|
File details
Details for the file openconstruct-0.1.0-py3-none-any.whl.
File metadata
- Download URL: openconstruct-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 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 |
0f5fcf8b91ed627c304ee7e8d50fa51c872b49d2539ecda7eb9b5dba42a7e198
|
|
| MD5 |
cf9c8f3eb601945212558ec012b52490
|
|
| BLAKE2b-256 |
36af48064ad1012342d89512206ccb4d36b9bb05352606160131f72fe19b6262
|