Three main additions I wanted:
1. Persistent Domain Memory
Claude Code starts fresh each session. I wanted an environment that remembers domain-specific patterns. LLMos adds a three-volume system
(System/Team/User) where successful workflows automatically become reusable skills. Work on quantum chemistry for a week, and the system
learns molecular Hamiltonians, ansatz selection heuristics, convergence criteria—domain fluency that compounds over time.
2. Self-Improving Sub-Agents
Claude Code has great tool use, but I wanted agents that could observe and improve themselves. LLMos agents literally rewrite their own
code based on what works. Example: A circuit optimizer starts basic, but after 50+ sessions, it's learned adaptive gradient descent, smart
initialization, and error mitigation strategies—all from watching successful runs.
3. Client-Side Code Execution
Claude Code writes files but doesn't run them directly. I added Pyodide for browser-based Python execution with live preview. Edit code →
auto-run → see matplotlib plots/quantum circuits in <1 second. No deployment, just pure flow state for scientific computing.
Current focus: Quantum computing (VQE, QAOA, quantum chemistry) because it's a perfect test bed—rapidly evolving field, requires deep
domain expertise, complex workflows, high-value automation.
The "evolving OS" concept: Instead of a static tool, what if your development environment learned your field, extracted patterns into
reusable skills, and improved its agents based on what actually works in practice?
Technical: Next.js + Pyodide + Qiskit + OpenRouter. All volumes are Git repos (preserving Claude Code's file-first philosophy). Code
execution is 100% client-side.
GitHub: https://github.com/agustinazwiener/evolving-agents-labs/tree/main/llmunix
Obviously this is rough/experimental—missing lots of polish, limited to Python, quantum-focused. But I'm curious:
- Would persistent domain memory be useful in Claude Code itself?
- Are self-modifying agents too weird, or genuinely helpful?
- Is browser-based execution worth the complexity for scientific/research workflows?
Feedback welcome, especially from Claude Code users or anyone working in specialized technical domains. I've been thinking about what an "operating system" for LLMs would look like. Not an agent framework – an actual OS with
memory hierarchies, execution modes, and something I'm calling a "Sentience Layer."
LLM OS v3.4.0 is my attempt. It's incomplete and probably over-ambitious, but the architecture is interesting:
Four-Layer Stack:
- Sentience Layer – Persistent internal state (valence variables: safety, curiosity, energy, confidence) that influences
behavior. The system develops "moods" based on task outcomes.
- Learning Layer – Five execution modes (CRYSTALLIZED → FOLLOWER → MIXED → LEARNER → ORCHESTRATOR) based on semantic trace
matching
- Execution Layer – Programmatic Tool Calling for 90%+ token savings on repeated patterns
- Self-Modification Layer – System writes its own agents (Markdown) and crystallizes patterns into Python
What makes it different:
- Agents are Markdown files the LLM can edit (hot-reloadable, no restart)
- Traces store full tool calls for zero-context replay
- Repeated patterns become pure Python (truly $0 cost)
- Internal state persists across sessions and influences mode selection
Working examples:
- Quantum computing IDE backend (Qiskit Studio)
- Educational platform for kids (Q-Kids Studio)
- Robot control with safety hooks (RoboOS)
Is it production-ready? No. Will it work as envisioned? I'm figuring that out. But the ideas feel right, and building it is
genuinely fun.
GitHub: https://github.com/EvolvingAgentsLabs/llm-os
Looking for feedback on the architecture, collaboration on making it actually work, and honest criticism. What's missing?
What's overengineered? What would you want from an LLM OS? We made LLMunix - an experimental system where you define AI agents in markdown once, then a local model executes them. No API calls after setup.
The strange part: it also generates mobile apps. Some are tiny, some bundle local LLMs for offline reasoning. They run completely on-device.
Everything is pure markdown specs. The "OS" boots when an LLM runtime reads the files and interprets them.
Still figuring out where this breaks. Edge models are less accurate. Apps with local AI are 600MB+. Probably lots of edge cases we haven't hit.
But the idea is interesting: what if workflows could learn and improve locally? What if apps reasoned on your device instead of the cloud?
Try it if you're curious. Break it if you can. Genuinely want to know what we're missing.
What would you build with fully offline AI?