Skip to content
invanaPublic

Repository files navigation

Invana

The ontology-governed operating system for humans and AI agents.

Decision intelligence on one governed knowledge graph: connect your sources, model them, and let people and agents work under one set of rules.

Invana is open source and in beta. ✅ available · 🟡 usable, with parts still being built.

Core features

Governed AI access ✅

  • Worlds decide which models and types a person or the assistant sees, bounded by a time window, a map area and regions
  • Guardrails mask a field as ••• or keep it from ever leaving, targeted by property, wildcard or tag
  • The same rules on every read: queries, records, loads and boards
  • Proposals, not writes: the assistant proposes, and a person accepts each step

Your graph database, no copy ✅

  • Five databases today: Neo4j, Memgraph, ArcadeDB, JanusGraph and TinkerGraph
  • Cypher or Gremlin (Apache TinkerPop): one query plan compiles to either language
  • Add your own: any database that speaks Cypher over Bolt, or Gremlin, is a small connector package on a shared base (TinkerGraph's is 16 lines)

Ontology editor ✅

  • A full model editor with drafts, publish, versions and diffs
  • Import and export LinkML, OWL, SHACL and RDF
  • Stitches join types across models into one global model
  • Conformance finds where the data drifts from its model, and repairs it

Assistant and live boards ✅

  • Ask in plain words, and the assistant builds an interactive board of up to 12 panels
  • More than a graph: graph canvas, tables, records, maps, metrics, rankings, bar charts, time series and narrative
  • Live, not static: each panel is a live query you can trace
  • No made-up numbers: every number in the narrative points at a panel's value
  • Conversations are kept and pick up where they left off

LLM observability ✅

  • Every LLM call, tool call and query is traced
  • Each conversation opens as a trace of its steps, with the tokens in and out
  • Usage per person, per connection and per model, refusals and failures included
  • OpenTelemetry logs, traces and metrics, with an optional HyperDX profile

Use it your way

Interface What it is Status
Studio The web app: model, explore and ask ✅
REST API Every Studio action, with OpenAPI at http://localhost:8200/api/docs ✅
CLI invana serve, migrate, users, login, loads, records ✅
Python pip install invana; invana.backend is the SDK the API and the CLI are built on 🟡

Connectors

Every source Invana reaches is a connector: a package with its own manifest.yaml, registered under the invana.connectors entry point. A user adds a connection under Settings › Connections.

Category Connector Speaks Package
Graph database Neo4j Cypher invana-neo4j
Graph database Memgraph Cypher invana-memgraph
Graph database ArcadeDB Gremlin invana-arcadedb
Graph database JanusGraph Gremlin invana-janusgraph
Graph database TinkerGraph Gremlin invana-tinkergraph
LLM provider Anthropic Anthropic API built in
LLM provider Claude Agent SDK Claude Code CLI on the engine host built in
LLM provider OpenAI-compatible OpenAI API: OpenAI, vLLM, LocalAI built in
LLM provider LM Studio OpenAI API built in
LLM provider Ollama Ollama API built in
SQL database, read as datasets PostgreSQL SQL invana-postgres
SQL database, read as datasets TimescaleDB SQL invana-postgres
Files, read as datasets S3 and S3-compatible stores S3 built in
Tools MCP server MCP built in
Tools Tavily web search MCP invana-tavily
Tools Email SMTP built in
Tools Webhook HTTP built in

Run from source

Invana has no published release yet. You need Docker with Docker Compose, Python 3.14+, Node.js 22+, uv and pnpm.

git clone https://github.com/invana/invana.git
cd invana
docker compose up -d      # Postgres, Neo4j and S3 storage
make setup                # engine, Studio and the pre-commit hooks
make engine-migrate       # bring the app database to the newest revision
make dev                  # the engine on :8200 and Studio on :8300

Create the first users

  1. Create your own account. The password is prompted for twice, and --no-require-password-change keeps Studio from asking you to change it, since you just chose it:

    uv run --directory engine invana users create --username me --email me@example.com --no-require-password-change
  2. Open Studio at http://localhost:8300 and sign in.

  3. Add the people who will use it, without --no-require-password-change:

    uv run --directory engine invana users create --username ada --email ada@example.com

    A user created that way chooses their own password at their first sign-in, so the one you share with them is used once. Leave the flag off whenever you pass a password to someone else.

  4. Reset a password with invana users set-password --username <name>. The user chooses a new one at their next sign-in.

What is running

Studio http://localhost:8300
Engine API http://localhost:8200
Graph database Neo4j (Cypher) and ArcadeDB (Gremlin) start by default. Memgraph and JanusGraph are Compose profiles, for example docker compose --profile memgraph up -d, or both with --profile extra-dbs
Storage S3-compatible (RustFS) on http://localhost:9000, bucket invana-storage, keys invana / change_this_password; add it as an S3 connection with that endpoint
Telemetry HyperDX, with docker compose --profile telemetry up -d
Demo data The airways demo: models, records, links between models and guardrails, step by step

This is the development stack. Before anyone else can reach it, set INVANA_SECRET_KEY and INVANA_ENCRYPTION_KEY (CONTRIBUTING.md › Environment variables) and use strong passwords for every account.

Trademarks

Neo4j, Memgraph, ArcadeDB, JanusGraph, Apache TinkerPop, TinkerGraph, PostgreSQL, TimescaleDB, Amazon S3, RustFS, Anthropic, Claude, OpenAI, vLLM, LocalAI, LM Studio, Ollama, Tavily, HyperDX and every other product named here are trademarks of their respective owners. Invana shows their names and logos only to identify what a connector connects to; it does not imply endorsement.

Contributing

CONTRIBUTING.md covers the development setup and how to raise a pull request.