iagent-mesh-sdk (DevEx Hub)
This repository serves as the Data-Driven Developer Experience (DevEx) Hub and provides the iagent_mesh SDK core library, which includes universal contracts and an infrastructure wrapper for the iagent Mesh platform.
📖 Architectural Guide: Read Launch Domain Nodes, Not Scripts to understand why this framework is required for enterprise AI deployments.
🔌 Substrate Interfaces: Read Substrate Interfaces for
MeshGraph/MeshOntology/MeshVectors— the named reads an engine uses instead of a driver or a query language, theMeshResulttype every one of them returns, and the conformance suite that admits an implementation.
Architecture & Features
This Hub leverages the Inception Pattern to dynamically scaffold new agent tools.
iagent_meshCore Library: ContainsMeshToolfor routing, FastAPI execution, and Topaz Zero-Trust security.- Substrate Interfaces (
iagent_mesh.interfaces): ThreeProtocols —MeshGraph,MeshOntology,MeshVectors— giving an engine named reads over the property graph, the RDF store and the vector store instead of a driver handle or a query-language slot. Every operation carries theInitiator(who is asking) and returns aMeshResultthat distinguishes answered / empty / failed / unreachable. Implementations are admitted by passingiagent_mesh.conformance, never by being named in the SDK. See docs/interfaces.md. - Templates: Standardized data scientist environments (Pure Math, Instructor + Polars, BAML + Pandas).
- Interactive Scaffolding: Use
scripts/scaffold.shto locally generate a new agent from a template. - MCP Server: The
mcp_server/server.pyexposes tools (scaffold_local_workspace,publish_local_to_mesh,mesh_explain) for intelligent IDE-based agent creation.mesh_explainis the SDK's first outside consumer of a mesh read (engine-docs/explain): it connects as adelegateInitiator— never a person, and refused byInitiator.require_personlike any other non-person identity — and returns the fullMeshResultoutcome rather than a bare success/failure string. Registration in.mcp.jsonis a proposal, not yet enabled — seesessions/for the reachability report a lane worktree needs before turning it on. - Cloud Endpoints:
app.pyexposes REST APIs (scaffold_generator,mesh_publisher) for the central orchestrator to provision workspaces dynamically.
Environment Configuration
This SDK relies on centralized environment variables for all integrations to ensure no hardcoded enterprise strings are checked in. See the .env.example file in the root directory for a full list.
Required URLs:
GIT_PROVISION_API_URL: The platform provisioning API for repositories.GIT_SERVER_HOST: The core Git server hostname.ARTIFACTORY_BASE_URL: The enterprise artifact repository.
Optional URLs / tokens (only needed if MESH_REGISTER_ON_STARTUP=true):
DATAHUB_GMS_URL: The DataHub GMS endpoint the SDK pushes registrations to.DATAHUB_TOKEN: Bearer token for the GMS emitter.
Required Tokens (Depending on deployment):
PLATFORM_GIT_TOKEN: Used by the cloud pod (app.py) for live git publishing.MESH_DEV_TOKEN: Used by the localmcp_serverto authenticate against provisioning APIs.
mesh_explain (mcp_server only):
ENGINE_DOCS_URL: Base URL of the engine-docs deploymentmesh_explaincalls/explainon. Required at call time; unset raises naming it, rather than a request tohttps://None/explain.MESH_EXPLAIN_ON_BEHALF_OF: Who this tool's delegateInitiatoris accountable to. Required, no default — a delegate with nobody accountable is a service under another name, andmesh_explainrefuses to invent one.MESH_EXPLAIN_SUBJECT: Optional; defaults tomcp:mesh_explain. The delegate's own opaque subject — not yet a minted credential (nokind="delegate"mint path exists), so it travels as an informational header, never anAuthorizationbearer token.
Installation & Testing
Data scientists can install the core SDK via:
uv pip install git+https://[your-repo-url]
To run the robust regression testing suite:
uv pip install -e ".[dev]"
python -m pytest
Metadata
Release files for iagent-mesh 0.9.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 | Provenance | |
|---|---|---|---|---|
| iagent_mesh-0.9.4.tar.gz | 246.9 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iagent_mesh-0.9.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 371.6 kB
Release files / iagent_mesh-0.9.4.tar.gz
| Download URL | iagent_mesh-0.9.4.tar.gz |
|---|---|
| Size | 246.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50ac9752d63a71bb4224cd30a3e2c81fae8e58c7c972b150bb21ed4798b6c91d
|
|
BLAKE2b-256 checksum How to use checksums |
386847969967509b8e28fcf9f5cf27621a246b453fde708e6b489c25332699c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logRelease files / iagent_mesh-0.9.4-py3-none-any.whl
| Download URL | iagent_mesh-0.9.4-py3-none-any.whl |
|---|---|
| Size | 124.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
679a2f0d9595932ee91194a09d5dfcb485caa579026b72a79f4d28caa8940183
|
|
BLAKE2b-256 checksum How to use checksums |
513679fcb411e7039575bcf0e04ecea382e77291b4a587e254e2be3f711f25aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logSecurity for iagent-mesh 0.9.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for iagent_mesh-0.9.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.