惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
IT之家
IT之家
V
Visual Studio Blog
The Cloudflare Blog
博客园 - 司徒正美
Jina AI
Jina AI
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
S
SegmentFault 最新的问题
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
博客园 - Franky
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why I Built the "Infrastructure Layer" Under Every AI Cod...
Rakshit · 2026-05-27 · via DEV Community

Rakshit

AI Coding Agents Still Forget Everything — So I Built the Memory Layer Underneath Them

AI coding agents are getting very good at editing files, running tests, and opening PRs.

After heavily using tools like Cursor, Claude Code, and GitHub Copilot, I noticed they all share the same core limitation:

They have no persistent understanding of your system.

Ask the same question next week and they:

  • re-read the repo from scratch
  • re-run expensive LLM calls
  • forget prior incidents
  • lose architectural context
  • and still don’t know what actually happened in production

So instead of building another coding agent, I built the layer underneath them.

Introducing ASIL

ASIL (Engineering Intelligence Infrastructure) is a persistent, temporal, causal knowledge graph for software systems.

It connects:

  • code
  • commits
  • deployments
  • incidents
  • logs
  • metrics
  • architecture drift
  • AI memory

into one queryable system that any AI agent can access through MCP.

The goal is simple:

Stop making AI agents rediscover the same engineering knowledge over and over again.


The Core Idea

Most coding agents understand:

  • the current codebase

ASIL understands:

  • how the system evolved
  • what changed
  • what broke
  • why it broke
  • and what evidence supports that conclusion

Instead of:

“GPT thinks this caused the outage”

ASIL derives causal chains from observable system state:

  • deployment timelines
  • incident timestamps
  • metric shifts
  • runtime dependencies
  • postmortems
  • service relationships

Every conclusion includes:

  • evidence
  • confidence scores
  • derivation chains
  • citations

No black-box “AI intuition.”


What ASIL Can Do

Ask Questions About a Repo

uv run asil ask "How does auth work in this repo?"

Enter fullscreen mode Exit fullscreen mode

ASIL combines:

  • graph retrieval
  • vector search
  • verifier passes
  • episodic memory

to return:

  • cited answers
  • confidence scoring
  • cached reasoning for future sessions

Replay Production Incidents

uv run asil replay INC-2026-04-12

Enter fullscreen mode Exit fullscreen mode

ASIL reconstructs:

  • deployment timelines
  • causal chains
  • affected services
  • architecture drift
  • metric changes

as a dependency-aware replay graph.

Think:

Time-travel debugging for distributed systems.


Detect Architecture Drift

uv run asil drift report

Enter fullscreen mode Exit fullscreen mode

ASIL learns expected dependency boundaries and flags:

  • undocumented coupling
  • boundary violations
  • dependency creep

before the PR merges.


Work With Any Coding Agent

ASIL exposes 13 MCP tools usable from:

  • Cursor
  • Claude Code
  • OpenHands
  • Aider
  • or custom agents

The agents become clients of the intelligence layer.


The Unexpected Benefit: Massive LLM Cost Reduction

ASIL stores every verified engineering conclusion in persistent memory.

When someone asks a semantically similar question later, ASIL can reuse the prior verified reasoning instead of re-running the full LLM pipeline.

On cache hits, the cost drops close to:

just the embedding lookup

Repeated engineering queries become dramatically cheaper over time — especially across teams.


The Part I Care About Most

ASIL does not let the LLM invent causality.

That rule shapes the entire architecture.

Causal links come from deterministic signals:

  • temporal proximity
  • lagged correlation
  • explicit references
  • runtime graph relationships

The LLM consumes evidence.

It does not fabricate it.

That distinction matters once AI systems start participating in production engineering workflows.


Built for Local-First Engineering

Everything runs locally:

  • Neo4j
  • Qdrant
  • Postgres
  • Redis
  • Prometheus
  • Loki
  • Grafana

No central server.

No telemetry.

Your graph stays yours.

The only optional network dependency is the reasoning LLM.


Why I’m Building It Open Source

Most AI tooling is racing toward:

“make the agent better at editing code”

I think the more important problem is:

“give agents persistent engineering intelligence”

That means:

  • memory
  • causality
  • runtime awareness
  • architecture understanding
  • confidence-weighted reasoning
  • reproducible evidence

That’s the layer ASIL is trying to build.

Built solo over 6 months with:
Python, FastAPI, Neo4j, Qdrant, Postgres, Tree-sitter, Next.js, Tailwind, ReactFlow, and MCP tooling.