Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166449 stories
·
33 followers

Microsoft Agent Framework for .NET: What’s Stable, What’s in Preview, and What’s Deprecated?

1 Share

You start a new C# agent project, open NuGet, and see 41 packages under the Microsoft Agent Framework publisher. The core SDK says 1.28.0. The Foundry adapter says 1.28.0-preview. Two packages with nearly identical Azure AI names have different migration stories. Which ones do you actually need?

The package I’d start with is Microsoft.Agents.AI. Then I’d add the adapter for the provider I’m using and bring in workflow, hosting, or storage packages as the application calls for them. That approach makes it easier to see exactly where you’re taking a dependency on a prerelease.

As of December 6, 2026, the 41 NuGet packages break down into 12 stable, 20 preview, 4 alpha, 2 release candidates, and 3 deprecated. One of those 20 preview packages also exposes APIs marked [Obsolete]. MicrosoftAgentFramework on NuGet

What the NuGet labels mean for your C# project

Status What it means
Stable The latest listed version has no prerelease suffix. The core SDK is on 1.28.0, while the two stable Durable Extension packages are on their own 1.16.1 release line.
Preview The package has a -preview release. If you use it, pin the version and test upgrades against the features your application depends on.
Alpha An early prerelease, identified by -alpha. Expect the API and behavior to evolve as the feature develops.
Release candidate (RC) A prerelease identified by -rc. It’s a candidate for a stable release and may still change.
Deprecated NuGet flags the package version as deprecated. Check the package page for a suggested replacement.
Obsolete API A type or method carries the C# [Obsolete] attribute. You can see a compiler warning even when the NuGet package still appears in the catalog as a preview.

All statuses below reflect the latest listed NuGet release at the time of writing. Package maturity can differ from the maturity of a specific API or of the service it connects to. That distinction matters when the SDK adapter, the cloud service, and your application each have their own release cycle. NuGet package catalog · Microsoft Agent Framework documentation

Core SDK, model providers, and workflows

Here’s a distinction that can save you time in NuGet. YAML workflows are supported by the stable Workflows.Declarative package. YAML agent definitions use Microsoft.Agents.AI.Declarative, which is a release candidate. If your YAML workflow calls a Foundry agent, that step brings in a separate preview adapter.

NuGet package Status What it adds
Microsoft.Agents.AI Stable The core agent runtime, including ChatClientAgent, sessions, middleware, and context providers.
Microsoft.Agents.AI.Abstractions Stable The shared contracts for AIAgent, sessions, responses, and streaming updates.
Microsoft.Agents.AI.Anthropic Stable Turns Anthropic SDK clients into Claude-backed Agent Framework agents.
Microsoft.Agents.AI.CopilotStudio Preview Lets a .NET application invoke published Copilot Studio agents.
Microsoft.Agents.AI.Declarative RC Loads and constructs agents from declarative definitions such as YAML.
Microsoft.Agents.AI.Foundry Preview Connects to Microsoft Foundry models and agents and integrates Foundry tools, memory, and evaluations.
Microsoft.Agents.AI.GitHub.Copilot Stable Wraps the GitHub Copilot SDK in an Agent Framework agent.
Microsoft.Agents.AI.Harness Stable Provides HarnessAgent, a preconfigured agent for long-running, multi-step tasks.
Microsoft.Agents.AI.OpenAI Stable Adapts OpenAI SDK Chat Completions and Responses clients into Agent Framework agents.
Microsoft.Agents.AI.Workflows Stable Runs graph-based workflows with agents and other executors. Supports streaming, checkpointing, and human-in-the-loop steps.
Microsoft.Agents.AI.Workflows.Declarative Stable Loads and runs workflows defined in YAML.
Microsoft.Agents.AI.Workflows.Declarative.Foundry Preview Lets steps in a declarative workflow invoke Microsoft Foundry agents.
Microsoft.Agents.AI.Workflows.Declarative.Mcp Stable Connects declarative workflows to Model Context Protocol (MCP) servers and their tools.
Microsoft.Agents.AI.Workflows.Generators Stable Uses Roslyn source generators to configure executor message routes at compile time.

NuGet publisher catalog · NuGet publisher catalog, page 2

Hosting, protocols, and developer tools

If you want your .NET app to call another agent over Agent2Agent (A2A), look at Microsoft.Agents.AI.A2A. To expose your agent over A2A from an ASP.NET Core app, start with Hosting.A2A.AspNetCore. It brings in the shared server-side Hosting.A2A package. Microsoft Learn A2A hosting guide

NuGet package Status What it adds
Aspire.Hosting.AgentFramework.DevUI Preview Adds Agent Framework DevUI to an Aspire AppHost for local development.
Microsoft.Agents.AI.A2A Preview Wraps a remote A2A endpoint as an agent your application can invoke.
Microsoft.Agents.AI.DevUI Preview Provides a browser UI for running, testing, and debugging agents and workflows.
Microsoft.Agents.AI.DurableTask Stable Runs agents and workflows on Durable Task with persisted state and resumable execution.
Microsoft.Agents.AI.Foundry.Hosting Preview Adapts your code-based agent so the Microsoft Foundry Hosted Agents runtime can host and invoke it.
Microsoft.Agents.AI.Hosting Preview Supplies common hosting services, including dependency-injection registration and session-store abstractions.
Microsoft.Agents.AI.Hosting.A2A Preview Provides the server-side A2A bridge for registration, request handling, and session management.
Microsoft.Agents.AI.Hosting.A2A.AspNetCore Preview Maps A2A protocol endpoints into an ASP.NET Core application.
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore Preview Exposes ASP.NET Core endpoints that stream AG-UI events to frontend clients.
Microsoft.Agents.AI.Hosting.AspNetCore Preview Integrates agent hosting and session management with ASP.NET Core.
Microsoft.Agents.AI.Hosting.AzureFunctions Stable Hosts durable agents and workflows in Azure Functions and provides HTTP endpoints for interacting with agents.
Microsoft.Agents.AI.Hosting.AzureStorage Preview Persists hosted agent sessions in Azure Blob Storage.
Microsoft.Agents.AI.Hosting.OpenAI Alpha Exposes agents through OpenAI-compatible Responses, Conversations, and Chat Completions endpoints.
Microsoft.Agents.AI.ProjectTemplates Preview Installs Agent Framework starter projects for the dotnet new CLI.

NuGet publisher catalog · Microsoft’s Durable Extension GA announcement

Storage, execution tools, and governance

“Store the conversation” and “remember something about the user” lead to different packages. The Cosmos DB integration can persist chat history and workflow checkpoints. Foundry’s managed memory extracts facts and summaries and retrieves relevant memories in later sessions. The standalone FoundryMemory package still has a preview listing, and Microsoft’s current .NET examples install Microsoft.Agents.AI.Foundry to use FoundryMemoryProvider. Microsoft Learn Foundry context providers

NuGet package Status What it adds
Microsoft.Agents.AI.AgentHooks Alpha Implements the Agent Hooks protocol so interceptors can evaluate actions and return policy verdicts.
Microsoft.Agents.AI.CosmosNoSql Preview Persists agent chat history and workflow checkpoints in Azure Cosmos DB for NoSQL.
Microsoft.Agents.AI.FoundryMemory Preview A standalone preview integration for Microsoft Foundry’s managed agent memory.
Microsoft.Agents.AI.Hyperlight Preview Runs agent-generated code through CodeAct in a Hyperlight micro-VM.
Microsoft.Agents.AI.LocalCodeAct Preview Runs agent-generated Python in a local process with syntax-tree validation. Isolation depends on an external sandbox.
Microsoft.Agents.AI.Mcp Alpha Adds framework-specific MCP features such as MCP Tasks and support for skills served over MCP.
Microsoft.Agents.AI.Purview RC Connects generative AI applications to Microsoft Purview for data governance and data loss prevention.
Microsoft.Agents.AI.Tools.Shell Preview Gives agents local or Docker-based shell execution tools with support for approval workflows.
Microsoft.Agents.AI.Valkey Alpha Persists chat history in Valkey and retrieves relevant context with full-text search.

NuGet publisher catalog, page 2 · NuGet publisher catalog, page 3 · The Training Boss guide to AgentHooks

Deprecated packages and obsolete APIs to check in older projects

If you’re revisiting code written during the early previews, search your .csproj or Directory.Packages.props for these four package IDs. Start by identifying what the code actually does. An old AG-UI client, a classic Azure AI agent, and a YAML workflow calling Foundry each have a different migration path.

NuGet package Status What it did and where to go
Microsoft.Agents.AI.AGUI Deprecated The former framework AG-UI client. Use AGUI.Client for client functionality. NuGet points to AGUI.Abstractions for the protocol contracts. NuGet
Microsoft.Agents.AI.AzureAI Deprecated The former Foundry agent integration package. NuGet points to Microsoft.Agents.AI.Foundry. NuGet
Microsoft.Agents.AI.AzureAI.Persistent Preview with obsolete APIs Wraps the classic Azure AI Persistent Agents service. Its agent extension methods are marked [Obsolete]. Use Microsoft.Agents.AI.Foundry for the current Foundry integration. NuGet · API details
Microsoft.Agents.AI.Workflows.Declarative.AzureAI Deprecated The former adapter for calling Azure AI agents from YAML workflows. NuGet points to Microsoft.Agents.AI.Workflows.Declarative.Foundry. NuGet

What I’d install for a new project

  • An OpenAI-backed agent in C#: start with Microsoft.Agents.AI and Microsoft.Agents.AI.OpenAI. Both are stable.
  • A multi-step agent workflow: add the stable Microsoft.Agents.AI.Workflows. Add Workflows.Declarative if you want to define the workflow in YAML.
  • An agent that needs to resume after a restart: look at the stable Microsoft.Agents.AI.DurableTask. Add Microsoft.Agents.AI.Hosting.AzureFunctions if Azure Functions is your host.
  • A Foundry-backed agent: add Microsoft.Agents.AI.Foundry and pin the preview version you’ve tested. If Foundry will host your own agent code, Microsoft.Agents.AI.Foundry.Hosting covers that deployment scenario.

The next time you open NuGet, start with the capability your application needs. Check the status of the package that delivers it, then make the dependency decision at that level. You can build on the stable core today and decide exactly where a preview integration earns its place in your project.

The post Microsoft Agent Framework for .NET: What’s Stable, What’s in Preview, and What’s Deprecated? appeared first on The Training Boss.

Read the whole story
alvinashcraft
23 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

10 Terms for AI Mastery

1 Share

Four colleagues of different ages and backgrounds smile and lean in around laptops and a tablet as they work with AI together

One of the fastest ways to get better at AI is to get better at how you think about AI. When you learn a powerful new concept, you start to see opportunities that were previously invisible to you.

These aren’t just new words to learn. They’re new ways to think, work, and create value. I put this list together from what I’ve learned helping leaders figure out their AI journey.

Build your vocabulary for what’s now possible with AI.

A vocabulary for becoming more capable in the Age of AI.

Context Engineering changes how you give AI knowledge. Skills change how you scale expertise.

Multiagent Systems change how you organize work. AI-Native Design changes what you believe is possible.

Here are ten terms that can help you move from using AI to mastering AI.

10 Terms for AI Mastery

  1. 1Agentic AITurn intelligence into action.
  2. 2Context EngineeringGive intelligence what it needs to succeed.
  3. 3Harness EngineeringBuild the environment for intelligent work.
  4. 4SkillsMake expertise reusable.
  5. 5MemoryMake learning persist.
  6. 6Model Context Protocol (MCP)Connect intelligence to the world.
  7. 7Multiagent SystemsScale intelligence through collaboration.
  8. 8Loop EngineeringTurn feedback into better results.
  9. 9EvalsMake excellence measurable.
  10. 10AI-Native DesignReimagine what’s possible.

1. Agentic AI

Turn intelligence into action.

Most people still think of AI as something they talk to. Agentic AI is something you can delegate work to.

Rather than simply answering a question, an AI agent can pursue a goal, use tools, make intermediate decisions, and take multiple steps toward an outcome within its permissions.

Diagram comparing traditional AI, which goes from prompt to answer, with agentic AI, which moves from goal to plan, act and check, then adapts and repeats

For example, instead of asking AI how to improve your website, you might assign an agent to analyze it, identify opportunities, prioritize improvements, and prepare changes for approval.

The mastery move is learning to delegate outcomes, not just tasks.

Ask yourself: What outcome could I delegate rather than continually prompting AI for help?

2. Context Engineering

Give intelligence what it needs to succeed.

Prompt engineering is about what you ask AI. Context engineering is about everything AI needs to know to do exceptional work.

That might include your goals, customers, business strategy, preferences, examples, domain knowledge, constraints, and previous decisions.

Diagram of context engineering with AI intelligence at the center, fed by goals, knowledge, examples, constraints, history and preferences

Two people can use exactly the same AI model and get dramatically different results because one has engineered a better context. This is also why Gartner is emphasizing AI context platforms for 2027.

The mastery move is building an environment where AI doesn’t have to start from scratch every time.

Ask yourself: What knowledge would make my AI dramatically better at helping me?

3. Harness Engineering

Build the environment for intelligent work.

The model is the intelligence. The harness is the surrounding system that enables it to perform useful work.

A harness can provide tools, instructions, permissions, execution controls, feedback mechanisms, and safety boundaries.

Diagram of the harness: the AI model at the center, surrounded by tools, instructions, permissions and feedback

Think of a world-class doctor. Put that doctor in an empty room and there’s only so much they can do.

Give them a hospital, diagnostic equipment, patient records, and a capable team, and their ability to create value changes dramatically. The same principle applies to AI.

The harness is one of the reasons why different applications using the same model can perform so differently. Gartner and Anthropic are both emphasizing harness design as an important engineering discipline.

Ask yourself: What environment would enable my AI to do its best work?

4. Skills

Make expertise reusable.

A skill is a packaged capability that teaches AI how to perform a particular kind of work. It can include instructions, frameworks, examples, templates, scripts, and quality standards.

Instead of repeatedly explaining how to write an exceptional article, conduct research, evaluate a strategy, or create a proposal, you teach AI a reusable method.

Diagram showing expert knowledge becoming a reusable AI skill of instructions, examples and standards that agents A, B and C can all use

This is one of the most powerful ways to scale human expertise. Imagine turning your organization’s best practices into capabilities that every authorized AI agent can draw upon.

You’re no longer simply documenting knowledge. You’re making knowledge executable.

Ask yourself: What do I know how to do exceptionally well that I could turn into a reusable AI skill?

5. Memory

Make learning persist.

One of the biggest limitations of working with AI is having to continually start over. Memory enables AI systems to retain useful information across interactions.

There are several useful categories of memory:

Memory type What it remembers
Working memory The task at hand
Episodic memory Previous experiences and interactions
Semantic memory Facts, knowledge, and relationships
Procedural memory How to perform particular tasks

Different AI systems implement these capabilities differently. The real opportunity isn’t just having AI remember your name or preferences. It’s designing systems that retain valuable lessons, decisions, and discoveries.

Conceptual chart: without retained learning, progress rises and resets; with retained and applied learning, progress builds step by step
Conceptual illustration: learning can compound when it is retained, validated, and applied.

Memory alone doesn’t make AI improve. You also need ways to distinguish useful lessons from mistakes and apply those lessons to future work.

Ask yourself: What should my AI learn from today’s work that would make it more capable tomorrow?

6. Model Context Protocol (MCP)

Connect intelligence to the world.

MCP is an open standard that enables compatible AI applications to access external tools and information. Think of MCP as a kind of USB-C for AI.

Without a common standard, every AI application may need its own custom integration for every external system. MCP helps simplify those connections.

Diagram of three AI apps connecting through MCP, a shared connection standard, to documents, business apps and databases

The important distinction:

  • MCP connects AI to tools and knowledge.
  • Skills teach AI how to perform work.
  • Context provides the information AI needs.
  • The harness brings these capabilities together.

The mastery move is recognizing that much of AI’s practical value depends on what it can access and do, not just what it knows.

Ask yourself: What systems would my AI need access to in order to create significantly more value?

7. Multiagent Systems

Scale intelligence through collaboration.

Instead of trying to make one AI do everything, create specialized agents that work together. One might research. Another might develop a strategy.

Another might create a deliverable. Another might evaluate the quality.

Diagram of a human or orchestrator coordinating a researcher, strategist, creator and reviewer agent that share knowledge, skills and memory

This is where organizational design meets artificial intelligence. The challenge becomes designing roles, responsibilities, handoffs, decision rights, and collaboration mechanisms.

