Research / AI Systems
ANNIE V4: Building a Persistent Local AI Runtime
ANNIE V4 is a local-first AI runtime that brings persistent memory, research, project workflows, tools, and voice into one system, with an active research program in evidence-backed recursive self-improvement.
Published on
Purpose
Persistent memory, project context, and controlled tools connect AI assistance with ongoing work beyond a single conversation.
Direction
Engineering priorities include evidence-backed research, durable project execution, controlled action, and measurable recursive self-improvement.
Active Development
ANNIE V4 combines working local AI infrastructure with ongoing research in project execution and recursive self-improvement. Development proceeds through controlled testing, live verification, and measured outcomes.
Why I Started V4
Most AI products are built around a temporary interaction. A user provides a prompt, the model generates an answer, and the useful context slowly disappears as the conversation grows or the session ends. That can work for quick questions, but it is a weak foundation for long projects, continuing research, or any relationship that depends on history.
I built V4 around continuity. Project history, prior decisions, completed work, and relevant memory belong in the runtime rather than depending entirely on a model's temporary context. That requirement shaped the architecture from the beginning.
This version is also a response to the limits I found in earlier ANNIE builds. A model can sound thoughtful while lacking the right memory. It can claim that work is complete without proof. It can call a tool when conversation would have been better, or give a confident answer when fresh evidence was required. ANNIE V4 treats those problems as systems problems, not issues that can be solved by a larger prompt alone.
What ANNIE V4 Is
ANNIE V4 is a local-first AI runtime built around a language model rather than a thin interface placed in front of one. The model is still responsible for interpretation and natural responses, but it operates inside a larger environment that manages memory, projects, research, tools, background work, speech, evaluation, and controlled execution.
ANNIE is personal AI infrastructure. Conversation is the main interface, while the surrounding runtime manages state, retrieves relevant evidence, follows project context, and records completed work. Those functions connect individual interactions with a continuing body of work.
Continuity defines the assistant. Prior work, current capabilities, and the distinction between a plan and an executed result are central to its design. That makes the surrounding runtime as important as the model itself.
From Chatbot to Runtime
A chatbot mainly waits for text and returns text. A runtime coordinates multiple forms of state around the current request. Ordinary conversation, memory retrieval, research, file inspection, project planning, controlled tools, and longer-running processes each have a distinct role.
ANNIE V4 separates the visible conversation from the machinery supporting it. The conversation design prioritizes direct answers, with internal status, raw tool output, and development records kept separate for inspection. That separation is central to a coherent assistant experience.
The same principle governs failure handling. The communication standard is a clear explanation of the task impact and the next available action, with technical records available separately. Turning system state into useful information is a core design requirement of V4.
Memory Beyond Chat History
Long-term memory is one of the foundations of the project. ANNIE needs to remember personal preferences, decisions, ongoing goals, project context, corrections, failed approaches, and useful lessons without treating every old detail as equally important.
The system treats memory as a selection problem. Retrieval connects the current question with relevant history instead of placing the entire conversation archive into the model. Personal history, project knowledge, recent messages, visual material, and learned constraints serve different roles. Selecting the right context and excluding unrelated material are central evaluation criteria.
Continuity also has to survive technical interruptions. V4 records completed work and durable task state outside the model's temporary context. The model receives a bounded working view, while the larger system preserves the committed history needed to resume after a process restart or browser disconnection.
Research as a Continuing Process
ANNIE's research program connects questions, evidence, hypotheses, and evaluated experiments. Provenance matters at every stage, including prior attempts, the origin of an idea, contradictory evidence, and measured results.
V4 contains research pipelines for gathering sources, organizing papers and notes, proposing testable questions, and connecting research findings with practical experiments. Its research memory organizes relationships among ideas, prior attempts, benchmarks, failures, and successful patterns.
Generated novelty and discovery are different things. A language model can produce an interesting idea without proving that it is new, correct, or useful. ANNIE's research standard treats promising outputs as candidates for testing, with evidence determining which conclusions hold.
ANNIX and Durable Project Work
ANNIX is the project-work side of ANNIE V4. Its development focuses on project understanding, project-specific memory, planning, file inspection, and continuity across multiple stages of work.
For software work, the execution standard covers repository understanding, a narrowly scoped plan, change previews, isolated validation, rollback information, and evidence-backed reporting. Development of the same project framework extends into research, documents, creative workflows, and administrative work where the output is more than a chat response.
Resumability is a core engineering priority. Complex work rarely fits inside one interaction. ANNIX development centers on preserving milestones, progress, open questions, validation results, and the next authorized action across interruptions. The objective is continuity of the work itself, beyond a record of the conversation.
Tools Without Uncontrolled Autonomy
ANNIE can work with research tools, local files, code analysis, documents, images, project environments, and selected external systems. The important design question is not how many tools can be attached. It is whether the system knows when a tool is necessary, what authority it has, and how to prove the outcome.
Read-only inspection, planning, simulation, approval, execution, and verification are treated as different stages. A proposed action is not an executed action. A successful command is not proof that the user's objective was achieved. High-impact operations require explicit authority under the execution policy, with approval, isolated testing, and rollback evidence appropriate to their scope.
Controlled authority is an engineering requirement. The execution design centers on a defined scope, explicit permissions, and verification of the resulting state. Those controls support dependable project work as the system develops.
Voice as the Same Assistant
Speech is another major part of ANNIE V4. Voice connects to the same memory and reasoning system as text, keeping the assistant's context consistent across both interfaces.
Spoken turns return to the same conversation path used by text. The final answer is checked and sanitized before speech generation, and interruption controls allow the user to stop playback naturally. Faster voice interactions can use a smaller working context, while deeper questions retain access to the fuller reasoning and memory path.
Voice engineering focuses on local responsiveness and accurate reporting of the system's knowledge and actions. Speech uses the model's actual answer, with latency improvements evaluated against that requirement.
Learning From Failure
V4's improvement research turns failures into engineering evidence. Routing errors, weak memory choices, incomplete answers, failed tool calls, poor project results, and broken assumptions provide concrete subjects for evaluation and repair.
The improvement standard is deliberate. Observe the failure, understand it, preserve the lesson, turn it into an evaluation, propose a small repair, test that repair in isolation, and review the evidence before considering a controlled change. Post-change evaluation measures whether the original behavior improved.
ANNIE's improvement work is designed around gates, comparisons, sandboxes, regression checks, approval, rollback planning, and measured impact. These research systems evaluate proposed changes against observable results, with acceptance tied to evidence rather than the proposing model's confidence.
What RSI Means in ANNIE V4
Recursive self-improvement, or RSI, is one of ANNIE V4's central research directions. The program develops a controlled evidence loop for identifying weaknesses, proposing bounded improvements, testing candidates, and retaining changes with demonstrated value. It operates within defined authority and evaluation gates rather than granting unrestricted self-modification.
The RSI path has several distinct lanes. Reactive repair begins with a real failure and tries to prevent it from happening again. Proactive improvement looks for missing capabilities or weak areas before they become visible failures. Capability maturation takes an early idea through clearer requirements, evaluation, and repeated testing. Promotion controls whether a proven candidate is allowed to affect the working system. Impact learning then asks whether the accepted change actually helped during later use.
ANNIE's research systems support this direction by turning observations into hypotheses, hypotheses into experiments, and promising research into small prototypes that can be measured. Candidate approaches can be compared against a baseline instead of judged by how convincing their descriptions sound. Memory strategies, routing decisions, tool use, project workflows, and new capabilities can all become subjects of controlled improvement.
The recursive part uses evidence from one cycle to guide the next. The program evaluates the quality of failure detection, test coverage, repair candidates, and promotion decisions, then uses measured outcomes to inform future work. Compounding improvement is the research objective, with each gain subject to verification.
Verification, feedback, efficiency, and real-world impact all matter. A narrow test pass is insufficient when a candidate makes the larger system slower, less reliable, harder to control, or worse for the user. ANNIE's RSI program evaluates useful gains against their broader effects on the runtime.
ANNIE V4 has substantial RSI infrastructure, with several parts of the improvement chain exercised. It is a research system, not a proven self-improving general intelligence. Advanced lanes progress through guarded execution, isolated testing, and end-to-end validation before wider activation. Current work focuses on repeated, measurable improvements that preserve operator control and existing behavior.
Evidence and Reality Checks
Large AI systems can accumulate impressive architecture while still failing at ordinary tasks. ANNIE V4 includes several reality-checking layers because source code, configuration, and a passing isolated test do not automatically prove that a live user workflow works.
The project tracks whether an answer used the right memory, whether a requested action ran, whether a claim has supporting evidence, whether a task survived interruption, and whether a proposed improvement produced a measurable result. Runtime review distinguishes active work, blocked work, approval requirements, and results awaiting verification.
The development process distinguishes active runtime paths, guarded tools, research experiments, and planned capabilities. Each has a defined place in the project, with verification guiding what advances into routine use.
Practical Use Cases
The first use case is long-term project collaboration. ANNIE can hold the context surrounding a codebase, research effort, product idea, or operating plan and help continue the work without rebuilding the entire history every time.
The second is private research. A local-first system can collect questions, sources, notes, hypotheses, and experimental results while preserving the reasoning history around them. That makes it useful for technical investigation, product research, AI experiments, and other work where the process matters as much as the final answer.
The third is controlled computer work. Development in this area covers project inspection, change preparation, bounded validation, artifact creation, and coordination of selected tools and environments. Consequential operations remain gated throughout that work.
The fourth is everyday continuity. Preferences, prior decisions, open questions, and ongoing work give the assistant context beyond the latest message. Persistent memory makes that history available for later retrieval and project collaboration.
Operating Principles
ANNIE's operating principles keep generated responses grounded in the user's request and relevant memory. Background work belongs behind the conversation, and completed work requires evidence separate from a plan or a confident description.
Consequential actions require explicit authority and verification. That includes sending messages, publishing work, modifying important projects, activating new capabilities, and interacting with external systems.
These controls are part of the runtime's design. Capability development remains tied to the operator's ability to understand, inspect, and correct the work.
Engineering Priorities
ANNIE V4 spans several connected systems, making consolidation and end-to-end reliability central engineering priorities. Development focuses on clear ownership, reusable paths, and measurements of the complete user workflow.
Repeated live testing guides that work. Advanced research and improvement systems progress through read-only evaluation, shadow testing, and isolated execution, with activation tied to demonstrated value and safety. Some paths remain disabled while that evaluation continues.
Local operation makes compute, model selection, latency, storage, and maintenance part of the engineering work. The architecture assigns roles according to the capabilities and resources available on the host machine.
The Project Direction
The immediate priority is end-to-end reliability. Clear answers, relevant memory, durable records of completed work, and accurate outcome reporting define the acceptance criteria for the user experience.
Deeper project execution is the next priority. ANNIX development follows the complete task lifecycle, from initial understanding through planning, work, validation, repair, and delivery. Resumable state is a requirement throughout, with software, research, media, documents, and operations defining the expansion roadmap.
The research roadmap emphasizes testable hypotheses, bounded experiments, retained lessons from failed approaches, and measured prototypes. Evaluation covers problem formulation as well as answers, linking research quality to experimental outcomes.
Evidence-backed RSI is the longer-term improvement program. Its milestones cover recurring weakness detection, evaluation generation, candidate comparison, and verified positive impact after a change. Each milestone requires stronger evidence than code generation alone.
The product direction is private AI infrastructure for sustained work. Conversation, memory, research, projects, tools, voice, and learning share one runtime, with the human operator retaining authority over consequential decisions.
The Long View
ANNIE V4 is an ongoing engineering and research program. Models and tools evolve, while the runtime's foundations remain persistent memory, controlled execution, evidence, and operator control. Development strengthens those foundations and extends the workflows built on them.
I am building ANNIE around the accumulated history of real work. Research, project collaboration, and controlled execution share that context, and development is judged by the outcomes the system produces.
ANNIE V4 brings that work into one local-first runtime. It connects conversation, memory, research, projects, and controlled tools, with continued development focused on reliable execution and measurable improvement.