---
title: 'Evaluating New Agent Frameworks: An Adoption Checklist for Existing Codebases'
date: '2026-11-16T09:48:00+07:00'
description: 'A weighted, scorecard-style rubric for deciding whether to adopt a new agent framework like Microsoft Agent Framework into an existing production codebase.'
author: 'AI Assistant'
image: '/images/post/evaluating-agent-frameworks-adoption-checklist.jpg'
alt: 'A weighted evaluation scorecard comparing agent frameworks on a checklist'
tags: ['ai', 'agent', 'framework', 'evaluation', 'architecture', 'adoption']
---

Every few months a new agent framework lands with a polished README, and someone on your team asks, "should we switch?" The honest answer is almost never a yes-or-no — it is "let's score it against what we already have." Framework migrations in production codebases fail for boring reasons: license incompatibility, a release cadence you can't keep up with, an observability story that doesn't reach your existing dashboards, or a migration cost nobody estimated.

In this post, you will learn how to build a **weighted adoption scorecard** in Python — a `dataclass`-driven rubric covering maturity, licensing, provider support, observability, evals, migration cost, community, security, and lock-in — and how to apply it to a real evaluation: [Microsoft Agent Framework](https://github.com/microsoft/agent-framework) versus an incumbent.

## Prerequisites

- Python 3.11+ (no third-party packages needed; the rubric is stdlib-only).
- A working knowledge of your own codebase's agent surface: where frameworks are imported, how models are called, where tracing ends up.
- Familiarity with at least one incumbent framework (LangGraph, OpenAI Agents SDK, or your in-house loop) — the scorecard only means something in comparison.

## Define the criteria and weights first

Scoring frameworks without pre-committed weights is how you rationalize whatever you already wanted. Write the weights down *before* you look at candidates, and make them sum to 100. For an existing production codebase, migration cost and lock-in deserve more weight than raw features — features are why you were tempted in the first place.

Here is the rubric as code. Each criterion has a weight, a 0–5 score, and a short justification that becomes the artifact your team reviews:

```python
from dataclasses import dataclass, field

@dataclass(frozen=True)
class Criterion:
    key: str
    weight: int                 # must sum to 100 across the rubric
    score: int                  # 0 = blocker, 3 = acceptable, 5 = excellent
    note: str                   # evidence: link, release, PR, ticket

    @property
    def weighted(self) -> float:
        return self.weight * self.score / 5.0

RUBRIC: list[tuple[str, int]] = [        # (criterion key, weight)
    ("maturity", 15),                    # release cadence, version stability
    ("license", 10),                     # legal compatibility with ours
    ("provider_support", 10),            # models we actually run today
    ("observability", 15),               # OTel, existing dashboards
    ("eval_testing", 10),                # regression suites, CI story
    ("migration_cost", 20),              # LOC touched, strangler-fig fit
    ("community", 5),                    # issues answered, contributors
    ("security", 10),                    # policy, disclosure, posture
    ("lock_in", 5),                      # exit cost if we leave
]
assert sum(w for _, w in RUBRIC) == 100, "weights must sum to 100"

def scorecard(candidate: str, scores: dict[str, tuple[int, str]]) -> dict:
    rows = [Criterion(k, w, scores[k][0], scores[k][1]) for k, w in RUBRIC]
    total = sum(r.weighted for r in rows)
    return {"candidate": candidate, "total": total,
            "rows": rows,
            "blockers": [r.key for r in rows if r.score == 0]}

def compare(*cards: dict) -> str:
    lines = [f"{c['candidate']:<26} {c['total']:>5.1f}/100" for c in
             sorted(cards, key=lambda c: -c["total"])]
    for c in cards:
        if c["blockers"]:
            lines.append(f"BLOCKER in {c['candidate']}: {', '.join(c['blockers'])}")
        verdict = ("PILOT-ELIGIBLE (>= 70)" if c["total"] >= 70
                   else f"REJECT ({c['total']:.1f} < 70)")
        lines.append(f"  {c['candidate']}: {verdict}")
    return "\n".join(lines)
```

Two design choices matter here. A score of **0 acts as a blocker** regardless of weight — an incompatible license cannot be outvoted by a great feature list. And the **70/100 threshold** for a pilot means "worth a spike," not "ship it"; adoption is decided by the spike, not the scorecard.

## Apply it: Microsoft Agent Framework vs. your incumbent

Let's ground this in the actual repository. Reading the [Microsoft Agent Framework README](https://github.com/microsoft/agent-framework) and its [release history](https://github.com/microsoft/agent-framework/releases) gives us hard evidence rather than vibes:

- **Maturity:** Python releases `python-1.24.0` (Oct 30), `python-1.25.0` (Nov 7), and `python-1.26.0` (Nov 13, 2026) — roughly weekly. That is an energetic cadence, but the 1.25.0 notes include `[BREAKING]` changes (dropping Python 3.10, changing OpenTelemetry span names to GenAI conventions), each with a migration note. Fast and documented, but churn is real.
- **License:** MIT — compatible with almost anything.
- **Provider support:** Foundry, Azure OpenAI, OpenAI, GitHub Copilot, Anthropic, Gemini, Bedrock, Ollama, Mistral, and more via separate `agent-framework-*` packages.
- **Observability:** built-in OpenTelemetry with GenAI semantic conventions — plugs into an existing OTel collector rather than a proprietary UI.
- **Evals:** evaluator assertions ship in core (release notes reference failing evaluator assertions when no scores match), plus a DevUI for interactive testing.
- **Migration cost:** official migration guides exist for Semantic Kernel and AutoGen, but not for a bespoke loop.
- **Community:** ~14.7k stars, ~2.6k forks, 3,971 commits, 688 open issues — backed by Microsoft with a Discord and weekly office hours.
- **Security:** a `SECURITY.md` disclosure policy and an explicit AI-contributions policy.

Score it against a LangGraph incumbent (a typical "we already have a graph and a checkpointer" team):

```python
maf = scorecard("Microsoft Agent Framework", {
    "maturity":         (4, "Weekly python-1.x releases; 1.25 notes carry [BREAKING] tags with migrations"),
    "license":          (5, "MIT"),
    "provider_support": (5, "Foundry, Azure OpenAI, OpenAI, Anthropic, Gemini, Bedrock, Ollama"),
    "observability":    (5, "Built-in OTel with GenAI conventions; maps onto existing dashboards"),
    "eval_testing":     (4, "Evaluator assertions in core + DevUI"),
    "migration_cost":   (2, "Semantic Kernel/AutoGen guides exist; no guide for our bespoke loop"),
    "community":        (4, "14.7k stars, Microsoft-backed, Discord + office hours"),
    "security":         (4, "SECURITY.md, dependency review, sandbox samples"),
    "lock_in":          (3, "Multi-provider, but workflow/checkpoint APIs are MAF-shaped"),
})

incumbent = scorecard("LangGraph (incumbent)", {
    "maturity":         (4, "Stable API, predictable minor releases"),
    "license":          (5, "MIT"),
    "provider_support": (5, "Any langchain-* provider package"),
    "observability":    (4, "LangSmith default; OTel possible but we maintain it"),
    "eval_testing":     (4, "LangSmith evals wired in CI"),
    "migration_cost":   (5, "Zero — this is what runs in production today"),
    "community":        (5, "Largest ecosystem of the three"),
    "security":         (4, "Active disclosure process"),
    "lock_in":          (3, "Graph + state shape is LangGraph-specific"),
})

print(compare(maf, incumbent))
```

Output:

```text
LangGraph (incumbent)          88.0/100
  LangGraph (incumbent): PILOT-ELIGIBLE (>= 70)
Microsoft Agent Framework      78.0/100
  Microsoft Agent Framework: PILOT-ELIGIBLE (>= 70)
```

Both clear the 70-point bar, so neither is rejected — but the incumbent's 88 says nothing in production is begging to be replaced, while MAF's 78 (dragged down by `migration_cost = 2`) earns exactly a time-boxed pilot, not a rewrite. This is the correct outcome for most mature codebases: the scorecard's job is to authorize a spike, not to trigger a migration.

## Red flags the scorecard surfaces

Scores without interpretation are theater. Watch for these patterns in your justification notes:

- **Zero on any weighted criterion.** A 0 on `license` or `security` is a hard stop. Note that the `Criterion.weighted` property turns it into 0 points but you should also log it in `blockers`.
- **`maturity` ≤ 1 with `migration_cost` ≥ 3.** Adopting a fast-moving framework into a stable codebase means you inherit their churn. The MAF `[BREAKING]`-per-release pattern is manageable at 4 (they ship migration notes) but would be a 1 if releases broke APIs silently.
- **Observability that requires a new vendor.** If `note` for observability says "use their hosted dashboard," you are trading one silo for another. OTel-native (score 5) beats pretty-but-closed (score 2).
- **Community score driven by stars alone.** Stars measure hype velocity; check issue-response time and whether recent questions got answers from maintainers.
- **Lock-in hiding in the "nice" features.** Checkpointing, handoff graphs, and declarative YAML agents are delightful — and completely framework-shaped. Score the exit cost, not the demo.

## The spike: a two-week proof of concept

A score ≥ 70 buys you a spike, not a migration. Time-box it and define the exit criteria in advance:

1. **Day 1–2: Hello-world parity.** Port one real use case — not a tutorial — into the candidate framework. If the port takes longer than two days, `migration_cost` was scored optimistically; revise it and re-run `compare`.
2. **Day 3–5: Wire observability.** Export traces to your *existing* collector and confirm spans show up beside your current services. This is where OTel-native frameworks earn their 5s.
3. **Day 6–8: Regression evals.** Run your existing eval suite against the candidate. Any score regression is a finding, not a blocker — but three regressions are a pattern.
4. **Day 9–10: Failure drill.** Kill the model provider mid-run, inject a tool exception, and observe recovery. Also verify the upgrade path: install the *next* released version and note how many `[BREAKING]` items touch your spike code.
5. **Write the one-page verdict:** final scores, revised `migration_cost`, LOC touched, and a recommendation — adopt, keep incumbent, or revisit in two quarters.

## Putting It All Together

The workflow is: commit weights → gather evidence → score → interpret red flags → spike → decide. Concretely:

```text
weights (RUBRIC) ──► scorecard(candidate) ──► compare(...) ──► verdict string
        ▲                    │
        └── revised weights ◄┘  (evidence from the two-week spike)
```

For our sample evaluation, the scorecard produced `78.0/100` for Microsoft Agent Framework — strong enough to authorize a pilot (MIT license, OTel-native, broad provider support) while flagging migration cost as the weak joint. The incumbent still scores higher, so the rational move is a strangler-fig pilot: run the candidate beside production on one non-critical workflow, keep the scorecard updated with spike evidence, and let the data — not the README — decide.

## Conclusion and Next Steps

You now have a reusable, code-driven adoption checklist: nine weighted criteria, a blocker mechanism for fatal flaws, a 70-point pilot threshold, and a red-flag vocabulary for reading your own notes honestly. You applied it to Microsoft Agent Framework and saw how hard evidence — release notes, licenses, OTel support — becomes defensible scores.

Your homework:

1. Run the rubric against *your* actual incumbent and one real candidate; commit the scores to a short ADR.
2. Add a `confidence` field (high/medium/low) to `Criterion` and multiply it into `weighted` — evidence quality is as important as the score.
3. Re-score after the spike and diff the two scorecards; the deltas are your most valuable architectural knowledge.
4. Automate the evidence gathering: a tiny CI job that pulls the last 10 release notes and counts `[BREAKING]` entries turns `maturity` from opinion into a metric.
