henosis
Officialby henos-io
README.md
<div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="logo/henosis-mark-dark.svg">
<img alt="henosis" src="logo/henosis-mark.svg" width="96">
</picture>
# henosis
**One asset context. Every decision.**<br>
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 →](https://oil-gas.try.henos.io)** · [Docs](https://www.henos.io/docs) · [Website](https://www.henos.io)
[](https://pypi.org/project/henosis-engine/)
[](https://www.python.org/)
[](https://github.com/henos-io/henosis/blob/main/LICENSE)
[](#connect-an-ai-agent)
[](#claude-code-plugin)
[](#status)
</div>
<!-- mcp-name: io.github.henos-io/henosis -->
<p align="center">
<img alt="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." src="docs/screenshots/tour.gif" width="800">
</p>
## Live demos
Read-only, no install:
- **[Oil and gas](https://oil-gas.try.henos.io)**: a synthetic Cooper Basin gas operation
- **[Electricity distribution](https://electricity.try.henos.io)**: feeders, substations and transformers
Each serves the canvas at `/`, REST at `/v1` and MCP at `/mcp`.
## Quickstart
```bash
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
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="logo/henosis-hero-dark.png">
<img alt="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." src="logo/henosis-hero-light.png" width="800">
</picture>
</p>
You describe your assets in YAML. Every piece of information takes one of five roles:
| Role | Answers | Drives |
|---|---|---|
| **Identity** | what it is | search, fleet tables |
| **Location** | where it is | maps, 3D sites |
| **Observation** | what it is doing | trends, performance |
| **Documents** | what is known about it | linked records |
| **Relationships** | what it connects to | networks, 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
| System | Available today |
|---|---|
| Historians | AVEVA PI Web API |
| Databases | PostgreSQL · MySQL · Snowflake · SQLite |
| Files and lakes | Parquet · CSV |
| Geospatial | ArcGIS · WFS |
| Services | REST / HTTP APIs |
| Documents | Local 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:
```json
{
"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`](https://www.npmjs.com/package/mcp-remote).
### Claude Code plugin
Requires only [uv](https://docs.astral.sh/uv/getting-started/installation/). From your
project folder:
```bash
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](https://github.com/henos-io/henosis/blob/main/CHANGELOG.md) for what's new.
If henosis matches a problem you have, [open an issue](https://github.com/henos-io/henosis/issues)
or email [Chris Bouras](mailto:chris.bouras@henos.io).
## 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](https://github.com/henos-io/henosis/blob/main/SECURITY.md) to report a vulnerability.
## License
[MIT](https://github.com/henos-io/henosis/blob/main/LICENSE)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues