Lifemodel: Architecture of an AI Agent with a Heartbeat, Desires and a Parliament of Motives
What if an AI agent decides for itself what to do, without user commands? The lifemodel project builds a "digital human" with a heartbeat cycle, internal energy and desires that arise on their own. The architecture includes a personality constitution, a parliament of competing motives and a multilayer safety system. The prototype works, but the author admits candidly that projects like this stall when one person carries them alone.
AI-processed from Habr AI; edited by Hamidun News
A Habr developer has described the architecture of his project lifemodel, an AI agent built not as a classic chatbot but as a "digital human": it has a heartbeat, its own energy and desires that arise on their own and push the agent to act without a user command.
What lifemodel is
Most AI agents are reactive: the user asks a question and the system answers. Lifemodel is built differently. At its core is a heartbeat cycle: a regular internal "tick" that fires independently of external requests and processes the agent's state.
Desires are born from this cycle: internal drives rather than commands from outside. The agent decides for itself what to do, based on the current level of its "energy" and a set of active motives. This is closer to a biological drive model than to instrumental AI.
Energy is the third key parameter: a resource that is spent on actions and recovers over time. The agent cannot work indefinitely. It "gets tired" and has to "rest", which places natural limits on its activity.
Architecture: the constitution and the parliament
The full lifemodel stack includes several layers:
- Heartbeat cycle: a regular tick that triggers internal processing
- Desires: motives that arise without an external request
- Energy: an internal resource that is spent and replenished
- Constitution: a document that defines the agent's values and personality
- Parliament of motives: a mechanism for prioritizing competing desires
- Safety system: multilayer constraints built into the architecture
The "parliament of motives" is one of the most unconventional ideas: the agent can "want" several things at once, so a mechanism must pick the priority. The "constitution" is not just a system prompt but a high-level document that defines what the agent considers right. It shapes behavior across many architectural layers.
Safety of a proactive agent
An agent that acts without the user's permission is a fundamentally different class of system from a safety standpoint. A reactive agent can do harm only in response to a request; a proactive one acts on its own.
The author addresses this through layering: the architecture has levels at which a desire can be blocked before the agent starts to act. Safety is built into the system from the start rather than added on top.
"Desire instead of polling" is the central shift: the agent does not poll the outside world in
search of a task but generates the task from within.
Why the project stalled
The author is also candid about the other side of the story. The prototype proved the concept, and interest in the project faded. It is a familiar pattern for solo developers: once the idea is "proven", the product is still far off, and the motivation to keep up the pace runs out.
"The prototype worked.
And then, as usual, the motivation ran out."
The author believes ambitious projects like this are fundamentally hard to develop without a team. The post is partly also a call to those who have read Habr for years in read-only mode and could help move the project forward.
What this means
Lifemodel is one of the few public implementations of a proactive AI agent with a thoroughly described architecture. The heartbeat, energy, constitution and parliament of motives all work today, not just in theory. The question is not a technical one: how to take such a system beyond the prototype, and who is willing to work on it for long enough.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
- Dec 2, 2026OpenAI Opens Dots Agent to ChatGPT Plus Subscribers With 10,000+ Plugins
- Dec 2, 2026FSK Group Has Launched 395 AI Agents in Six Months, with a 97.7% Success Rate
Key Questions Answered
What lifemodel is?
Most AI agents are reactive: the user asks a question and the system answers. Lifemodel is built differently. At its core is a heartbeat cycle: a regular internal "tick" that fires independently of external requests and processes the agent's state. Desires are born from this cycle: internal drives rather than commands from outside. The agent decides for itself what to do, based on the current level of its "energy" and a set of active motives. This is closer to a biological drive model than to instrumental AI.
What are the key details on Architecture: the constitution and the parliament?
The full lifemodel stack includes several layers: Heartbeat cycle: a regular tick that triggers internal processing Desires: motives that arise without an external request Energy: an internal resource that is spent and replenished Constitution: a document that defines the agent's values and personality Parliament of motives: a mechanism for prioritizing competing desires Safety system: multilayer constraints built into the architecture The "parliament of motives" is one of the most…
What are the key details on Safety of a proactive agent?
An agent that acts without the user's permission is a fundamentally different class of system from a safety standpoint. A reactive agent can do harm only in response to a request; a proactive one acts on its own. The author addresses this through layering: the architecture has levels at which a desire can be blocked before the agent starts to act. Safety is built into the system from the start rather than added on top.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
