#AI Research

Articles about AI Research — exploring patterns, best practices, and real-world implementations in production systems.

17 posts tagged with ai research. ← Blog home

#A/B Testing (3)#A2A (14)#ADK (8)#AG-UI (6)#AI (9)#AI Adoption (9)#AI Agents (355)#AI Architecture (22)#AI Cost (10)#AI Cost Optimization (8)#AI Engineering (316)#AI Evaluation (9)#AI Financial Engineering (14)#AI Gateway (8)#AI Governance (43)#AI Red Teaming (9)#AI Research (17)#AI Safety (12)#AI Security (35)#AI Strategy (8)#AI in Production (12)#AML (3)#API Design (18)#API Security (9)#APIs (69)#AWS (17)#Accountability (8)#Accounting (9)#Agent Memory (8)#Agent Skills (11)#Agentic AI (25)#Agentic Commerce (12)#Agentic Engineering (12)#Agentic RAG (8)#Agents (4)#Amazon Bedrock (8)#Analytics (3)#Architecture (45)#Attention (3)#Audit (4)#Authentication (11)#Authorization (3)#Automation (13)#Azure (11)#Azure AI Foundry (9)#Backend Engineering (331)#Benchmarks (3)#Best Practices (5)#BigQuery (6)#Billing (8)#Build Systems (4)#Business Finance (8)#Business Strategy (55)#C (8)#CI/CD (23)#Caching (11)#Capital Markets (14)#Card Payments (12)#Cards (13)#Career (30)#Causal Inference (8)#Cellular Automata (8)#Change Management (3)#Checkpointing (4)#Claude Code (8)#Cloud (5)#Cloud Architecture (3)#Cloud Native (10)#Code Review (9)#Coding Agents (20)#Collaboration (6)#Communication (9)#Complexity (8)#Compliance (54)#Computer Networking (9)#Computer Science (40)#Computer Vision (15)#Computer-Use Agents (8)#Concurrency (44)#Consulting (26)#Containers (11)#Context Engineering (19)#Conversational AI (8)#Cost Optimisation (5)#Cost Optimization (3)#Credit (16)#Credit Risk (16)#CrewAI (8)#Crypto (12)#Cryptocurrency (12)#Cryptography (9)#Custody (9)#DSPy (8)#Data (14)#Data Engineering (25)#Data Governance (3)#Data Science (8)#Data Structures (10)#Databases (48)#Deep Learning (20)#Deployment (5)#Design (3)#Design Patterns (10)#DevOps (24)#DevSecOps (22)#Developer Experience (7)#Developer Productivity (15)#Developer Tools (5)#Differential Privacy (3)#Diffusion Models (10)#Discovery (5)#Distributed Systems (104)#Documentation (3)#Edge AI (8)#Embeddings (21)#Emotional Intelligence (8)#Energy (8)#Engineering (14)#Engineering Culture (3)#Engineering Judgment (7)#Engineering Practices (21)#Enterprise AI (8)#Error Handling (4)#Evaluation (79)#Event-Driven (9)#Event-Driven Architecture (8)#Explainability (3)#Explainable AI (8)#FREE-AI (8)#FX (5)#Feature Engineering (3)#Feature Flags (3)#Feedback (4)#FinOps (23)#FinTech (6)#Financial AI (14)#Financial Engineering (8)#Financial Systems (133)#Fine-Tuning (12)#Fintech (134)#Flutter (8)#Forecasting (10)#Foreign Exchange (5)#Forward Deployed Engineer (43)#Forward Deployed Engineering (8)#Fraud (10)#Fraud Detection (8)#Function Tools (5)#Functional Programming (3)#Fundamentals (23)#Fundraising (8)#GCP (5)#GPU (8)#GUI Automation (8)#Gemma (4)#Generative AI (13)#Generics (3)#Git (8)#Go (241)#Go-to-Market (31)#Google ADK (36)#Governance (61)#Granite (6)#Graph Neural Networks (8)#GraphQL (3)#Growth (3)#Guardrails (35)#HIPAA (3)#HTTP (3)#Harness Engineering (8)#Hiring (9)#Hugging Face (8)#Human-in-the-Loop (10)#IBM watsonx (8)#Idempotency (3)#Identity (11)#Image Generation (10)#Inference (8)#Information Retrieval (8)#Integration (3)#Integrations (8)#Intellectual Property (8)#Interfaces (3)#Interpretability (8)#JavaScript (8)#KYC (11)#KYC and AML (12)#Kafka (11)#Knowledge Graphs (11)#Kubernetes (18)#LLM (5)#LLM Inference (8)#LLM Infrastructure (8)#LLM-as-Judge (3)#LLMOps (9)#LLMs (197)#LangChain (8)#LangGraph (11)#Leadership (33)#Ledger (12)#Legal (8)#Lending (14)#Linux (9)#LlamaIndex (8)#Load Balancing (3)#MCP (25)#MLOps (39)#Machine Learning (119)#Marketing (16)#Markets (4)#Mathematical Finance (8)#Memory (17)#Memory Management (5)#Metrics (7)#Microservices (3)#Microsoft Agent Framework (150)#Middleware (6)#Migration (9)#Migrations (8)#Mixture of Experts (5)#Model Risk (3)#Monetization (9)#Monitoring (5)#Monorepo (3)#Multi-Agent (10)#Multi-Agent AI (14)#Multi-Agent Systems (76)#Multimodal (3)#Multimodal AI (11)#NIM (5)#NVIDIA (8)#Networking (3)#OAuth (3)#OWASP (7)#Observability (52)#On-Device AI (8)#Ontology (8)#Open Source (7)#OpenAPI (3)#OpenTelemetry (5)#Operating Systems (9)#Operations (14)#Opinion (6)#Orchestration (10)#Organizational Design (8)#Patterns (3)#Payment Rails (16)#Payments (55)#People (8)#Performance (63)#Personalization (9)#Platform Engineering (17)#Policy as Code (3)#PreSales (8)#Pricing (4)#Privacy (14)#Privacy Engineering (3)#Process (4)#Product (30)#Product Management (9)#Production (22)#Programming (10)#Programming Languages (48)#Prompt Engineering (86)#Prompt Injection (16)#Proof of Concept (3)#Protocol Buffers (3)#Protocols (9)#Providers (4)#Pydantic AI (8)#Python (142)#Quality (3)#Quantitative Finance (22)#RAG (72)#RBI (3)#REST (5)#Rails (16)#Real-Time (8)#Reasoning Models (8)#Recommender Systems (8)#Reconciliation (5)#RegTech (8)#Regulation (10)#Reinforcement Learning (9)#Reliability (69)#Resilience (4)#Responsible AI (5)#Retrieval (3)#Risk (22)#Risk Management (11)#Rust (32)#SLSA (3)#SRE (23)#SaaS (9)#Sales (9)#Sales Engineering (8)#Scalability (6)#Search (10)#Security (103)#Security Engineering (8)#Self-Evolving Agents (24)#Semantic Web (8)#Sessions (3)#Settlement (9)#Soft Skills (8)#Software (3)#Software Architecture (36)#Software Delivery (9)#Software Engineering (152)#Spanner (4)#Specification Engineering (3)#Speech (8)#Startups (30)#Statistics (8)#Strands (8)#Strategy (6)#Stream Processing (9)#Streaming (39)#Structured Output (4)#Supply Chain Security (10)#Sustainability (9)#System Design (32)#Systems Programming (56)#Technical Sales (6)#Testing (79)#Threat Modeling (3)#Time Series (9)#Tool Use (23)#Tooling (11)#Tools (4)#Trading (8)#Transformers (3)#Treasury (6)#Trust (4)#Type System (3)#Type Systems (12)#TypeScript (8)#Validation (3)#Valuation (3)#Vector Databases (23)#Vector Search (12)#Venture Capital (8)#Version Control (9)#Versioning (7)#Voice AI (9)#Web Development (6)#Webhooks (9)#Workflow (4)#Workflows (14)#eBPF (8)#gRPC (13)#smolagents (8)
Pratik Dhanave · ·5 min read

