- Causal Dynamics Lab Launches AI Coding Safety Layer to Cut Wrong-File Edits and Compute Costs
Causal Dynamics Lab has launched a new AI coding product, Cielara Code, after publishing research suggesting that current AI coding agents spend most of their time searching through files rather than editing code.
The San Francisco-based company said its research found that coding agents spend more than 80 per cent of their activity reading files or using search tools such as grep, while less than 1 per cent of their actions involve actual code edits.
According to Causal Dynamics Lab, the problem is not that AI agents cannot write code, but that they often struggle to identify the correct files and locations that need to be changed in complex software systems.
The company said its new product, Cielara Code, addresses this weakness by building a structured map of production software, allowing coding agents to understand relationships between files, functions, systems and runtime behaviour before making changes.
“Every coding agent out there today uses grep, which is like a surgeon operating without imaging,” said Hasibul Haque, Chief Executive Officer of Causal Dynamics Lab. “We created Cielara Code to help agents see better: it provides a clear understanding of the working environment, making the reasons behind each change clear and verifiable.”
Causal Dynamics Lab said it tracked thousands of coding sessions and found that 56.8 per cent of agent actions involved reading files, while 24.2 per cent involved grep. The challenge became more severe as tasks grew more complex. When a correct fix required changes across more than six files, agents’ ability to recall the necessary information dropped significantly, while compute used in failed attempts rose by a factor of four compared with successful attempts.
The company said this is contributing to a growing operational risk in enterprise software development, where AI tools can produce code quickly but engineering teams struggle to verify how that code will behave in production environments.
The release also referenced concerns raised in the 2025 DORA report, which it said showed that the use of AI coding tools led to a 7.2 per cent decline in deployment stability. It further cited AWS Chief Technology Officer Werner Vogels’ description of the problem as “dynamic verification debt.”
Cielara Code is designed as a safety layer for AI coding agents rather than a replacement for them. The system uses what the company describes as a six-layer causal graph of a customer’s production environment. This graph captures what the code does, why it was created, who owns it, its limitations, where it runs and what happens at runtime.
Before an AI agent begins exploring a codebase, Cielara Code builds a Code Dependency Causal Graph that tracks relationships within the software environment, enabling the agent to navigate system structure rather than search files one by one.
In benchmark tests cited by the company, Cielara Code recorded overall localisation accuracy of 0.774, compared with 0.738 for Claude Code using Opus-4.6 and 0.707 for OpenAI Codex using GPT-5.4. On MULocBench, which covers 1,033 issues across 46 repositories, Cielara reached 0.752 recall at five, compared with 0.727 for Claude Code, while reducing mean task time from 141.84 seconds to 128.62 seconds.
The company said the result is fewer wrong-file edits, fewer failed runs and 30 to 40 per cent lower compute cost per task.
Cielara Code is powered by REASONARA, a graph-structured causal memory layer that the company says stores more than 125 million tokens of effective context but retrieves only the information required for each query. A typical lookup uses 1,000 to 2,500 tokens, compared with 23,000 to 115,000 tokens for full-context approaches, representing a reduction of up to 98 per cent.
Causal Dynamics Lab said REASONARA has scored 94 per cent on UltraDomain, 92 per cent on LoCoMo, 73 per cent on LoCoMo-plus and 87.4 per cent on LongMemEval, while running five to eight times faster than Codex high-reasoning mode. The company said its roadmap targets a one-billion-token context window.
The company said Cielara Code is currently being used by 11 Fortune 100 companies and more than 40 Fortune 500 companies on their codebases.
A Chief Information Security Officer at one of the largest law firms in the United States, who is also a Cielara Code customer, said board members and auditors increasingly expect proactive risk management as AI and automation accelerate software deployment.
“Leaders now want proof that security can anticipate risks caused by fast-moving AI and automation, instead of just reacting after incidents,” the customer said.
Phillip Miller, Vice President and Global Chief Information Security Officer at H&R Block, described Cielara’s technology as “a generational leap” toward using AI to tackle complexity continuously with acquired knowledge, deep reasoning and accuracy.
For enterprise technology leaders, the product speaks to a central concern in the current AI coding boom: speed has improved dramatically, but verification, governance and accountability remain unresolved.
Causal Dynamics Lab is positioning its technology as a response to that gap. By mapping how code, infrastructure, policy and runtime behaviour interact, the company aims to give AI agents a reasoning layer that can assess likely production consequences before changes are made.
The company’s leadership includes Mr Haque, who previously led platform engineering at Uber during its rapid growth; Chief Technology Officer Ryan Turner, a former Staff Engineer at Uber; and research leaders Dr Xuchao Zhang, formerly of Microsoft Research, and Dr Liang Zhao of Emory University.
Causal Dynamics Lab said Cielara Code and REASONARA are the first products built on its broader Production World Model, which is intended eventually to simulate the effects of changes in code, infrastructure, policy and operations before those changes affect production systems.
