Repository avatar
Other Tools
v0.2.2
active

henosis

io.github.henos-io/henosis

Open-source context engine for physical assets: entities, readings, networks and maps for agents.

Documentation

henosis

henosis

One asset context. Every decision.
Open-source context engine for physical assets. Connect the systems you already run and give people, apps and AI agents one live view, without moving your data.

Try the live demo → · Docs · Website

PyPI python license interfaces Claude Code status

A tour of henosis canvas, cycling through four views: a map of the Cooper Basin gathering network with curtailed wells highlighted; the network schematic with the Gidgealpa trunkline over its pressure limit; the Gidgealpa 018 well page with alarms, trends, a 3D wellhead and its location; and a 3D site view of Enfield zone substation with defects pinned on its transformers.

Live demos

Read-only, no install:

Each serves the canvas at /, REST at /v1 and MCP at /mcp.

Quickstart

uv tool install henosis-engine
henosis init cooper-basin
henosis canvas -p cooper-basin

This builds the Cooper Basin example (local SQLite and Parquet data) and opens the canvas at http://127.0.0.1:8000. Open Ontology to see its sources, types and how they link. Run henosis init --list for the other examples.

Just looking? henosis canvas --example cooper-basin builds the example once into a cache and opens it, with nothing to set up.

How it works

One asset, five roles. A feeder's identity, location, observations, documents and relationships, each read in place from its own source system, then the same context served to the canvas, REST and MCP, and a work order written back to the work-order store.

You describe your assets in YAML. Every piece of information takes one of five roles:

RoleAnswersDrives
Identitywhat it issearch, fleet tables
Locationwhere it ismaps, 3D sites
Observationwhat it is doingtrends, performance
Documentswhat is known about itlinked records
Relationshipswhat it connects tonetworks, traversal

The engine reads each value from its source system when asked and serves the result through:

  • canvas: an end-user workspace generated from the roles, with no screens to build
  • REST API (/v1): for applications and integrations
  • MCP (/mcp): for AI agents
  • Explorer (/explorer): for developers building a model

Actions such as raising a work order write back to the source system.

Why henosis

1. All your sources, not one. Keep your main data platform and enrich it with live SCADA and historian readings, GIS, maintenance records and document stores. henosis reads each one where it lives when asked, so nothing is copied and nothing goes stale.

2. An opinionated asset model. Because every piece of information has a role, the model knows that a pressure is a time series, a well has a position, and a flowline feeds a compressor. That context is the basis for a knowledge graph of your operation, without designing one from scratch.

3. Tools that use that context. Agents call them over MCP, applications over REST, and the canvas is built on them. For example:

  • Network traversal: every well upstream of a compressor, in one call
  • Live filtering and ranking: pipelines running closest to their pressure limit
  • Location search: assets within 2 km of a well, or inside a licence area
  • Time series: any reading on any asset, over any window
  • Documents: the drawings and reports attached to an asset

4. Act, not just read. When you find a problem, raise the work order from the same place. Actions are declared in the model and written back to the source system, so the next question sees the new state.

In the Cooper Basin demo, an agent finds the Gidgealpa trunkline running at 110% of its rated pressure, traces the compressor and three wells behind it, and raises a work order on its open defect, all through one model.

Connectors

SystemAvailable today
HistoriansAVEVA PI Web API
DatabasesPostgreSQL · MySQL · Snowflake · SQLite
Files and lakesParquet · CSV
GeospatialArcGIS · WFS
ServicesREST / HTTP APIs
DocumentsLocal files

Add your own connector without forking the engine. Snowflake needs the optional snowflake extra.

Connect an AI agent

To try it with no install, add the live demo as a remote MCP server (for example a claude.ai custom connector): https://oil-gas.try.henos.io/mcp. Then ask:

  • Which pipelines are running closest to their pressure limit?
  • Which wells feed the Gidgealpa trunkline, and how are they producing?
  • What's within 2 km of Gidgealpa 018?

To run it locally with no project, use henosis serve --stdio --example cooper-basin. For your own project, run the engine over stdio. Your client starts it for you and nothing else needs to be running:

{
  "mcpServers": {
    "henosis": {
      "command": "henosis",
      "args": ["serve", "--stdio", "-p", "/absolute/path/to/cooper-basin"]
    }
  }
}

To share one server between several clients, run henosis serve -p cooper-basin --mcp and point them at http://127.0.0.1:8000/mcp. Clients that don't speak Streamable HTTP can connect through mcp-remote.

Claude Code plugin

Requires only uv. From your project folder:

claude plugin marketplace add henos-io/henosis
claude plugin install henosis@henosis --scope project

Run /henosis:setup to scaffold an example or check an existing project.

Status

henosis is an early preview. The APIs, the ontology grammar and the CLI may change between releases. The canvas is a developer preview tuned against the included examples. See CHANGELOG.md for what's new.

If henosis matches a problem you have, open an issue or email Chris Bouras.

Security

There is no built-in authentication yet. serve binds to 127.0.0.1 by default. Put authentication and TLS in front of any deployment beyond localhost, or run it with --read-only. Behind a reverse proxy, set HENOSIS_PUBLIC_HOSTS to the public hostname. See SECURITY.md to report a vulnerability.

License

MIT

PYPI
henosis-engine
Install Command
pip install henosis-engine
Runtime: uvx