Gartner identified multiagent systems as a major strategic technology trend for 2026. More agents don’t automatically mean better results. Sometimes a single capable agent is more effective than a team.

The mastery move is learning when to specialize, when to collaborate, and when to simplify.

Ask yourself: What could a team of specialized AIs accomplish that one AI struggles to do alone?

8. Loop Engineering

Turn feedback into better results.

Much of the power of AI comes not from its first answer, but from what happens next. A well-designed loop enables an AI to produce something, evaluate it, identify gaps, make improvements, and check the result again.

Circular loop diagram of create, evaluate, improve and verify, with success criteria at the center

The critical part is knowing what good looks like, when to stop, and when to escalate to a human.

You might design a writing workflow where AI creates an article, reviews it against your standards, improves it, and verifies the important claims before handing it back.

Loop engineering is an emerging term, and its boundaries overlap with workflow and harness engineering. But the underlying idea is extremely valuable.

Ask yourself: Where could a feedback loop turn an average AI result into an exceptional one?

9. Evals (AI Evaluations)

Make excellence measurable.

Evals are systematic ways of assessing AI performance.

They help you determine whether AI is doing good work, whether it’s improving, and whether changes to your prompts, skills, context, or harness are actually making a difference.

For example, imagine evaluating an AI research agent against five criteria.

Illustrative AI research evaluation scorecard: accuracy 9 of 10, depth of insight 7, originality 6, actionability 8, source quality 9

Without evals, it’s easy to mistake impressive-sounding results for exceptional performance.

Gartner’s November 2026 research specifically highlights eval-driven development, and Anthropic has published guidance on designing evaluations for AI agents.

Evals give you a way to develop AI capabilities with greater precision.

Ask yourself: How would I know whether my AI is genuinely getting better?

10. AI-Native Design

Reimagine what’s possible.

This might be the most strategically important term on the entire list.

AI-augmented design starts with existing work and asks how AI can improve it. AI-native design starts with today’s capabilities and asks how the work should be done now.

Diagram contrasting AI-augmented design, which adds AI to an existing process, with AI-native design, which starts from the desired outcome and human plus AI capabilities

For example, an AI-augmented research team might write its quarterly trends report faster.

An AI-native research team might develop a continuously evolving intelligence system that discovers emerging trends, connects insights across industries, identifies opportunities, and delivers personalized recommendations.

That’s a different capability, not just a faster process. One of the biggest traps in AI transformation is using tomorrow’s capabilities to keep doing yesterday’s work.

Ask yourself: If I were designing this from scratch today, knowing what’s now possible with AI, what would I do differently?


See the Bigger Picture

The ten terms form a system of capabilities. Rather than treating these as disconnected terms, look at how they build on each other.

The AI Mastery Stack, six layers from foundation to transformation: Context Engineering and Memory, Skills and MCP, Agentic AI and Harness Engineering, Loop Engineering and Evals, Multiagent Systems, and AI-Native Design

The AI Mastery Stack brings these capabilities together. It gives people a mental model for understanding how AI capabilities build on each other.

And it explains why buying access to a better model is only one of many ways to become more capable with AI.

Big-Picture Resources

Explore the strategic shifts behind these capabilities.

A better vocabulary gives you a better lens on what’s possible. And a better lens on what’s possible gives you more ways to create value.


More AI Terms Worth Knowing

Expand your vocabulary with these additional concepts.

Term Why it matters
Orchestration Coordinate agents, tools, and workflows
Human-in-the-Loop Apply human judgment at critical moments
RAG Ground AI responses in retrieved knowledge
Ontology Make concepts and their relationships explicit
Knowledge Graph Connect knowledge so AI can navigate relationships
Persistent Agents Enable ongoing work beyond a single conversation
Computer Use Enable AI to operate existing interfaces
Multimodal AI Work across text, images, audio, and other modalities
Agent Governance Establish accountability, permissions, and controls
Intelligence Engineering Systematically design intelligence into how work gets done
GEO/AEO Become discoverable through AI-generated answers
A2A Protocol Enable compatible agents to communicate across systems

Orchestration is especially useful for coordinating agents and workflows. Ontology and Knowledge Graphs are also becoming particularly important as AI context platforms mature.