Closing the Loops: Composition, Governance, and What Self-Evolution Is For

The series mapped three loci and a feedback axis as if systems politely stayed in one square of the grid. They don't — the direction of the field is composition: artifact loops whose lessons distill into the harness, harness accumulation that consolidates into weights, each locus covering the others' weaknesses. This closing post adds the final axis — where the loop closes — then assembles the full map, reads off the governance that composition demands, and ends on the only success metric that resists gaming: what the system actually delivers.

The third axis — loop closure, from within-task to online-continuous, with gating rising to match — completes the map. The frontier is composed stacks: artifact loops feeding harness distillation feeding rare, gated weight consolidation under monotone feedback strength. Governance reads off the three axes; success is measured in delivered artifacts. Closes the series.

Pratik Dhanave · ·4 min read

The Feedback Axis: Every Self-Evolution Failure Is a Feedback Failure

Walk back through the first six posts and a pattern repeats with suspicious regularity: the artifact loop is only as good as its evaluator, consensus training launders whatever bias the vote shares, self-play drifts without an anchor, test-time adaptation mis-fires when its proxy objective lies. Different loci, same lesson. This post makes the lesson the subject: feedback is the taxonomy's second axis, failure modes sort by feedback type rather than by locus — and the engineering discipline of self-evolving systems is mostly the engineering of feedback.

