<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: badjoke-lab</title>
    <description>The latest articles on DEV Community by badjoke-lab (@badjoke-lab).</description>
    <link>https://dev.to/badjoke-lab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F13717%2F36079bc2-ab52-4f41-8e5c-6fd32615b6a9.png</url>
      <title>DEV Community: badjoke-lab</title>
      <link>https://dev.to/badjoke-lab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/badjoke-lab"/>
    <language>en</language>
    <item>
      <title>Why I’m Building “doll”: A Personal AI Continuity System</title>
      <dc:creator>Sohachi</dc:creator>
      <pubDate>Fri, 19 Jun 2026 15:58:36 +0000</pubDate>
      <link>https://dev.to/badjoke-lab/why-im-building-doll-a-personal-ai-continuity-system-1a1c</link>
      <guid>https://dev.to/badjoke-lab/why-im-building-doll-a-personal-ai-continuity-system-1a1c</guid>
      <description>&lt;p&gt;High-performance AI is available to far more people than it used to be.&lt;/p&gt;

&lt;p&gt;But there is no guarantee that access will continue under the same conditions.&lt;/p&gt;

&lt;p&gt;Prices may change. Usage limits may become more restrictive. Models may be discontinued. Accounts, regional restrictions, regulation, provider policies, or service shutdowns may make an AI system unavailable even if it worked the day before.&lt;/p&gt;

&lt;p&gt;This is not an argument about whether any particular company should or should not be trusted.&lt;/p&gt;

&lt;p&gt;The problem is that the continuity of a personal AI environment currently depends on conditions the user does not control.&lt;/p&gt;

&lt;p&gt;That is why I started building &lt;strong&gt;"doll"&lt;/strong&gt;, an open-source personal AI continuity system.&lt;/p&gt;

&lt;p&gt;doll is not a new foundation model. Nor is it intended to replace model runners or interfaces such as Ollama, llama.cpp, Open WebUI, or LM Studio.&lt;/p&gt;

&lt;p&gt;Its purpose is to preserve the parts of a personal AI environment that should remain usable even when models, providers, applications, runtimes, interfaces, or machines change or disappear.&lt;/p&gt;

&lt;h2&gt;
  
  
  The model should not be the durable core
&lt;/h2&gt;

&lt;p&gt;AI systems are often described as though the model were the center of everything.&lt;/p&gt;

&lt;p&gt;But the model itself is not necessarily the part a person most needs to preserve.&lt;/p&gt;

&lt;p&gt;The durable parts may include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory and long-term state;&lt;/li&gt;
&lt;li&gt;preferences, policies, and permissions;&lt;/li&gt;
&lt;li&gt;conversations and their provenance;&lt;/li&gt;
&lt;li&gt;documents, research records, claims, evidence, and sources;&lt;/li&gt;
&lt;li&gt;generated artifacts and project history;&lt;/li&gt;
&lt;li&gt;model and runtime manifests;&lt;/li&gt;
&lt;li&gt;import, export, backup, restore, and migration records;&lt;/li&gt;
&lt;li&gt;explicit records of information that could not be transferred.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Models can be replaced.&lt;/p&gt;

&lt;p&gt;A more capable model may become available. A provider may retire an older one. A user may need to move to a smaller local model because the available hardware has changed.&lt;/p&gt;

&lt;p&gt;Changing the model should not automatically mean losing the state the user has accumulated.&lt;/p&gt;

&lt;p&gt;The central idea behind doll is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Models are replaceable reasoning engines. The user's state is the durable core.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Local AI alone does not solve continuity
&lt;/h2&gt;

&lt;p&gt;Running a model locally is an important way to reduce external dependency.&lt;/p&gt;

&lt;p&gt;A local model may remain usable when a cloud service is unavailable. It can eliminate ongoing API costs and allow data to remain on hardware controlled by the user.&lt;/p&gt;

&lt;p&gt;But local execution alone does not guarantee continuity.&lt;/p&gt;

&lt;p&gt;What happens if conversations and memory are stored inside an application-specific database belonging to a single local AI application?&lt;/p&gt;

