Skip to main content

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, the MeshResult type 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_mesh Core Library: Contains MeshTool for routing, FastAPI execution, and Topaz Zero-Trust security.
  • Substrate Interfaces (iagent_mesh.interfaces): Three Protocols — 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 the Initiator (who is asking) and returns a MeshResult that distinguishes answered / empty / failed / unreachable. Implementations are admitted by passing iagent_mesh.conformance, never by being named in the SDK. See docs/interfaces.md.
  • The write half (MeshGraphWriter / MeshVectorsWriter / MeshOntologyWriter, plus iagent_mesh.writers.jena.JenaOntologyWriter as the reference implementation): sibling Protocols to the read interfaces above, never new methods on them. Ruled 2026-09-27 — shipped on lane/ca, pending v0.9.5, no release without explicit sign-off. See §4a of docs/interfaces.md.
  • Templates: Standardized data scientist environments (Pure Math, Instructor + Polars, BAML + Pandas).
  • Interactive Scaffolding: Use scripts/scaffold.sh to locally generate a new agent from a template.
  • MCP Server: The mcp_server/server.py exposes tools (scaffold_local_workspace, publish_local_to_mesh, mesh_explain) for intelligent IDE-based agent creation. mesh_explain is the SDK's first outside consumer of a mesh read (engine-docs /explain): it connects as a delegate Initiator — never a person, and refused by Initiator.require_person like any other non-person identity — and returns the full MeshResult outcome rather than a bare success/failure string. Registration in .mcp.json is a proposal, not yet enabled — see sessions/ for the reachability report a lane worktree needs before turning it on.
  • Cloud Endpoints: app.py exposes 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 local mcp_server to authenticate against provisioning APIs.

mesh_explain (mcp_server only):

  • ENGINE_DOCS_URL: Base URL of the engine-docs deployment mesh_explain calls /explain on. Required at call time; unset raises naming it, rather than a request to https://None/explain.
  • MESH_EXPLAIN_ON_BEHALF_OF: Who this tool's delegate Initiator is accountable to. Required, no default — a delegate with nobody accountable is a service under another name, and mesh_explain refuses to invent one.
  • MESH_EXPLAIN_SUBJECT: Optional; defaults to mcp:mesh_explain. The delegate's own opaque subject — not yet a minted credential (no kind="delegate" mint path exists), so it travels as an informational header, never an Authorization bearer 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.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iagent-mesh 0.9.11
File Size Uploaded Provenance Actions
iagent_mesh-0.9.11.tar.gz 401.4 kB With provenance Details for iagent_mesh-0.9.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iagent-mesh 0.9.11
File Interpreter ABI Platform Actions
iagent_mesh-0.9.11-py3-none-any.whl Python 3 none any Details for iagent_mesh-0.9.11-py3-none-any.whl

Total release size: 626.8 kB

Release files / iagent_mesh-0.9.11.tar.gz

Download URL iagent_mesh-0.9.11.tar.gz
Size 401.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4116a6f42d8111571aaa11088d37ed5764c86621e68c2d94c6798e317bf113b8
BLAKE2b-256 checksum
How to use checksums
98a661b18d23c5b076eef21cf8d3a06a7e01462ead2fd69e9d837d3e122bdeb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 30, 2026.

Transparency log

Release files / iagent_mesh-0.9.11-py3-none-any.whl

Download URL iagent_mesh-0.9.11-py3-none-any.whl
Size 225.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59ce11d066336c46e1ac28b10cdbaddee844030e026acf63d22660dc3f1965c1
BLAKE2b-256 checksum
How to use checksums
8c35541955b061315214a6513f7c20c4c6d0a2743d477a61930c487f51fe50c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 30, 2026.

Transparency log

Security for iagent-mesh 0.9.11

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for iagent_mesh-0.9.11.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 Oct 30, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.9.11 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page