Open-source product data · Apache-2.0 · Self-hosted
Open-source PIM where every click is instant.
A system that understands you, and keeps making your work easier.
- 64 ms save to searchable, p50
- 20 ms save to every open session, p50
- All figures
For the people in the catalog
One workspace per job
Tiled panels, instant navigation, and the whole catalog in reach.
Tree, table, detail, history and graph are views you tile, tab and split. Moving between them is instant. Drag a divider to resize, Ctrl+Alt+Z to maximize, Ctrl+Alt+W to close.
Enrichment, review and the data model each get their own layout. Switch with a click or Ctrl+1…9. Every person keeps their own layout, and an unlocked workspace can save a shared one.
Filters, sorting and grouping run on the server across every object, not only the rows you happened to load.
When a colleague saves, the row updates in your open view. No refresh, no stale copy.
Model
Your types, your rules
Define the data model in the app. Nothing is locked to a product.
The Data model workspace edits structures, object types, link types, value lists and units. Each type names its key attribute and the attributes it uses. The engine ships no built-in article or product type; the demo’s Product and Article types are seed data you can edit or remove.
An attribute is shared. Its rules are the value type, length, languages, value list, unit, multiple values, and min and max on a number. The types you add are text, number, boolean, date, value list, range and file. A reference attribute stores another object and is edited on the object. A group only decides where the attribute applies. Values are never inherited or copied.
A unit family converts to its base unit with a factor and an offset. Length and mass use a factor. Temperature uses the offset too, so Celsius, Fahrenheit and Kelvin filter and sort on one scale. The stored number keeps the unit you entered.
A link type has two directions with their own labels and cardinality. Create a link from Detail, by dragging a row onto another table, or from the graph. A link row can carry its own values, including a numeric sort order.
Model edits are drafts. Review the step and save a new revision; a draft based on an older revision is rebased, never silently merged.
Views
Every relevant source, nothing else
A view can follow a type, a linked object, or a structure node.
From the view menu’s Select source or Ctrl+K › Data source. The list is filtered by the view’s bound type, not by the source it happens to use today.
Pull rows from another open table when a link type connects the two types: articles from a selected product, products from a selected article.
Or take the objects placed in a selected group of an open structure tree. Sources that cannot yield the type are not listed.
An empty source says so and offers Show all. A choice that would close a follow chain is shown disabled as a cycle.
A selection is a saved filter, shown as a chip, not a live table source. A dynamic selection follows a filter query. A manual one is filled by choosing rows or dragging them onto the selection. Nothing is written until Save.
Graph
See the object, not just the row
One hop at a time, with every link labelled.
The graph opens on the selected object and draws its groups, attribute values and directly linked peers, with labelled edges. Object references are not drawn as value nodes.
Enter, a double-click or the node menu expands a peer one more hop. A group node reveals its members. In the model graph, a type reveals the structures it may use.
The data model has a read-only graph of entity types and link types, labelled with cardinality on each edge.
Force layout, Fit and Re-layout. Drag a node to pin it. Unpin on the inspector, or Re-layout, releases the pin; a click does not. Edge labels do not overlap: a label without a free spot is hidden. The scene stops at 400 nodes with a visible hint.
Agent
An agent that does the work, you approve
The agent proposes. A person saves.
- Opening a list of articles
- Filtering on “Tält” where Name (de) is empty
- Writing German names for 4 objects
4 suggested changes are ready for review.
1 more
Ctrl+J opens a docked Agent pane. The agent opens views, filters, selects rows and places panes in your workspace. With the command palette open, Ctrl+J sends the current query to the agent. Follow-ups stay in the same session.
It runs with your permissions and calls the same operations as the screen. It cannot delete objects or links, accept or discard its own proposals, run a merge, or wipe a catalog. A person does those.
An object proposal opens as a draft with one Save bar: in Detail when that object is open, otherwise in the table. Discard throws it away. A multi-row proposal in Review uses Save all. A delete is the exception: once you confirm, it is written immediately.
History names the person who saved each change and marks changes that came via the agent. A rollback is a new suggestion, never a rewrite of the past.
Delete and restore
Delete is deliberate. Trash keeps the way back.
Four ways in, one confirmation, and Trash can restore or purge.
Delete from the row or cell menu, the Detail header, Ctrl+K, or the Delete key on selected rows. All four open the same dialog.
The dialog asks the server for a dry run and shows how many objects and links will be removed. Links removed with the selection count as links. Cancel has focus; Escape writes nothing.
A human delete is immediate after confirmation. It does not wait for Save. Multi-select deletes after one confirm and stops at the first error.
Deleted objects appear in Trash. Restore brings the object back together with the links removed in that same deletion. Delete permanently purges an item, and that cannot be undone.
A person makes every deletion. Agents and imports get a 403 from the delete operation, and no delete tool is offered to them.
Feedback
Report a bug from where it happened
When the operator turns it on, a report carries the context with it.
Opens the feedback dialog from anywhere. It is available to admins when the operator has configured a webhook.
Route, workspace, view, selected object, filter and build travel with the message. Attach a screenshot and the recent client log if you want.
Screenshots and logs are written under BRAIAN_FEEDBACK_DIR; the webhook receives their paths, not their contents.
For developers
One write path
Everything else is a consumer.
The UI, the agent, the API and MCP clients write through one shared operation registry into Postgres, which holds the object model and the change log. The indexer leases interactive and bulk lanes from that log and imports into Typesense. Search loops back to the UI. LISTEN on braian_changes drives live updates over server-sent events to open UIs, and the same change stream reaches external consumers over webhooks.
- Rust
- TanStack Start
- Postgres
- Typesense
The UI, Ctrl+K, the agent, the REST API and MCP call the same named operations with the same permission checks. Saved views are written with POST /v1/views. The agent is the same person with a narrower surface: it cannot delete objects or links or save its own proposals.
Every committed change appends to the `changes` table in Postgres on an interactive lane and a bulk lane, so a single edit never waits behind a bulk load. The indexer and live stream read by seq. Subscribe via server-sent events or signed webhooks.
Run them anywhere, in any language. They listen on the queue and write back through the API with a token tied to a person. Custom views embed by URL.
Imports and exports are programs you own and version. The built-in import keeps its saved column mappings in the Import mappings view, and the API validates every write either way.
Objects are JSONB rows with an append-only change log. The search index and the stream derive from it, and both can be rebuilt.
A PATCH answers in 17.5 ms at p50. The API checks type, length, value lists, units, and min and max on every write, and the same rules crate compiles to WebAssembly.
A job is two requests
Listen for changes, then write back through the same operation.
# listen curl -N "$BRAIAN/v1/stream" \ -H "authorization: Bearer $TOKEN" # write back curl "$BRAIAN/v1/operations/patch_object" \ -H "authorization: Bearer $TOKEN" \ -H "content-type: application/json" \ -d '{"id":"…","values":{"namn":{"de":"Kuppelzelt 13"}}}'
Braian’s own numbers
Performance
From save to search, and from your screen to everyone else’s.
64ms
Save to searchable
p50, idle
20ms
Save to live update in other sessions
p50
4,237objects/s
Bulk write
About 4 minutes per million articles
192 / 405ms
Save to searchable during a 50,000-object bulk load
p50 / p95
17.5ms
PATCH an object
p50
11.5ms
Open the history view
p50
Measured on an 8 vCPU VPS.
Open source
Open source. Yours to run.
Apache-2.0 licensed and self-hosted. Run the API and the indexer as separate processes, or all roles in one for development.
- Apache-2.0
- Rust and TypeScript
- Postgres · Typesense
- One binary, several roles
git clone https://github.com/braian-io/braian cd braian && cp .env.example .env just up && pnpm install && just dev