&lt;p&gt;What happens if that application is no longer maintained, changes its storage format, stops working on a new operating system, or cannot be moved to another machine?&lt;/p&gt;

&lt;p&gt;A local application can become another form of lock-in.&lt;/p&gt;

&lt;p&gt;For this reason, doll does not treat the format of ChatGPT, an OpenAI-compatible API, Ollama, Open WebUI, or any other provider, runtime, or interface as the canonical representation of user state.&lt;/p&gt;

&lt;p&gt;Data imported from another AI environment must be mapped into a documented and inspectable representation.&lt;/p&gt;

&lt;p&gt;The result of that mapping must also be honest about loss.&lt;/p&gt;

&lt;p&gt;An import or export may be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;full;&lt;/li&gt;
&lt;li&gt;partial;&lt;/li&gt;
&lt;li&gt;transformed;&lt;/li&gt;
&lt;li&gt;unsupported;&lt;/li&gt;
&lt;li&gt;lossy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Information that cannot be transferred should not silently disappear.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local-complete, cloud-optional
&lt;/h2&gt;

&lt;p&gt;One of doll's governing principles is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Local-complete, cloud-optional.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The local system should remain useful without API keys, account registration, or a permanent internet connection.&lt;/p&gt;

&lt;p&gt;Cloud models may eventually be used as optional performance extensions. In many cases, they will be more capable than the models a user can run locally.&lt;/p&gt;

&lt;p&gt;But a cloud service must not become the source of truth for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory;&lt;/li&gt;
&lt;li&gt;identity;&lt;/li&gt;
&lt;li&gt;files;&lt;/li&gt;
&lt;li&gt;permissions;&lt;/li&gt;
&lt;li&gt;portability;&lt;/li&gt;
&lt;li&gt;backups;&lt;/li&gt;
&lt;li&gt;recovery information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Losing access to the cloud may reduce performance.&lt;/p&gt;

&lt;p&gt;It should not erase the user's state or remove the path to recovery.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why doll does not have a connected model yet
&lt;/h2&gt;

&lt;p&gt;At the time of writing, doll is &lt;strong&gt;pre-alpha&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;No model runtime is connected yet, and it is not a daily-use AI assistant.&lt;/p&gt;

&lt;p&gt;That is intentional.&lt;/p&gt;

&lt;p&gt;Many AI projects begin by connecting a model and building a chat interface. doll is taking a different path because the boundaries a model must not cross need to be defined and enforced before the model is introduced.&lt;/p&gt;

&lt;p&gt;The model-independent foundation currently being built includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;separating ordinary memory from secrets;&lt;/li&gt;
&lt;li&gt;preventing secrets from leaking through logs, exports, backups, test fixtures, or diagnostics;&lt;/li&gt;
&lt;li&gt;storing references to secrets rather than secret values in ordinary state;&lt;/li&gt;
&lt;li&gt;performing bounded, credential-backed operations without exposing stored credentials to a model;&lt;/li&gt;
&lt;li&gt;distinguishing confirmed facts, claims, evidence, and inferences;&lt;/li&gt;
&lt;li&gt;recording the origin of information and instructions;&lt;/li&gt;
&lt;li&gt;treating retrieved pages, documents, tool results, and imported data as data rather than authority;&lt;/li&gt;
&lt;li&gt;granting external capabilities explicitly and within defined limits;&lt;/li&gt;
&lt;li&gt;requiring fresh user confirmation for high-risk operations;&lt;/li&gt;
&lt;li&gt;preserving the last known good state when an operation fails.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A model is not automatically trustworthy simply because it runs locally.&lt;/p&gt;

&lt;p&gt;Local applications, plugins, imported conversations, documents, search results, and tool output must not gain authority merely because they have been placed into a model's context.&lt;/p&gt;

&lt;p&gt;Adding these controls only after connecting a model would risk turning them into secondary protections around a system whose authority model was never clearly defined.&lt;/p&gt;

