Skip to main content

Python thin client for OpenConstruct - SuperInstance ecosystem onboarding

Project description

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

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

openconstruct-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openconstruct-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for openconstruct-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad779f702489c2257ec414c2c46c515bf8755b229fa574ad8fc9a418559a39d9
MD5 14268e877e7f8a65c32cab3e48a87050
BLAKE2b-256 30b1438d0002fa1e3ab165dfa2228aa0a2ad952c4c17972ddad61cfec6e292a2

See more details on using hashes here.

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

Hashes for openconstruct-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f5fcf8b91ed627c304ee7e8d50fa51c872b49d2539ecda7eb9b5dba42a7e198
MD5 cf9c8f3eb601945212558ec012b52490
BLAKE2b-256 36af48064ad1012342d89512206ccb4d36b9bb05352606160131f72fe19b6262

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page