AGI and Superintelligence are important for understanding the future of AI. This list focuses instead on practical mastery today. For foundational AI literacy, also explore LLMs, tokens, hallucinations, and reasoning models.


The AI Mastery Reading List

Select a source title to open the original publication.

1. Agentic AI

2. Context Engineering

3. Harness Engineering

4. Skills

5. Memory

6. Model Context Protocol (MCP)

7. Multiagent Systems

8. Loop Engineering

9. Evals

10. AI-Native Design

The post 10 Terms for AI Mastery appeared first on JD Meier.

Read the whole story
alvinashcraft
33 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Android Weekly Issue #756

1 Share
Articles & Tutorials
Sponsored
You’re shipping more code than ever. Some of it blows up on devices you’ve never tested. bitdrift captures every session on the device, unsampled and in real time, so you and your agents can see the issue, the repro steps and the impact. Try bitdrift: mobile observability for the real world.
alt
Konstantin Tskhovrebov outlines PWA shortcomings, from edge-to-edge insets and deep links to browser-tied installs.
Mayank Kumar explains when Kotlin init blocks run, why properties can be null inside them, and how constructors interact.
Sponsored
About 27 people take action on a typical mobile release, and each handoff raises the chance of a slip. On the biggest release crews, 59% of EMs say most releases miss their date. See how your team compares in the 2026 State of Mobile Release Management report.
alt
Chris Banes announces Haze 2.2, adding continuous corners, Clear glass tweaks, and press-to-grow effects.
Alejandro Serrano Mena explains full value classes in Kotlin 2.5.0, comparing them with data classes and Project Valhalla.
KMP Bits explains going beyond translated strings: plurals, locale-aware number, currency and date formatting in Compose Multiplatform.
Dohyun Kim explains how Vulkan reduces stutter, heat, and battery drain in Android games, with case studies.
Wolfram Rittmeyer shares his fork of Decomposer, adding Kotlin 2.4 support and search for Compose-generated code.
Harsh Shandilya walks through mistakes made implementing shared element transitions in Compose, from Navigation3 bugs to list scoping.
Shahid Hussain explains Google Play's 14-day closed testing rule for personal accounts and how to pass it.
Miguel Valdes Faura walks through fixing crashes, ANRs and slow startup in Now in Android with an AI agent.
Manuel explains where his jobs app draws the line between shared Kotlin Multiplatform and native code.
Kevin Desai explains how a shared design system module keeps Compose Multiplatform UIs consistent across apps.
Mayank Kumar explains Kotlin's public, private, protected and internal modifiers, including what internal becomes in bytecode.
Jaewoong Eum announces Compose HotSwan's open-source release, walks through its repository contents, and explains terminal-based hot reload.
WolfOf explains how SnapLedger reached 90.64% shared Kotlin Multiplatform code across Android, iOS and Desktop.
Arda Kazancı explores four interactive progressive blur patterns for Jetpack Compose 1.13 UI design.
Place a sponsored post
We reach out to more than 80k Android developers around the world, every week, through our email newsletter and social media channels. Advertise your Android development related service or product!
alt
Libraries & Code
A Kotlin library for offline, on-device text translation on Android, built on Mozilla's Bergamot engine and models.
A free tool that runs an Android emulator in your own GitHub Codespace, controllable by coding agents.
A Gradle plugin and runtime that hot reloads Jetpack Compose changes into running Android, desktop and iOS apps.
A self-hosted Flipper alternative that captures app HTTP and Socket traffic and lets you mock responses.
A runtime that interprets Jetpack Compose source code instantly, without compiling, building or waiting.
News
JetBrains announces Kotlin 2.5.0, with stable Kotlin/Wasm, Java 28 support, and Swift export in Beta.
alt
JetBrains' Kodee roundup covers Kotlin 2.5.0-RC2, a new coroutines course, and Kotlin on LinkedIn.
JetBrains announces Compose Multiplatform 1.13.0, bringing SwiftUI/UIKit content-based sizing, WebGL interop, and faster desktop startup.
JetBrains announces Spring AI Agent as Koog's successor, with Koog receiving no new features.
The Spring team and JetBrains release Spring AI Agent, an experimental framework for reliable AI agents in Spring Boot.
JetBrains announces the first Kotlin Ecosystem Security Digest, covering security fixes in Kotlin 2.5.0, Ktor, and kotlinx.serialization.
Google pushes Android 17 QPR2 to AOSP, adding memory budgets, exit diagnostics, and a redesigned Picture-in-Picture experience.
Google releases the first Android 18 Beta, adding per-process soft memory limits for background services and biweekly beta drops.
Videos & Podcasts
Firebase introduces a video series on using Firebase with coding agents via plugins, agent skills, and MCP servers.
Firebase shows how to equip coding agents with agent skills, MCP servers, and plugins.
Firebase shows how coding agents set up Firebase AI Logic in a Kotlin app for generative AI features.
Read the whole story
alvinashcraft
46 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Try again, please: Why coding agents should go back and check their work.

1 Share

If at first you don’t succeed, try, try again. It’s a saying so old that nobody is quite sure who said it first, although it was popularized in Edward Hickson’s “Moral Song” in the 1800s.

Unified data intelligence platform company Databricks thinks this truism carries forward into our use of AI agents.

“In practice, developers routinely ask agents to revise their work. It’s therefore important to evaluate how well agents can incorporate feedback, rethink their approach and fix their own mistakes,” note Krista Opsahl-Ong, Ivan Zhou, and Erich Elsen of the Databricks AI Research Team in a blog post published Thursday.

Have another go, try again

This is what has led the company to introduce its “Try Again” evaluation for coding benchmarks that measures how agents perform on what the company calls “representative tasks” today.

As for what “representative tasks” mean, we can reasonably infer that the company is referring to coding tasks that reflect the practical software development challenges agents are expected to handle in real-world, increasingly live production environments.

According to the Databricks AI Research Team, the problem is that most evaluations measure only “single-turn execution,” i.e., one attempt to deliver on a developer’s request in relation to any given codebase, environment, test, or prompt. The agent is then graded only on that first attempt.

“In practice, developers routinely ask agents to revise their work. It’s therefore important to evaluate how well agents can incorporate feedback, rethink their approach, and fix their own mistakes.”

“That tells us what an agent can solve in one-shot, but doesn’t capture its ability to recover when its first attempt fails. In practice, developers routinely ask agents to revise their work. It’s therefore important to evaluate how well agents can incorporate feedback, rethink their approach, and fix their own mistakes,” write Opsahl-Ong, Zhou, and Elsen.

The problem, it appears, is that we’ve been too kind to agents in terms of first-pass feedback, returning analysis at the level shown below:

Using Human(agents)-in-the-Loop

Databricks has stated that evaluating agentic behavior at scale typically requires creating a “simulated environment to model this feedback loop” in practice. But the team contends that software engineering units often build this in by using a second agent as a human-in-the-loop reviewer to generate tailored, multi-turn critiques. 

“However, this approach adds extra complexity and new failure modes. For example, the simulator must diagnose specific bugs without leaking ground-truth solutions or test criteria, injecting variability and bias into the experiment,” note the authors.

To cross the chasm here, the team decided, rather than building a complex simulator to mimic human feedback, to analyze whether coding agents can self-correct and improve their work when given just a light feedback signal (agents are also told how many checks passed, though not which ones failed or why), simply knowing their first attempt is wrong.

Agent, you have five attempts; then you’re out

The Databricks team tested this approach on two coding benchmarks, SWE-bench Live and Databricks Bench V2, using Codex and Claude Code agents powered by frontier models from OpenAI and Anthropic, respectively. In these scenarios, the agent is given up to five total attempts, each continuing from its previous solution in the same workspace. 

The evaluation ends once the agent succeeds or exhausts its attempts. 

“GPT-6 Sol improves over multiple attempts and ultimately overtakes Sonnet by 5 percentage points ahead. On Databricks Bench V2, iteration brings models closer together as performance begins to saturate. For example, GPT-6 Astra starts with a 9-11 point lead over both Sonnet 5.5 and GPT-6 Sol, but all three models converge to 95%-97% success by the fifth attempt,” write the authors.

CTO Aron Brand of data management and intelligence platform company Ctera tells The New Stack that every time an agent stops to ask him to approve a change or check its output, he has one more decision to shoulder. Because developers now run several agents in parallel, that could add up to hundreds of decisions a day. 

“Developers should give agents tasks with a clear automated check, let them retry against it on their own up to a set limit, and review only the final result.”

“A good test suite can tell an agent to try again without a person,” Brand says. “Developers should give agents tasks with a clear automated check, let them retry against it on their own up to a set limit, and review only the final result.

“In the agentic era, the agents write the code, and the developer’s main job is judgment and taste: deciding what to build and recognizing when the result is good.”

Reject absolutism, embrace iterative pragmatism

VP of AI and architecture at software quality and testing company SmartBear, Fitz Nowlan, isn’t a fan of one-size-fits-all AI services. He reminds us of the not-too-distant past when AI agents did 80% of a task, then erased those gains by forcing developers to switch contexts. 

“If you’re still waiting to bring AI agents into development or testing until they can do 100% of the work, you might as well consider yourself already out of a job,” Nowlan says. “Today’s agents can iterate alongside developers and QA engineers, picking up strong signals from minimal human input on each turn. Talented teams amplify their advantage by rejecting absolutism (i.e. perfect moonshots) and instead build on the high-quality blocks that a more iterative, pragmatic approach to AI can deliver.”

General manager of product and engineering at open source platform and tools company Suse, Rick Spencer, tells The New Stack that he has strong opinions in this space.

“The idea that any real software engineering is done by ‘one-shotting’ with AI is a naïve and destructive view held by some industry leaders, so this research aligns with real world software engineering.”

“The idea that any real software engineering is done by ‘one-shotting’ with AI is a naïve and destructive view held by some industry leaders, so this research aligns with real-world software engineering,” Spencer says.

He urges us to think about the notion that “real software engineers” (in his view) take accountability for ensuring that all requirements and constraints are met by the software they produce, with or without AI. 

“This requires considerable amounts of iteration. In fact, good software engineers start by iterating on an overall architecture with the LLM, and then work with the LLM to implement each component. Iterating on each component and the overall system until the requirements and constraints are met. These findings are extremely useful for real-world evaluation,” adds Spencer.

A one-shot benchmark is a pretty poor proxy for software builds

CTO Sergio Gago of hybrid cloud architecture platform Cloudera tells The New Stack he agrees that a one-shot benchmark is “a pretty poor proxy for how software actually gets built” in live production environments.

“Developers iterate constantly,” Gago says. “They test, learn from what breaks, and adjust. Coding agents should be held to the same standard. It’s a more complex problem than whether an agent can get the answer right on its first attempt; you need to ensure said agent can understand why an approach failed, challenge its own assumptions, and take a genuinely different path.

Otherwise, says Gago, giving it five attempts just means giving it five chances to make the same mistake. 

“This is why thorough evaluations (evals) and benchmarks are key on any agentic harness. The LLM behind the agent may change, but the quality of the output and the decision-making accuracy can’t fail,” he adds.

Location, location, Iteration

Databricks suggests that its work with “Try Again” highlights a limitation of traditional one-shot evaluations: the model that’s best at solving a problem on its first attempt isn’t necessarily the model that’s best at solving it through iteration. 

The team concludes by saying that this work matters for Genie (Databricks’ AI assistant for interacting with data through natural-language conversations) and Smart Routing (Databricks’ AI model-selection and optimization mechanism), where a model’s ability to make improvements in response to user feedback delivers a more productive user experience, especially where there is a need to better reflect multi-turn workflows. 

The post Try again, please: Why coding agents should go back and check their work. appeared first on The New Stack.

Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Week in Review: Most popular stories on GeekWire for the week of Nov. 29, 2026

1 Share

Get caught up on the latest technology and startup news from the past week. Here are the most popular stories on GeekWire for the week of Nov. 29, 2026.

Sign up to receive these updates every Sunday in your inbox by subscribing to our GeekWire Weekly email newsletter.

Most popular stories on GeekWire

Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Implementing the Saga Pattern in .NET: A Practical Guide to Distributed Transactions

1 Share
This article explains how to implement the Saga Pattern in a .NET application, focusing on managing distributed transactions across microservices. It covers key concepts like orchestration, message-based communication using MassTransit and RabbitMQ, and handling compensations during failures. The guide includes practical tips for building a resilient e-commerce workflow with ASP.NET Core, PostgreSQL, and Docker.

Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories