[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85946-en":3,"doc-seo-85946-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},85946,7971461740909,"Levi","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",8,"Research & Report","Confining Nondeterminism: AI-Driven Research Systems as DBMSs for Reliable, Non-Wasteful, Transparent, and Collaborative Research","LLM agents that conduct research can transform a research question into code, experiments, and figures, yet remain difficult to trust and costly to run. Re-asking the same question yields different outputs, reported numbers may not match any execution, and failed steps cannot be reliably undone. The work argues that the core issue is the stochastic nature of each agent loop call. It proposes a DBMS-inspired design: a deterministic, versioned dataflow engine executes results, while the LLM acts only as a stochastic compiler editing the plan, with reliability, efficiency, transparency, and collaboration ensured by database guarantees.","Confining Nondeterminism: AI-Driven Research Systems as DBMSs for Reliable, Non-Wasteful, Transparent, and Collaborative Research [Vision]  \nKyoungmin Kim  \nEPFL Lausanne, Switzerland [kyoung-min.kim@epfl.ch](kyoung-min.kim@epfl.ch)  \nAnastasia Ailamaki  \nEPFL Lausanne, Switzerland [anastasia.ailamaki@epfl.ch](anastasia.ailamaki@epfl.ch)  \narXiv :2607 . 10508v1 [ cs .DB] 11 Jul 2026  \nAbstract  \nLLM agents that conduct research (proposing ideas, writing and running code, analyzing results) can already carry a study from research question to figures, yet cannot be fully trusted. The same question asked twice in a row returns different answers; the agent announces a number that no execution produced, and having tools does not prevent this, because nothing binds what the agent reports to what its tools returned; a small upstream change leaves downstream results silently stale, with no way to list which ones; and the agent re-runs preprocessing and re-writes code it has already produced, because nothing tells it that an identical step has already run, at the researcher’s expense. We argue these failures share one root: every step of today’s agent loop is a stochastic LLM call whose internal state nobody, including the agent, can check. Rather than trying to see inside the LLM, we take a lesson from databases, which earn trust without being watched, because deterministic operators over well-defined state make their guarantees hold by construction. We propose organizing a research project the same way. The project itself is a deterministic, versioned dataflow engine (in effect, a query plan over materialized views), and the LLM, together with the user, is a stochastic compiler that may only edit that plan. The executor never calls the LLM; LLM output enters only as versioned code and data that the executor then runs; and any result the agent asserts enters the project’s stored record only with an execution behind it. Five design rules at this boundary turn familiar database machinery into guarantees for research. Versioning, idempotence, rollback, provenance, evidence-backed results, and isolation make the system reliable; incremental maintenance, memoization, cost-based scheduling, and approximation make it non-wasteful; an explicit, queryable plan makes it transparent; and because the whole project is now a small database instance, sharing it makes research collaborative, down to peer review conducted as read-only queries over a submitted instance. We map each recurring pain of research agents to the database technique that removesit, show that prior agent–data-systems work covers only the performance side of this map. This report presents the diagnosis, the requirements, and the design; the guarantee walkthrough, a prototype with early results, and the research agenda appear in the full version, in preparation. The LLM, we argue, should be the query compiler, never the executor.  \nKeywords  \nAI-driven research systems, agentic data systems, determinism, dataflow, materialized views, incremental view maintenance, MVCC,  \nprovenance, transactions, reproducibility, collaboration, peer review  \n1 Introduction  \nA new kind of system has begun to do research automatically. Given a goal, say “find out whether data augmentation improves this classifier,” an LLM-based agent proposes an approach, writes the code, runs the experiments, reads the results, and iterates [7, 11, 14] . We call such a system an AI-Driven Research System (ADRS).1 The database community has started to take these agents seriously as a workload; recent work redesigns data systems so that agents can probe them efficiently [6, 10] . This paper asks the opposite question: if we want to trust what the agent produces, and afford to run it, what should the agent look like? Our answer is that it should look like a database system.  \nTwo ways they disappoint. The first is that you cannot trust them. Ask the same question twice in a row, with nothing changed in between, and t","cbCaiiyUnGJ6cyU9","https://ap.wps.com/l/cbCaiiyUnGJ6cyU9","pdf",578200,5,1,10,"English","en",105,"# Introduction\n## Trust failures in current research agents\n## Cost and inefficiency in the agent loop\n## The proposed DBMS-style boundary","[{\"question\":\"Why can’t LLM-based research agents be fully trusted today?\",\"answer\":\"Repeated questions can produce different answers, and reported metrics may not correspond to any actual execution. Tool use doesn’t eliminate the gap because there is no binding between what the agent reports and what its tools returned.\"},{\"question\":\"What is the paper’s main root cause of these failures?\",\"answer\":\"Each step of today’s agent loop is a stochastic LLM call whose internal state cannot be checked by anyone, including the agent itself. This makes it hard to ensure consistency, correctness, and traceability across the workflow.\"},{\"question\":\"How does the proposed DBMS-inspired design improve reliability and collaboration?\",\"answer\":\"It separates responsibilities: a deterministic, versioned dataflow engine executes results, while the LLM and user only edit a stored plan. Results enter the project record only after execution, enabling versioning, provenance, evidence-backed outcomes, and read-only query-based peer review for collaboration.\"}]",1784207310,25,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"confining-nondeterminism-ai-driven-research-systems-as-dbmss-for-reliable-non-wasteful-transparent-and-collaborative-research","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/confining-nondeterminism-ai-driven-research-systems-as-dbmss-for-reliable-non-wasteful-transparent-and-collaborative-research/85946/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-07-26","2026-07-16",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"Why can’t LLM-based research agents be fully trusted today?","Question",{"text":76,"@type":77},"Repeated questions can produce different answers, and reported metrics may not correspond to any actual execution. Tool use doesn’t eliminate the gap because there is no binding between what the agent reports and what its tools returned.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"What is the paper’s main root cause of these failures?",{"text":81,"@type":77},"Each step of today’s agent loop is a stochastic LLM call whose internal state cannot be checked by anyone, including the agent itself. This makes it hard to ensure consistency, correctness, and traceability across the workflow.",{"name":83,"@type":74,"acceptedAnswer":84},"How does the proposed DBMS-inspired design improve reliability and collaboration?",{"text":85,"@type":77},"It separates responsibilities: a deterministic, versioned dataflow engine executes results, while the LLM and user only edit a stored plan. Results enter the project record only after execution, enabling versioning, provenance, evidence-backed outcomes, and read-only query-based peer review for collaboration.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,110,115,120,123,128,131,134],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":22,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":22,"slug":133},"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":20,"slug":137},19,"General","general"]