&lt;p&gt;doll is therefore building the boundary first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What doll is not
&lt;/h2&gt;

&lt;p&gt;doll is not intended to be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;another model runner;&lt;/li&gt;
&lt;li&gt;a clone of an existing local AI interface;&lt;/li&gt;
&lt;li&gt;a cloud-dependent assistant;&lt;/li&gt;
&lt;li&gt;an unrestricted autonomous computer-control agent;&lt;/li&gt;
&lt;li&gt;a credential database embedded in ordinary AI state;&lt;/li&gt;
&lt;li&gt;a guarantee of permanent frontier-model performance;&lt;/li&gt;
&lt;li&gt;a claim that different models will behave identically;&lt;/li&gt;
&lt;li&gt;a promise of universal, lossless migration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Moving to another model may change response quality, behavior, personality, or reasoning ability.&lt;/p&gt;

&lt;p&gt;Moving to less capable hardware may reduce what the system can do.&lt;/p&gt;

&lt;p&gt;Continuity does not mean that performance never changes.&lt;/p&gt;

&lt;p&gt;It means preserving what should survive those changes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;user-owned state;&lt;/li&gt;
&lt;li&gt;provenance;&lt;/li&gt;
&lt;li&gt;permissions and safety boundaries;&lt;/li&gt;
&lt;li&gt;visible migration loss;&lt;/li&gt;
&lt;li&gt;backups;&lt;/li&gt;
&lt;li&gt;recovery procedures;&lt;/li&gt;
&lt;li&gt;a documented path to another environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Current status
&lt;/h2&gt;

&lt;p&gt;doll is not a finished product.&lt;/p&gt;

&lt;p&gt;It cannot yet be installed and used as a complete personal AI assistant.&lt;/p&gt;

&lt;p&gt;The current focus is on establishing model-independent state management, transfer, backup, restoration, portability, and safety boundaries before local model integration begins.&lt;/p&gt;

&lt;p&gt;Development is divided into small specifications, issues, branches, and pull requests.&lt;/p&gt;

&lt;p&gt;The repository records not only what has been implemented, but also the reasoning behind the implementation order, its acceptance requirements, and the expected recovery behavior when something fails.&lt;/p&gt;

&lt;p&gt;Project website:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://doll.badjoke-lab.com/" rel="noopener noreferrer"&gt;https://doll.badjoke-lab.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Source code, specifications, architecture decision records, and implementation history:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/badjoke-lab/doll" rel="noopener noreferrer"&gt;https://github.com/badjoke-lab/doll&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would like criticism on
&lt;/h2&gt;

&lt;p&gt;The goal at this stage is not to attract a large number of users.&lt;/p&gt;

&lt;p&gt;Right now, criticism of the design is more useful than promotion.&lt;/p&gt;

&lt;p&gt;I am particularly interested in questions such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Where should canonical user state end and model-specific state begin?&lt;/li&gt;
&lt;li&gt;What information is inevitably lost when moving between AI environments?&lt;/li&gt;
&lt;li&gt;How much provenance can realistically be preserved?&lt;/li&gt;
&lt;li&gt;Does the proposed separation between secrets, ordinary state, and model access contain hidden weaknesses?&lt;/li&gt;
&lt;li&gt;Can the system actually recover when an application, runtime, model, or primary machine disappears?&lt;/li&gt;
&lt;li&gt;Could doll itself become a new form of lock-in?&lt;/li&gt;
&lt;li&gt;Does the claim of being locally complete still depend on assumptions or external components that have not yet been recognized?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would also like to learn about existing standards, projects, research, and documented failures that address the same problems.&lt;/p&gt;

&lt;p&gt;doll is still at an early stage.&lt;/p&gt;

&lt;p&gt;That is precisely why I want to define what must survive, what should remain replaceable, and where authority must stop before presenting it as a finished AI system.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: This article was prepared with AI assistance and was reviewed, edited, and approved by the project maintainer.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>localfirst</category>
      <category>architecture</category>
      <category>security</category>
    </item>
  </channel>
</rss>