Feedback is the taxonomy's second axis: five types on a strength ladder — formal, mechanical, environmental, judged, self-consistent — each with a signature failure, all governed by Goodhart at type-specific pressure thresholds. The universal architecture is the cascade: cheap filters, strong gates, inter-stage agreement as the drift alarm, humans as calibrators.

Pratik Dhanave · ·5 min read

Model Evolution II: Test-Time Training and the Continual Learning Problem

Post 5 asked where the training signal comes from; this post asks when the weights change — and the two most radical answers bracket the question. Test-time training updates weights during inference, per input, then throws the update away; continual learning updates weights forever and keeps them. One treats adaptation as disposable, the other as permanent — and between them sits the oldest unsolved problem in neural networks: learning the new without trampling the old.

Test-time training adapts weights per input and discards the update — the deepest locus at the narrowest closure; continual learning keeps updates and collides with catastrophic interference, managed by replay, regularization, and isolation. Underneath both: the stability–plasticity dilemma and the two-timescale resolution that meets the memory series.

Pratik Dhanave · ·4 min read

Model Evolution I: Learning Without Gold Answers

The deepest locus of self-evolution is the weights — and the interesting frontier there is not supervised fine-tuning on human labels but the family of methods where the model improves from signals it generates or uncovers itself: pseudo-labels from its own consensus, rewards from self-play, curricula it proposes to itself. This post organizes that family by one question — where does the training signal come from when no gold answer exists — and traces the shared failure mode every branch inherits: a model learning from itself can amplify its knowledge, and can just as efficiently amplify its errors.

Label-free weight evolution sorted by signal source: consensus as pseudo-truth (sharpens knowledge, launders bias), self-play as curriculum (risks private equilibria), verifier reward (internalizes verifier exploits), environment signal (honest, slow, governance-heavy). One shared circularity — training on model-shaped data — and the anchor discipline that contains it.

Pratik Dhanave · ·4 min read

Harness Evolution: Why Production Self-Improvement Lives in the Scaffolding

Between the artifact loop's external modesty and the weight loop's internal stakes sits the locus where nearly all deployed self-improvement actually happens: the harness. Prompts that rewrite themselves from failure analyses, memories that accumulate, skills that get written once and reused forever, routing that restructures — the model never changes, and the agent gets better every week. This post places harness evolution on the taxonomy and explains the structural reasons it dominates practice — then hands the mechanisms to the two series on this blog that cover them in depth.

Harness evolution dominates production for four structural reasons — text-native and reviewable, file-write cheap, scoped blast radius, weak-feedback tolerant — and splits into context, capability, and structure sublayers mapped onto this blog's existing deep dives. Its hard ceiling: it elicits frozen-model ability, never exceeds it.

Pratik Dhanave · ·4 min read

Where Artifact Evolution Works: The Verifier Spectrum

Artifact evolution's track record is strangely lumpy: superhuman results on matrix-multiply schedules and scheduling heuristics, respectable results on general code optimization, and little to show on "write me a better product strategy." The lumpiness isn't mysterious — it traces exactly one variable: how good a verifier the domain affords. This post organizes the application domains along that spectrum, from exact checkers to vibes, and reads off where the loop is trustworthy, where it needs guardrails, and where it quietly becomes fiction.

Artifact evolution's lumpy track record traces one variable: verifier strength. The spectrum — exact checkers, measured execution, test suites, proxy scores, LLM judges — with each tier's signature failure, the pressure-budget rule, and the highest-leverage move: reshaping problems toward checkability.

Pratik Dhanave · ·4 min read

Artifact Evolution: The Generate–Evaluate–Refine Loop

The least philosophical form of self-evolving AI is also the one with the hardest results to argue with: hold the model fixed, hold the harness fixed, and evolve the artifact — the program, the schedule, the mathematical construction — through thousands of generate-evaluate-refine rounds. This post dissects that loop: why it's evolutionary computation with the mutation operator replaced by a language model, why the evaluator is the entire ballgame, and what changes when the LLM is both the operator and, increasingly, the optimizer.

Artifact evolution is evolutionary search with an LLM as the mutation operator — population, generator, evaluator, selector — where the LLM contributes semantically valid, evidence-driven edits and the evaluator contributes everything else. Offline loop, mechanical feedback, externally checkable results: the honesty standard for the rest of the map.

Pratik Dhanave · ·4 min read

What Evolves? A Map of Self-Evolving AI

