- LifeOS — Intent engineering platform and DA (Digital Assistant) system that articulates done, hill-climbs from current state to ideal state, and verifies claims via tool evidence.
- Oh-My-Pi (
omp) — High-performance agent execution harness with native tool orchestration, subagents, and extensibility. - Local inference service wrappers
submodules/agents-shared(local-router, chat, embeddings, reranking, STT, TTS, image generation) andsandbox-ctlenvironment isolation. - Arch Linux PKGBUILDs for customized local inference and agents
submodules/aur-packagesbinaries
-
Local Inference & Sandboxing (
submodules/agents-shared/):local-routeron port:21080(OpenAI-compatible unified router for chat, embedding, rerank, vision, stt, tts, imagegen).sandbox-ctlscript for bubblewrap / systemd cgroup sandboxing and launcher generation usingomp.env.
-
Agent Harness (
omp/agent/):- Base configuration (
config.yml,models.yml,lsp.json). - Specialist agent roster (
agents/orchestrator.md,scout.md,debugger.md,reviewer.md,security-reviewer.md,task.md,writer.md,patcher.md,librarian.md,designer.md). - Engineering skills (
systematic-debugging,review-work,lilac,archlinux-pkgbuild,system-prompts), MCP-backed tool-command skills (arborcode-graph intelligence,openadaptbrowser verification), thegermanlanguage-style skill, and plugin bundles (diagram-design-plugin,modern-web-guidance-plugin). - Claude Code hooks bridge extension (
extensions/OmpHooksBridge.ts).
- Base configuration (
-
LifeOS Integration (
~/.omp/LIFEOSvia~/.claudesymlink):- Primary immediate engineering effort: layering LifeOS into OMP (basically working, actively undergoing adjustments).
- Private data repo of record in
~/agent-private/lifeos(v8 layout:USER/withMEMORY/under it, single-fileTELOS.md;LIFEOS_CONFIG_DIRexported by the launcher). - Pulse dashboard on port
:31337, supervised as the primary service of the systemd user unit~/.config/systemd/user/omp.service(LAUNCHER_SERVICE_CMDinomp.env; periodic jobs run as[[job]]entries inUSER/CONFIG/PULSE.user.tomlor viabin/lifeos-workflows-tick.ts). OmpHooksBridge.tstranslating Claude Code hook events (SessionStart,UserPromptSubmit,PreToolUse,PostToolUse/PostToolUseFailure,Stop,SessionEnd,PermissionRequest) for OMP, with incremental transcript mirroring under~/.claude/lifeos-bridge-transcripts/and live per-sessionsession_idisolation.- Utility inference compatibility via
bin/claude-shim.py(documented indocs/LIFEOS_OMP_ARCHITECTURE.md).
- OS: Arch Linux (or Arch-based distribution like Manjaro / CachyOS).
- Hardware: AMD GPU with ROCm/HIP support (or CUDA / CPU fallback).
- Tooling:
git,python3,uvpackage manager,bun,curl, GNUmake.
git clone --recursive https://github.com/wuxxin/mypai.git
cd mypai- install arch and aur packages, build local packages
./submodules/agents-shared/scripts/local-download.sh /data/public/machine-learning/models --all./submodules/agents-shared/assistants/local-inference.sh install --new-config./submodules/agents-shared/scripts/sandbox-ctl install omp --no-start --new-config-from ./Deploy the LifeOS distribution payload per docs/LIFEOS_UPGRADE_RUNBOOK.md (staged release tarball → install/install.sh bootstrap → bun Tools/InstallAll.ts --yes ... overlay → data-home re-link via LinkUser.ts/ScaffoldUser.ts/Migrate.ts). The omp profile + hooks bridge (OmpHooksBridge.ts) deploy through the sandboxed install hooks:
./submodules/agents-shared/scripts/sandbox-ctl install --new-config-from . # run from this repo rootHeadless bridge verification afterwards: make bridge-test / make bridge-smoke.
lifeos # bin/lifeos: exports OMP_VOICE/LIFEOS_DIR/LIFEOS_CWD/LIFEOS_CONFIG_DIR, execs omp --cwd ~/agent-private/lifeos
# with the concatenated LifeOS system prompt + LIFEOS_OMP_APPEND_SYSTEM.md contract (when present)To perform research or execute tasks without recording shell command history, interactive prompt history, or session transcripts:
| Layer | Persistent Location | Countermeasure |
|---|---|---|
| Shell Command History | ~/.bash_history / ~/.zsh_history |
Leading space + HISTFILE=/dev/null |
| Interactive Prompt History | ~/.omp/agent/history.db & cache/composer.db |
Point PI_CODING_AGENT_DIR to ramdisk / temp directory |
| Session Transcripts | ~/.omp/agent/sessions/ (session.jsonl) |
--no-session CLI flag |
bin/ephemeral-omp and bin/ephemeral-lifeos (copied to ~/.local/bin/ by omp.env) automate ephemeral containment:
- Sets
HISTFILE=/dev/null - Allocates an isolated scratch directory in
/tmpforPI_CODING_AGENT_DIR - Symlinks static configs (
config.yml,models.yml,lsp.json,mcp.json,extensions/,skills/,tools/,commands/,prompts/,APPEND_SYSTEM.md,RULES.md) so existing models, tools, and append instructions remain fully active - Passes
--no-session,--no-title,--no-judge(judge calls would steal router slots from the main loop), and--no-spotlight(remote output-shaping aux service; nothing consumes shaped results in a one-shot run) - Displays the
⚡ EPHEMERALstatusline badge andephemeralsession tag viaOMP_EPHEMERAL=1 - Unlinks and removes all traces from
/tmpon exit (even in hotshell or real host/tmp)
# General ephemeral research session:
ephemeral-omp
# One-shot non-interactive research query:
ephemeral-omp -p "Analyze kernel seccomp filters for bwrap nesting"
# Ephemeral LifeOS session:
ephemeral-lifeos(Note: The leading space prevents the invocation command from being recorded in shell history).
To invoke sandboxed utilities seamlessly from the host outside the sandbox without relying on shell aliases (ensuring they work in scripts, subshells, desktop launchers, and terminal multiplexers):
cat << 'EOF' > ~/.local/bin/sandboxed-omp
#!/usr/bin/env bash
set -euo pipefail
cmd="$(basename "$0")"
if [[ "$cmd" == "sandboxed-omp" ]]; then
if [[ $# -eq 0 ]]; then
exec sandbox-ctl run omp omp
fi
cmd="$1"
shift
fi
target_bin="$HOME/.local/bin/$cmd"
if [[ "$cmd" == "omp" ]]; then
target_bin="omp"
fi
exec sandbox-ctl run omp "$target_bin" "$@"
EOF
chmod +x ~/.local/bin/sandboxed-omp(Also available directly in the repository at bin/sandboxed-omp).
ln -sf ~/.local/bin/sandboxed-omp ~/.local/bin/lifeos
ln -sf ~/.local/bin/sandboxed-omp ~/.local/bin/ephemeral-omp
ln -sf ~/.local/bin/sandboxed-omp ~/.local/bin/ephemeral-lifeosWhen any of lifeos, ephemeral-omp, or ephemeral-lifeos is called on the host, the symlink dispatches to sandboxed-omp, which dynamically routes to $HOME/.local/bin/<cmd> inside the sandbox with full environment isolation.
Build locally with make docs (MkDocs Material, mkdocs.yml) or browse directly in docs/:
AGENTS.md— System realities, agent operating guidelines, and code style.docs/USAGE.md— Operational guide, repo layout, agent roster, skills, and slash commands.docs/HOST_TOPOLOGY.md— Linux host topology, data-home contract, canonical port map, VRAM allocation map, Pulse jobs &lifeos-workflows-tick.docs/LIFEOS_OMP_ARCHITECTURE.md— LifeOS-on-OMP architecture,OmpHooksBridge.ts,claude-shim.py, guard enforcement, web verification, and upgrade history.docs/LIFEOS_UPGRADE_RUNBOOK.md— Step-by-step LifeOS payload upgrade procedure and overlay diffing.docs/OMP_RUNTIME.md—omp19.1.1+ runtime configuration, prompt assembly,evalloopback bridge,omp_rpcPython SDK, Mnemopi memory, and retired Hindsight fallback.docs/TODO.md— Research backlog, candidate models, MCP servers, and skills.