Greg-Aster/metahuman-os

Autonomous digital personality extension - local-first AI intelligence system

0

stars

0

commits

TypeScript

primary language

Sep 9, 2026

updated

README

MetaHuman OS

MetaHuman OS is a local-first operating system for a persistent personal AI identity. It combines a web interface, CLI, memory store, cognitive graphs, autonomous agents, voice tools, model routing, and training pipelines so an AI can keep context, learn from use, and act under explicit trust boundaries.

It is not a single chatbot wrapper. It is a development system for building a digital counterpart: one that can talk with you, maintain an inner dialogue, remember what matters, generate goals, run background work, train adapters from your history, and connect to external environments.

MetaHuman OS interface

What It Is For

MetaHuman OS is built for long-running personal AI operation:

  • Conversation: a chat surface backed by mode-specific cognitive graphs, streaming reasoning events, conversation buffers, memory grounding, and persona voice.
  • Inner life: separate inner-dialogue streams for reflections, dreams, curiosity, recursive thought, and autonomous memory associations.
  • Memory: local JSON/profile storage for conversations, episodic events, tasks, summaries, preferences, audio transcripts, and training-ready examples.
  • Learning: curation, dataset building, LoRA/fine-tune workflows, and backend-owned model activation from the user's own memories and persona data.
  • Agency: supervised autonomous desire generation, planning, review, execution, outcome review, and goal proposal.
  • Tools: trust-aware skills for files, tasks, calendar, memory search, shell-safe commands, agents, code changes, and remote/operator escalation.
  • Voice: local STT/TTS, voice chat, transcript ingestion, Kokoro voices, GPT-SoVITS, RVC, and voice-training workflows.
  • Embodiment: an in-development environment mode that reads observations from games, simulators, robots, or other surfaces and queues bounded semantic actions.

The design assumption is local ownership. Runtime identity, profiles, memories, logs, generated adapters, browser state, and local agent data are user data, not maintained source.

Cognitive Modes

Modes are not themes. They change how the system reasons, writes memory, uses agents, and routes actions.

ModeWhat It Is ForBehavior
Dual ConsciousnessFull personal mirror mode. Best for normal long-term use when you want the system to learn, remember, and evolve.Deep memory grounding, proactive agents, full memory writes, training-triggered learning, richer cognitive processing.
Agent ModeCommand and task mode. Best when you want direct assistance without full autonomous personality drift.Explicit instruction following, command-oriented memory capture, lighter context, less background autonomy.
Emulation ModeRead-only persona mode. Best for demos, safe conversations, or frozen personality snapshots.No memory writes, no persona mutation, conversational use of existing memory/persona state.
Environment ModeEmbodied interface mode. Best for experiments where MetaHuman observes and acts in another environment.Reads bridge observations, builds environment prompts, parses model output into semantic actions, queues adapter-controlled movement/text/interaction.

Learning And Training

MetaHuman OS is designed to improve from accumulated local experience rather than only prompt engineering.

The learning path is:

conversation / tasks / memories / transcripts / reflections
  -> memory organization and curation
  -> training dataset export
  -> local or remote LoRA/fine-tune run
  -> one trained artifact registered with its target backend
  -> future responses routed through the updated model stack

Training can use profile memories, persona data, conversation history, therapy/persona-generator sessions, cognitive-mode metadata, and curated samples. The training system includes local GPU workflows, RunPod-oriented remote workflows, bounded dataset selection, and one target-specific artifact per run.

The goal is a rolling personalization loop: the system captures experience as memory, curates it into useful training material, and produces adapters that change how the persona thinks and speaks over time.

Model And Backend System

MetaHuman OS routes LLM calls through a role-aware model router instead of binding the whole system to one model.

Supported backend paths include:

  • Ollama for simple local model serving.
  • vLLM for larger local models and higher-throughput GPU inference.
  • local-models service for lighter CPU/mobile-friendly model and embedding work.
  • remote/server providers for connected MetaHuman servers or cloud-backed inference.
  • Big Brother/operator backends such as Claude Code, Open Interpreter, Codex, Aider, Qwen Code, or Gemini CLI for escalated reasoning and coding workflows.

The router can select models by role: persona, orchestrator, curator, coder, embeddings, training support, and other graph/node responsibilities. This lets one installation use different models for conversation, memory curation, code execution, summarization, and background agents.

Autonomous System

The brain/ layer contains agents and services above the core engine. They are not side scripts; they are the background metabolism of the system.

Examples include:

  • memory organizer and ingestor;
  • reflector, dreamer, daydreamer, train-of-thought, curiosity service, and inner curiosity;
  • desire generator, desire planner, desire executor, and outcome reviewer;
  • curator, training orchestrators, adapter builders, and model utilities;
  • audio organizer, voice-training helpers, and maintenance services.

Full vector-index reconciliation is core engine work admitted through the Work Coordinator, including the final Sleep Workflow stage; it is not a separate agent or scheduler.

The agency system turns memories, goals, tasks, reflections, and curiosity into supervised desires. Desires can be clarified, planned, reviewed, approved, executed through the operator/tool layer, and later promoted into proposed persona goals.

Interface And Tools

The main interface is the Astro/Svelte web app in apps/site. It provides:

  • chat, inner dialogue, voice mode, and live streaming progress;
  • memory browser, task management, agency dashboard, model/backend controls, voice workspace, and training UI;
  • flow editor for cognitive graph templates and node-based workflows;
  • audit stream, agent monitor, system status, terminal/process tools, and security policy controls.

The CLI in packages/cli exposes the same local-first system for status checks, memory capture, tasks, agents, Ollama/backend work, and operational scripts.

Architecture

This is a pnpm monorepo with a strict ownership boundary:

  • apps/*: interface shells such as the Astro/Svelte web app and maintained mobile shell.
  • packages/core: engine logic, storage, policy, memory, graph execution, model routing, training APIs, voice APIs, and shared handlers.
  • brain/*: autonomous agents, services, training jobs, and workers above the engine.
  • packages/cli: the mh command shell.
  • etc/: configuration and cognitive graph definitions.
  • docs/: user, technical, audit, and planning documentation.

For the current architecture contract, see:

Running It

For normal local use:

./start.sh

For development:

cd apps/site
pnpm dev

For startup details, see STARTUP.md. For installation, setup, usage, configuration, and troubleshooting, start with the User Guide.

Development Status

MetaHuman OS is an active research and development repo. The current work is consolidating architecture, hardening API ownership, improving autonomous workflows, expanding learning/training, and prototyping environment-mode embodiment.

Useful checks:

pnpm -s validate:graphs
pnpm -s audit:graph-executors -- --fail-on-missing
pnpm -s exec tsx scripts/check-architecture.ts --fail-on-stale-baseline
./bin/audit check

Some areas are experimental, especially agency, model training, voice systems, operator escalation, mobile parity, and environment adapters. Keep changes scoped, preserve user-data boundaries, and document meaningful behavior changes under docs/.

License

MIT. See LICENSE.

Greg-Aster/metahuman-os

Autonomous digital personality extension - local-first AI intelligence system

0

stars

0

commits

TypeScript

primary language

Sep 9, 2026

updated

README

MetaHuman OS

MetaHuman OS is a local-first operating system for a persistent personal AI identity. It combines a web interface, CLI, memory store, cognitive graphs, autonomous agents, voice tools, model routing, and training pipelines so an AI can keep context, learn from use, and act under explicit trust boundaries.

It is not a single chatbot wrapper. It is a development system for building a digital counterpart: one that can talk with you, maintain an inner dialogue, remember what matters, generate goals, run background work, train adapters from your history, and connect to external environments.

MetaHuman OS interface

What It Is For

MetaHuman OS is built for long-running personal AI operation:

  • Conversation: a chat surface backed by mode-specific cognitive graphs, streaming reasoning events, conversation buffers, memory grounding, and persona voice.
  • Inner life: separate inner-dialogue streams for reflections, dreams, curiosity, recursive thought, and autonomous memory associations.
  • Memory: local JSON/profile storage for conversations, episodic events, tasks, summaries, preferences, audio transcripts, and training-ready examples.
  • Learning: curation, dataset building, LoRA/fine-tune workflows, and backend-owned model activation from the user's own memories and persona data.
  • Agency: supervised autonomous desire generation, planning, review, execution, outcome review, and goal proposal.
  • Tools: trust-aware skills for files, tasks, calendar, memory search, shell-safe commands, agents, code changes, and remote/operator escalation.
  • Voice: local STT/TTS, voice chat, transcript ingestion, Kokoro voices, GPT-SoVITS, RVC, and voice-training workflows.
  • Embodiment: an in-development environment mode that reads observations from games, simulators, robots, or other surfaces and queues bounded semantic actions.

The design assumption is local ownership. Runtime identity, profiles, memories, logs, generated adapters, browser state, and local agent data are user data, not maintained source.

Cognitive Modes

Modes are not themes. They change how the system reasons, writes memory, uses agents, and routes actions.

ModeWhat It Is ForBehavior
Dual ConsciousnessFull personal mirror mode. Best for normal long-term use when you want the system to learn, remember, and evolve.Deep memory grounding, proactive agents, full memory writes, training-triggered learning, richer cognitive processing.
Agent ModeCommand and task mode. Best when you want direct assistance without full autonomous personality drift.Explicit instruction following, command-oriented memory capture, lighter context, less background autonomy.
Emulation ModeRead-only persona mode. Best for demos, safe conversations, or frozen personality snapshots.No memory writes, no persona mutation, conversational use of existing memory/persona state.
Environment ModeEmbodied interface mode. Best for experiments where MetaHuman observes and acts in another environment.Reads bridge observations, builds environment prompts, parses model output into semantic actions, queues adapter-controlled movement/text/interaction.

Learning And Training

MetaHuman OS is designed to improve from accumulated local experience rather than only prompt engineering.

The learning path is:

conversation / tasks / memories / transcripts / reflections
  -> memory organization and curation
  -> training dataset export
  -> local or remote LoRA/fine-tune run
  -> one trained artifact registered with its target backend
  -> future responses routed through the updated model stack

Training can use profile memories, persona data, conversation history, therapy/persona-generator sessions, cognitive-mode metadata, and curated samples. The training system includes local GPU workflows, RunPod-oriented remote workflows, bounded dataset selection, and one target-specific artifact per run.

The goal is a rolling personalization loop: the system captures experience as memory, curates it into useful training material, and produces adapters that change how the persona thinks and speaks over time.

Model And Backend System

MetaHuman OS routes LLM calls through a role-aware model router instead of binding the whole system to one model.

Supported backend paths include:

  • Ollama for simple local model serving.
  • vLLM for larger local models and higher-throughput GPU inference.
  • local-models service for lighter CPU/mobile-friendly model and embedding work.
  • remote/server providers for connected MetaHuman servers or cloud-backed inference.
  • Big Brother/operator backends such as Claude Code, Open Interpreter, Codex, Aider, Qwen Code, or Gemini CLI for escalated reasoning and coding workflows.

The router can select models by role: persona, orchestrator, curator, coder, embeddings, training support, and other graph/node responsibilities. This lets one installation use different models for conversation, memory curation, code execution, summarization, and background agents.

Autonomous System

The brain/ layer contains agents and services above the core engine. They are not side scripts; they are the background metabolism of the system.

Examples include:

  • memory organizer and ingestor;
  • reflector, dreamer, daydreamer, train-of-thought, curiosity service, and inner curiosity;
  • desire generator, desire planner, desire executor, and outcome reviewer;
  • curator, training orchestrators, adapter builders, and model utilities;
  • audio organizer, voice-training helpers, and maintenance services.

Full vector-index reconciliation is core engine work admitted through the Work Coordinator, including the final Sleep Workflow stage; it is not a separate agent or scheduler.

The agency system turns memories, goals, tasks, reflections, and curiosity into supervised desires. Desires can be clarified, planned, reviewed, approved, executed through the operator/tool layer, and later promoted into proposed persona goals.

Interface And Tools

The main interface is the Astro/Svelte web app in apps/site. It provides:

  • chat, inner dialogue, voice mode, and live streaming progress;
  • memory browser, task management, agency dashboard, model/backend controls, voice workspace, and training UI;
  • flow editor for cognitive graph templates and node-based workflows;
  • audit stream, agent monitor, system status, terminal/process tools, and security policy controls.

The CLI in packages/cli exposes the same local-first system for status checks, memory capture, tasks, agents, Ollama/backend work, and operational scripts.

Architecture

This is a pnpm monorepo with a strict ownership boundary:

  • apps/*: interface shells such as the Astro/Svelte web app and maintained mobile shell.
  • packages/core: engine logic, storage, policy, memory, graph execution, model routing, training APIs, voice APIs, and shared handlers.
  • brain/*: autonomous agents, services, training jobs, and workers above the engine.
  • packages/cli: the mh command shell.
  • etc/: configuration and cognitive graph definitions.
  • docs/: user, technical, audit, and planning documentation.

For the current architecture contract, see:

Running It

For normal local use:

./start.sh

For development:

cd apps/site
pnpm dev

For startup details, see STARTUP.md. For installation, setup, usage, configuration, and troubleshooting, start with the User Guide.

Development Status

MetaHuman OS is an active research and development repo. The current work is consolidating architecture, hardening API ownership, improving autonomous workflows, expanding learning/training, and prototyping environment-mode embodiment.

Useful checks:

pnpm -s validate:graphs
pnpm -s audit:graph-executors -- --fail-on-missing
pnpm -s exec tsx scripts/check-architecture.ts --fail-on-stale-baseline
./bin/audit check

Some areas are experimental, especially agency, model training, voice systems, operator escalation, mobile parity, and environment adapters. Keep changes scoped, preserve user-data boundaries, and document meaningful behavior changes under docs/.

License

MIT. See LICENSE.

Languages

TypeScript

78.2%

Svelte

19.3%