The phrase "self-evolving agent" gets attached to systems so different that arguments about it are usually category errors: an agent that rewrites its own prompts, a loop that breeds faster GPU kernels, and a model that updates its weights from its own consensus answers are all "self-evolving" — and almost nothing else about them is alike. This series builds a working taxonomy by asking three questions that dissolve the terminology fights: what evolves, what feedback drives it, and where does the loop close?

The anatomy — model, harness, artifact — and the three loci of evolution: artifact (improve the products), harness (improve the scaffolding), model (improve the weights without gold answers), crossed by two axes: what feedback drives the loop and where it closes. Three questions replace the definition fights. Opens the series.

Pratik Dhanave · ·5 min read

Limits, Risks, and Open Problems

The frontier is genuinely exciting and genuinely oversold, and telling the difference matters — so this closing post is an honest accounting of what self-evolving agents cannot yet do, what can go wrong, and what remains unsolved.

The frontier is genuinely exciting and genuinely oversold. An honest accounting of what self-evolving agents cannot yet do, what can go wrong, and what remains unsolved.

Pratik Dhanave · ·5 min read

Evaluating Open-Ended Improvement

Every frontier method is a search, and a search is only as good as the evaluator that ranks its candidates — so at the frontier, evaluation stops being a measurement and becomes the single most dangerous component in the system.

Every frontier method is a search, and a search is only as good as the evaluator that ranks its candidates — so at the frontier, evaluation becomes the single most dangerous component in the system.

Pratik Dhanave · ·6 min read

Alignment: RLHF and DPO

Supervised fine-tuning teaches a model to produce a correct answer; alignment teaches it to produce the answer people actually prefer. That shift — from "right" to "better" — is what turned raw language models into helpful assistants, and the move from RLHF's complex machinery to DPO's direct approach made it something ordinary teams can do.

Supervised fine-tuning teaches a model to produce a correct answer; alignment teaches it to produce the answer people actually prefer. That shift turned raw models into helpful assistants, and the move from RLHF to DPO made it something ordinary teams can do.

Pratik Dhanave · ·5 min read

Meta-Agents and Self-Reference

The deepest form of self-evolution is recursive: not an agent that improves its answers, but an agent that improves the process that improves agents — a system reaching up a level to modify itself.

The deepest form of self-evolution is recursive: not an agent that improves its answers, but an agent that improves the process that improves agents — a system reaching up a level to modify itself.

Pratik Dhanave · ·5 min read

Reflective Optimizers: Learning in Language

What if the optimizer's update step were not a numeric gradient but a paragraph of natural-language reflection? That is the bet behind reflective optimizers — and one of them rivals reinforcement learning while using a fraction of the rollouts.

What if the optimizer's update step were not a numeric gradient but a paragraph of natural-language reflection? That is the bet behind reflective optimizers — one of which rivals RL with a fraction of the rollouts.

Pratik Dhanave · ·5 min read

Self-Play and Co-Evolution

The technique that produced superhuman game-playing — a system improving by competing against copies of itself — has an LLM analogue: models that generate their own training signal and bootstrap their way up without new human labels.

The technique that produced superhuman game-playing has an LLM analogue: models that generate their own training signal and bootstrap up without new human labels — and the reward-source problem at its center.

Pratik Dhanave · ·5 min read

Evolutionary and Population Search

Borrow the oldest idea in optimization — mutate a population, select the fittest, repeat — and point it at prompts and agents, and you get a search that escapes local optima a gradient never could.

Borrow the oldest idea in optimization — mutate a population, select the fittest, repeat — point it at prompts and agents, and you get a search that escapes local optima a gradient never could.

Pratik Dhanave · ·5 min read

Automated Design of Agentic Systems

The most striking frontier result is a meta-agent that writes agents — defining them as code, testing them, archiving the good ones, and inventing architectures that outperform the best humans hand-built.

The most striking frontier result is a meta-agent that writes agents — defining them as code, testing them, archiving the good ones, and inventing architectures that outperform the best humans hand-built.

Pratik Dhanave · ·5 min read

Beyond Reflection: The Design Axis

The first wave of self-evolving agents tuned one agent's memory and prompts; the frontier stops tuning a fixed agent and starts searching the space of agent designs itself.

The first wave of self-evolving agents tuned one agent's memory and prompts; the frontier stops tuning a fixed agent and starts searching the space of agent designs itself.

All posts on this site are written by Pratik Dhanave, an Agentic AI Architect with 7+ years building production distributed systems, multi-agent AI platforms, and cloud-native infrastructure. About the author → Each article includes working code, architecture diagrams, and references to the specific frameworks and standards discussed. Browse the blog or explore related topics using the tag cloud above.