hirn architecture: local model server, model router, and desktop agent

The Assistant you actually own.

Modular. Private. Open.

A composable agent system that you own and control. Speak or type to automate your daily workflows. By default every app, model execution, and learning loop runs 100% locally.

Why hirn?

Why yet another agent orchestration system?

Most agent systems rely on cloud services, scattered tools, and proprietary walled gardens. hirn is built from the ground up to give you total ownership. You simply bring your own models, your own agents, and build your own local tools and workflows.

100% Local & Private

Operates directly on your local files, not in the cloud. Your data and conversations stay strictly on your device.

All in One Place

Notes, tasks, contacts, friends & family, calendar, emails, and more—seamlessly accessible to your local agents.

Encrypted P2P Sync

Seamless, end-to-end encrypted P2P synchronization across Linux, Windows, and Android without central servers.

Composable & Extendable

Build your own Zeug (small web apps) to interact with your data using custom, interactive user interfaces.

Model Serving & Routing

Distributed local model serving for efficient inference and an intelligent intent router that selects the optimal model tier for every prompt.

Agents, Tools & Workflows

Full agent orchestration with subagents, MCP tools, ACP (Agent Client Protocol) agents, custom Skills, and multi-step Workflows.

How It Works

Markdown & Graph Index As The Backbone

hirn turns plain local Markdown notes into a connected knowledge graph—giving agents rich long-term memory and letting developers build custom Zeug on top.

Local Markdown Notes

No proprietary databases or cloud lock-in. Everything is stored in local, human-readable Markdown files that you fully control.

Graph Index & Memory

Builds a bidirectional graph index across your Markdown notes allowing agents to retrieve context instantly.

Build Zeug on hirn

Use the hirn SDK to build tiny web apps (Zeug) directly on top of your local graph structure with custom user interfaces.

System Layout

The 6 pillars of hirn

Each component acts as an independent service in the system, communicating locally to form a highly optimized personal intelligence node.

agent
The desktop UI and CLI agent built on top of Goose.
assistant
Cross-platform mobile companion (Android/iOS) with encrypted P2P CRDT sync.
desktop
Tauri v2 & Svelte 5 multi-agent desktop GUI and tool host for Windows, macOS, and Linux.
learn
Local finetuning loop for your personal router.
router
Intent prediction model for task and model-tier selection.
server
Efficient high-scale distributed model serving across devices.

For Developers

Ship nothing to the cloud.

Develop tiny web apps (Zeug, german for useful things), plug it into hirn's ecosystem, and forget about everything else. No servers, no deployment pipelines, no cloud bills.

No servers to run

Zeug runs on the user's device. No backend to operate, no database to secure, no rate limits to manage.

Your own UI

Ship a full HTML and JS interface that opens inside hirn using a bidirectional, real-time, fully offline SDK.

Plug in, not build out

Focus on what your skill actually does. Deployment, security, and data infrastructure are not a worry.

Everything stays on your local hardware. No corporate telemetry, no data collection, no exceptions. Not now, not ever. Your data, your models, your decisions.

Licensing & Costs

100% Free for Personal & Non-Commercial Use

hirn is built for user sovereignty and private local computation. The entire core software stack is open source and self-hostable.

Individual & Non-Commercial

Free

Completely free for personal, individual, and non-commercial use with full access to core capabilities.

Commercial Usage

Commercial

Requires a valid License Key (one-time purchase) or an active Hirn Sync Subscription for commercial applications.

Open Source & Self-Hostable

Open Source

The entire software stack including protocols, SDKs, and encrypted relay servers is 100% open source and self-hostable.

Note: You do not need a subscription to access features. The Hirn Sync subscription simply provides a convenient way to keep your devices in sync without running your own relay infrastructure.

Get early access

Get early access to hirn.

We are building a truly open, sovereign system. Sign up to get early developer releases and shape how hirn evolves.