Skip to content

SuperInstance/openconstruct-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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 onboardingstart()declare_agent()select_modules()choose_interface()generate_config()
  • Module registry — domain-filtered catalog of available modules
  • Pip-installablepip 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

About

Python thin client for OpenConstruct — agent onboarding for SuperInstance ecosystem

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages