Skip to main content Switch to mobile version entigram-ai 2.26.8 Schema-first semantic governance layer for enterprise agents
pip install entigram-ai==2.26.8 Copy PIP instructions
Entigram gives participating AI agents shared workspace context, explicit domain models, and a record of accepted decisions.
It is a schema-first control plane. Its governed CLI and MCP interfaces check proposed concepts, semantic alignments, and state transitions against the workspace's models and approvals.
🎯 Keep Agents Working from the Same Context
An agent picking up a workspace needs its current models, rules, and settled decisions. When several agents share the work, they also need a consistent way to check proposed changes and resolve conflicts.
Governed Interfaces: Entigram's CLI and MCP interfaces reject unsupported concepts and unverified mappings before accepting them as operational facts.
Domain Boundaries (Schema): Give agents explicit Entigram Schemas instead of relying on vague natural-language context.
Closed-World Reasoning: Automatically reject or quarantine unknown entities, attributes, and relationships.
Verified Semantic Alignments: Enable cross-domain data federation using approved mappings instead of fuzzy LLM guesses.
Deterministic Conflict Handling: Transform contradictory agent states into auditable ledger entries for human or policy-driven resolution.
Expectation Guard: Convert modeled expectations, implementation rules, and validation checks into a runnable pre-handoff agent gate.
Agent Hydration: Boot agents with exact project state, schemas, alignments, and settled decisions.
Auditability: Store every alignment and decision in a local SQLite ledger for full provenance and governance.
Transparent Usage: Estimate Entigram-owned context and observed CLI/MCP traffic without retaining prompts or responses.
Reversible Enrollment: Pause, resume, or archive-and-detach workspace governance without deleting project artifacts.
Model the entities, attributes, and relationships agents are allowed to know.
Gate every proposed alignment, conflict, and state transition through MCP/CLI tools.
Audit accepted work with ledger evidence, delivery snapshots, and tamper-evident bundles.
Entigram is not a universal agent sandbox. Its guarantees apply when operations flow through the governed CLI/MCP surfaces; direct filesystem, database, shell, and network access must still be controlled by the host platform. See the architecture and trust boundaries.
Install Entigram with your preferred Python tool:
pipx install entigram-ai For source checkouts, use the repository virtual environment or run the module form from the environment where Entigram's dependencies are installed.
Users: Start with this Quickstart, then try the minimal governed workspace.
Agents: Read AGENTS.md and the Workspace Standard; use Agent Orchestration when coordinating agents.
MCP integrators: Use the MCP tool contract.
Action authors: Use Action admission for versioned, evidence-backed consequential actions.
Project owners: Use Shared project trust for personal keys, collaborator roles, rotation, and recovery.
Auditors: Use Provenance and history for the timeline and detailed evidence views.
OpenCode users: Follow the OpenCode integration guide.
Package authors: Read the package contract and inspect the public community packages.
Security-resource roadmap: See the future security resource catalog.
1. Initialize a Governance Workspace
etg init --dir my-governed-agent cd my-governed-agent If etg is not on PATH:
python3 -m entigram.cli_runner.etg_cli init --dir my-governed-agent 2. Define your Schema Contracts (Schema)
Create a schema.lds to define the entities and relationships your agents are allowed to "know."
ENTITY: Supplier ATTRIBUTES: - .id (UUID) - name (String) - tax_id (String) 3. Hydrate the Agent
Start every agent session by aligning the agent with the local workspace state:
hydrate Equivalent fallbacks:
etg hydrate python3 -m entigram.cli_runner.etg_cli hydrate Before risky implementation, schema, ontology, package, or release changes:
etg broker preflight --file etg broker impact --file Before handoff:
etg broker handoff etg broker status broker status must report Delivery status: current.
For a consequential external action, define it in actions.yaml and validate the target, authority, evidence, policy, and any required approval before an executor is allowed to act. See Action admission.
For a shared workspace, keep private human and agent keys off-repository, compare and externally pin the signed project root on every collaborator host, and configure public collaborator roles plus enrolled agent runtimes and exact versions in .etg/trust.yaml. See Shared project trust.
Keep active agent work in bounded, reviewable increments:
etg change-status By default, after five changed files since the previous Entigram handoff, the next admitted agent write is held until it checks in again. Entigram installs native lifecycle adapters for Antigravity, Codex, and Claude Code, plus a portable Git check-in guard for other local-Git agents. See workspace lifecycle and the maintained governance scorecard.
Inspect Entigram's estimated share of a session:
etg usage etg usage --total-tokens 50000 Temporarily compact and disable workspace governance:
etg pause --reason "Working without governed context" etg pause-status etg resume Paused work is deliberately bounded: Entigram snapshots the workspace and allows five changed files by default. Before a sixth change, resume governance and hydrate the agent again. Set a different limit when pausing with --max-changed-files N. In local Git repositories, pause also installs a temporary pre-commit guard so oversized paused work cannot be committed without that check-in.
Archive and detach Entigram while preserving project schemas and code:
etg eject --dry-run etg eject Workspace pause and resume are separate from etg broker hibernate and etg broker resume, which checkpoint one agent near a token or time limit.
4. Run the Immutable Gate over MCP
Start the local MCP server from the governed workspace:
etg serve For agent and MCP-host discovery, start with docs/discoverability.md. MCP clients should call etg_get_capabilities and etg_get_workspace_context before selecting a governed operation. Agents can also load the reusable entigram-workspace Agent Skill.
Agents should discover schemas with etg_get_schemas, inspect change risk with etg_get_impact, propose alignments with etg_propose_alignment, and record deterministic conflicts with etg_log_conflict. MCP responses use a stable JSON envelope:
{"ok":false,"error":{"code":"UNKNOWN_CONCEPT","message":"Error: Invalid Schema Alignment - Entity Ghost not found","details":"Entity Ghost not found"}} Successful proposals are written to the SQLite ledger configured in .etg/entigram.yaml:
schema_paths: - schema.lds state_ledger: .etg/state.db Node and TypeScript applications can connect to the same local MCP server with the dependency-free @entigram/client package:
npm install @entigram/client The client is a typed stdio bridge to etg serve; it does not reimplement Entigram policy evaluation or write the workspace ledger directly.
The server treats schema_paths as the closed-world boundary. Demo files, templates, drafts, and unrelated LDS files are not exposed unless explicitly listed.
5. Discover Draft Schemas from External Sources
Discovery is an intake path, not an authorization path. Entigram can inspect external sources and emit draft LDS, but discovered entities, attributes, relationships, and alignments must still be reviewed before they become operational facts.
etg discover --source sqlite --path legacy.db --metadata etg discover --source csv --path partner_orders.csv --domain PartnerOrder etg discover --source json --path accounts.json --report-json etg discover --adapter-module @entigram/salesforce/source_adapter.py \ --source salesforce-describe --path http://127.0.0.1:8080/describe Discovery includes an advisory model review. JSON reports include structured findings, and human-readable summaries are emitted when findings are present. Initial checks flag missing primary keys, FK-like columns without constraints, multi-entity sources without relationships, composite keys, wide entities, repeating column groups, JSON blob fields, low-confidence inferred fields, and low-cardinality strings that may be better modeled as enums or reference data.
The core runtime ships the source-adapter contract and local SQLite/CSV/JSON adapters. Cloud, SaaS, warehouse, catalog, and domain-specific adapters should ship as Entigram standard packages that register source adapters with core at runtime. This keeps Entigram cloud-agnostic while allowing package-level coverage for AWS, Azure, GCP, Salesforce, OpenAPI, dbt, and other sources. Database and infrastructure packages can cover PostgreSQL, MySQL/MariaDB, SQL Server, Oracle, MongoDB, Neo4j, Snowflake, Terraform/OpenTofu, and similar systems without making those clients core runtime dependencies.
Database standard packages should prefer Docker-hosted client tools over host binary installation. For example, a PostgreSQL package should run psql with docker exec against a postgres or postgis/postgis container, a MySQL or MariaDB package should run mysql or mariadb inside the matching database container, and SQL Server discovery should run sqlcmd from the SQL Server container image. Host-installed clients are a fallback for operators who already manage those binaries, not the default Entigram package path.
Standard packages can be signed without changing the install experience for local exploration. Publishers generate deterministic manifests and Ed25519 signatures, while CI or registry workflows can opt into enforcement:
etg package sign --package @entigram/postgres --catalog standard_package_catalog.json etg package verify --package @entigram/postgres etg package sign-catalog --catalog standard_package_catalog.json etg package verify-catalog --catalog standard_package_catalog.json etg package audit --catalog standard_package_catalog.json --verify-signatures If --key is omitted, Entigram creates .etg/package_signing_ed25519_private.pem and keeps it out of version control. Package users can still suggest, inspect, and install packages without managing signing keys.
Community packages are maintained in the public community-packages/ tree and delivered through the standard package Worker at https://api.entigram.ai/v1/registry. Community package downloads do not require an Entigram Cloud key. The Worker can still use ENTIGRAM_TOKEN for premium packages that are not part of the public community tree.
Entigram supports multiple package sources. Add a public or private Git registry to a workspace when a team maintains packages outside the core repository:
etg registry add --url https://github.com/example/my-entigram-packages.git etg package install --name @example/my-package A Git package source may place packages at its repository root or under its own community-packages/ directory. Package names are namespace-qualified so the Worker, the core community tree, and user registries can coexist like Maven repositories. Package source code remains reviewable in its source repository; the Worker is the delivery and caching layer.
Git-native governed collaboration
For teams that evolve LDS contracts on branches, Entigram can use Git's merge base to distinguish non-overlapping additions from semantic conflicts. The integration is opt-in and does not require a hosted Entigram service:
etg git install --merge-driver --ci github etg git check --base origin/main --write-evidence Safe additions can merge normally; concurrent non-identical changes to the same entity require an explicit, versioned resolution record. See Git-native collaboration for the workflow.
Run a community assessment
Community assessment packages run locally and do not require a cloud key. For example, install the public data-privacy package and run its metadata-only adapter:
etg package install --name @entigram/data-privacy etg assess \ --adapter data-privacy-assessment \ --adapter-module .etg/packages/@entigram/data-privacy/assessment_adapter.py \ --allow-executable-adapter \ --subject-type data-privacy-profile \ --subject workspace-profile \ --input-json .etg/packages/@entigram/data-privacy/examples/privacy-profile.json \ --json The adapter reads metadata about assets, fields, and controls—not field values. ok: true means that the assessment executed; use decision and safe_to_process to determine whether processing may continue. Review the package instructions for the input shape and limitations.
Before returning work to a human reviewer:
etg broker export-audit --out entigram-audit.json The first export creates a local signing key at .etg/audit_ed25519_private.pem. Keep that private key out of source control.
For the complete MCP tool contract, see docs/mcp-tools.md. For the portable workspace contract, see docs/workspace-standard.md. A minimal local example is available in docs/minimal-governed-workspace.md. For the recommended OpenCode setup, see docs/opencode.md. For usage accounting and workspace lifecycle behavior, see docs/workspace-lifecycle.md.
Run the local Immutable Gate smoke demo:
python3 scripts/demo_immutable_gate.py The Entigram runtime is terminal-first and headless. Use the CLI and MCP surfaces described above to operate a governed workspace.
Entigram is not an orchestration framework, MCP replacement, graph database, or IAM product. It is the semantic governance layer that complements those systems by providing:
Schema Discipline: Validating agent inputs/outputs against a strict Schema.
Alignment Gates: Ensuring cross-system joins (e.g., Salesforce Opportunity to Warehouse SKU) use verified mappings.
Decision Ledger: Providing a persistent, auditable record of state transitions.
Agent framework -> Entigram semantic governance -> MCP/tools/connectors/databases -> enterprise systems Existing Layer Examples Entigram's Role Agent orchestration LangGraph, CrewAI, OpenAI Agents SDK, Microsoft Agent Framework Validate domain state, mappings, payloads, and handoffs before agents act Tool and data access MCP, API tools, enterprise connectors Govern tool schemas and block unsupported concepts or unverified mappings Knowledge and context RAG, GraphRAG, Neo4j, Stardog, data.world, LlamaIndex Operationalize only verified concepts, relationships, and alignments Runtime governance RunAgents, Okta, policy engines, approval systems Supply semantic policy signals and provenance for tool/action decisions Observability Tracing, OpenTelemetry, agent logs Add semantic provenance: schema, alignment, evidence, conflict, and decision IDs 🔒 Operational Principle
Discovery creates proposals, not operational facts.
Agents and routers may suggest alignments from schema similarity, partner data, or field names, but those proposals do not drive cross-domain joins until they are explicitly authorized with trusted evidence.
Partner Reconciliation: Normalizing and aligning external supplier data with internal systems.
Cross-Domain Integration: Linking CRM data (Salesforce) to supply-chain or inventory forecasting.
Invoice Reconciliation: Compare synthetic supplier invoices and purchase orders through verified alignments and conflict sensing. See the runnable example.
Governance for Multi-Agent Ops: Auditing the "handoff" state between different specialized agents.
The generic example migration notes describe retired examples, package changes, and compatibility.
Entigram Core is Open Source under the Apache License 2.0. Redistributions must preserve the Apache-2.0 license and the project NOTICE. Use of the Entigram name, certification language, registry branding, or hosted-service marks is governed separately by TRADEMARKS.md.
Entigram: Shared context and clear rules for agent workspaces.
Apache-2.0 View SPDX License List
Operating System OS Independent
Programming Language Python :: 3
Release files for entigram-ai 2.26.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 885.3 kB
Release files / entigram_ai-2.26.8.tar.gz
Release files / entigram_ai-2.26.8-py3-none-any.whl
Security for entigram-ai 2.26.8
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.
None of the files in this release were uploaded with provenance metadata.
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
Nov 24, 2026 2 release files No provenance
Nov 23, 2026 2 release files No provenance
Nov 22, 2026 2 release files No provenance
Nov 19, 2026 2 release files No provenance
Nov 18, 2026 2 release files No provenance
Nov 17, 2026 2 release files No provenance
Oct 17, 2026 2 release files No provenance
Oct 9, 2026 2 release files No provenance
Oct 1, 2026 2 release files No provenance
Sep 27, 2026 2 release files No provenance
Sep 26, 2026 2 release files No provenance
Sep 25, 2026 2 release files No provenance
Sep 16, 2026 2 release files No provenance
Sep 15, 2026 2 release files No provenance
Sep 13, 2026 2 release files No provenance
Sep 11, 2026 2 release files No provenance
Sep 10, 2026 2 release files No provenance
Sep 9, 2026 2 release files No provenance
Sep 8, 2026 2 release files No provenance
Sep 7, 2026 2 release files No provenance
Sep 6, 2026 2 release files No provenance
Sep 5, 2026 2 release files No provenance
Sep 4, 2026 2 release files No provenance
Sep 3, 2026 2 release files No provenance
Aug 31, 2026 2 release files No provenance
Aug 16, 2026 2 release files No provenance
Aug 13, 2026 2 release files No provenance
Aug 3, 2026 2 release files No provenance
Aug 1, 2026 2 release files No provenance
Jul 31, 2026 2 release files No provenance
Jul 30, 2026 2 release files No provenance
Jul 28, 2026 2 release files No provenance
Jul 27, 2026 2 release files No provenance
Jul 24, 2026 2 release files No provenance
Jul 18, 2026 2 release files No provenance
Jul 9, 2026 2 release files No provenance
Jul 5, 2026 2 release files No provenance
Jul 3, 2026 2 release files No provenance
Jun 30, 2026 2 release files No provenance
Jun 21, 2026 2 release files No provenance
Jun 20, 2026 2 release files No provenance
Jun 18, 2026 2 release files No provenance
Jun 4, 2026 2 release files No provenance
Jun 3, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




