# Memory: What the company knows, and when it knew it — Hanzo AI

> What the company knows, and when it knew it.

Hanzo OS

# Memory

What the company knows, and when it knew it.

The graph records assertions — an entity, a relation, a value, who said it and when it was so — and never overwrites one. A read takes two instants: as_of for when the world was so, as_known for how much had been heard. So a past answer can be reproduced exactly, and a correction does not erase what was believed before it. Each org’s own data lives in its Base, a SQLite store of its own.

## API

Operations on api.hanzo.ai. One key reaches every layer.

Method

Path

What it does

`POST`

`/v1/graph`

Asserts what is true of an entity.

`GET`

`/v1/graph`

Reads the assertions the org has recorded, bounded by as_of and as_known.

`POST`

`/v1/graph/resolve`

What is in force about an entity as of an instant, and what disagreed.

`POST`

`/v1/graph/diff`

What came into force, was superseded and was retracted between two instants.

`POST`

`/v1/graph/answer`

Answers a question from the whole graph, citing the assertions it rests on.

`GET`

`/v1/base/bases`

Lists every Base the caller can reach, one per org.

## Try it

```
curl https://api.hanzo.ai/v1/graph \ -H "Authorization: Bearer $HANZO_API_KEY" \ -H "Content-Type: application/json" \ -d &#x27;{"assertions": [{"entity": "acme/svc/api", "relation": "owner", "value": "acme/team/core", "names": true, "at": "2026-01-05T00:00:00Z", "source": "wiki/api"}]}&#x27; curl https://api.hanzo.ai/v1/graph/resolve \ -H "Authorization: Bearer $HANZO_API_KEY" \ -H "Content-Type: application/json" \ -d &#x27;{"entity": "acme/svc/api", "relation": "owner", "as_of": "2026-03-01T00:00:00Z", "as_known": "2026-02-01T00:00:00Z"}&#x27;
```

## Measured

[CronQuestions: point-in-time questions answered through /v1/graph](https://hanzo.ai/benchmarks/cronquestions)

## Docs

[Graph API](https://docs.hanzo.ai/docs/openapi/graph)[Memory, the concept](https://docs.hanzo.ai/docs/concepts/memory)[hanzo graph](https://docs.hanzo.ai/docs/cli/graph)

## On this site

[Base](https://hanzo.ai/base)[Search](https://hanzo.ai/search)[Datastore](https://hanzo.ai/datastore)[Object storage](https://hanzo.ai/s3)

## The stack

- CompanyThe legal body: formation, cap table, documents and filings, as operations.
- AgentsWorkers the company keeps: a model, instructions, tools and a budget.
- ModelsEvery model behind one endpoint and one key.
- MemoryWhat the company knows, and when it knew it.
- IdentityWho is acting — a person, a program or an agent — and what it may reach.
- MachinesReal computers, leased by the org, for agents and for the software they ship.

[RecordEvery act on every layer, by a person or an agent, in one trail.](https://hanzo.ai/products/record)
