skills/agentic/frameworks/SKILL.md
Use when selecting or comparing agentic frameworks (LangChain, LangGraph, CrewAI, AutoGen, etc.) — curated comparison by use case, language, and maturity. Gets latest context via Context7 when available. NOT for reviewing existing agentic code (use review-methodology) or architecture patterns (use agentic-patterns).
npx skillsauth add mikeparcewski/wicked-garden wicked-garden-agentic-frameworksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive guide to agentic frameworks, their strengths, and how to choose the right one.
| Framework | Language | Best For | Maturity | Learning Curve | |-----------|----------|----------|----------|----------------| | Anthropic ADK | TypeScript | Claude-specific, production | High | Low | | LangGraph | Python | Complex workflows, state | High | Medium | | CrewAI | Python | Role-based teams | Medium | Low | | AutoGen | Python | Multi-agent conversations | Medium | Medium | | Pydantic AI | Python | Type-safe agents | Medium | Low | | OpenAI Agents SDK | Python | OpenAI-specific | Low | Low | | LlamaIndex Agents | Python | RAG-heavy applications | High | Medium | | Haystack | Python | Production pipelines | High | Medium | | Semantic Kernel | C#/Python | Microsoft ecosystem | Medium | Medium | | LangChain | Python | Rapid prototyping | High | Medium-High | | Agency Swarm | Python | OpenAI Assistants API | Low | Low | | Dify | Low-code | No-code workflows | Medium | Very Low |
Simple Sequential:
Complex Workflows:
Team-Based:
No Built-in State: LangChain, Pydantic AI
Checkpointed State: LangGraph (built-in), ADK (context preservation)
Distributed State: Custom implementation needed for all
Extensive Tool Libraries: LangChain (largest ecosystem), LlamaIndex (RAG-focused), Haystack (production tools)
Easy Tool Definition: Pydantic AI (type-safe), ADK (TypeScript decorators), OpenAI Agents SDK (function calling)
Custom Tools: All frameworks support custom tools
Built-in Retry/Fallback: ADK (comprehensive), LangGraph (error handling nodes), Haystack (pipeline error handling)
Manual Error Handling: CrewAI, AutoGen, Pydantic AI
Native Tracing: LangSmith (for LangChain/LangGraph), Braintrust (for ADK)
Third-Party Integration: All support OpenTelemetry, most support LangFuse, Arize
See refs/framework-profiles-1.md (ADK, LangGraph, CrewAI) and refs/framework-profiles-2.md (AutoGen, Pydantic AI, LlamaIndex) for detailed profiles.
Best for: Production Claude applications Strengths: TypeScript with type safety, built-in context management, comprehensive error handling, delegated workflows Weaknesses: Claude-only, TypeScript/Node only, smaller community When to choose: Building on Claude exclusively, TypeScript/Node stack, need production-ready patterns
Best for: Complex stateful workflows Strengths: State machine abstraction, built-in checkpointing, human-in-the-loop support, time-travel debugging Weaknesses: Steeper learning curve, can be overkill, more boilerplate When to choose: Complex workflows with branches/loops, need state persistence, want human approval gates
Best for: Role-based agent teams Strengths: Intuitive role/task abstraction, simple API, good for hierarchical teams Weaknesses: Less mature, limited state management, fewer production features When to choose: Team-based workflows, quick prototyping, straightforward delegation
Best for: Multi-agent conversations Strengths: Flexible conversation patterns, group chat capabilities, human-in-the-loop Weaknesses: Can be verbose, conversation management complexity When to choose: Agents need to debate/collaborate, conversational workflows
Best for: Type-safe Python agents Strengths: Type safety via Pydantic, simple clean API, dependency injection, multi-provider Weaknesses: New/less mature, smaller ecosystem, limited orchestration patterns When to choose: Want type safety, simple agent use cases, already using Pydantic
Best for: RAG-heavy applications Strengths: Excellent retrieval capabilities, query planning, tool use with data Weaknesses: Best for RAG use cases, heavier framework When to choose: Heavy RAG requirements, complex data retrieval, query planning needs
Start: What's your primary use case?
├─ Complex stateful workflow with branches/loops
│ └─ Use: LangGraph
├─ Role-based team of agents
│ └─ Use: CrewAI or ADK
├─ RAG-heavy application
│ └─ Use: LlamaIndex Agents
├─ Multi-agent conversations/debates
│ └─ Use: AutoGen
├─ Simple sequential workflow
│ ├─ TypeScript?
│ │ └─ Use: ADK
│ └─ Python?
│ └─ Use: Pydantic AI or LangChain
├─ Production pipeline
│ └─ Use: Haystack or ADK
└─ Maximum flexibility
└─ Build from scratch or use LangGraph
Python Frameworks: LangChain, LangGraph, CrewAI, AutoGen, Pydantic AI, LlamaIndex
TypeScript Frameworks: Anthropic ADK
C# Frameworks: Semantic Kernel
Multi-Provider (LLM-agnostic): LangChain, LangGraph, CrewAI, AutoGen, Pydantic AI
Single-Provider (Optimized): ADK (Claude), OpenAI Agents SDK (OpenAI)
Most Production-Ready: Anthropic ADK, LangGraph, Haystack, LlamaIndex
Good for Production: CrewAI, LangChain, AutoGen
Early/Experimental: Pydantic AI, OpenAI Agents SDK, Agency Swarm
Build from scratch if: very simple use case, specific requirements unmet, want maximum control, or learning exercise. Framework overhead not worth it for single LLM calls, static prompts, or no agent behavior.
Just getting started: CrewAI or Pydantic AI | State management: LangGraph | TypeScript: ADK | RAG: LlamaIndex | Team-based: CrewAI or ADK | Max flexibility: LangGraph | Production Claude: ADK
refs/framework-profiles-1.md - ADK, LangGraph, CrewAI detailed profilesrefs/framework-profiles-2.md - AutoGen, Pydantic AI, LlamaIndex profiles + comparison matrixrefs/migration-patterns-paths.md - Common migration paths between frameworksrefs/migration-patterns-testing.md - Migration testing, rollback, and effort estimatesdevelopment
Pattern-conformance agent-half: evaluates a produced artifact or diff against a set of architectural/design pattern rules from the conformance-rule store (wicked_governance schema). Returns structured findings with rule ID, severity, and rationale — the deterministic half (mechanical rule recall) is done by the guard pipeline; this is the semantic evaluation step. Triggered by: the guard_pipeline `outgov_pattern` check (session-close), or explicitly by an engineering review when WICKED_OUTGOV_RULES_DIR is populated. NOT a replacement for the full `engineering` review skill — focuses only on conformance to stored Pattern rules; architecture and code-quality checks live in the `engineering` skill. Semantic evaluation reuses `wicked-garden-qe-semantic-reviewer` as the designated agent-half evaluator (per garden#983 spec). This skill is the orchestrating wrapper that loads applicable Pattern rules and delegates the per-rule semantic judgment to qe-semantic-reviewer.
tools
The FOUNDATIONAL domain-model capability: extract a codebase's domain — testable business rules (with confidence + provenance), entities, requirements — as a schema-conformant model on the estate graph. The workers annotate the store; wicked-core reads it and builds the requirements graph, coverage-gating fail-closed. Steers three fork workers. A shared substrate, not a modernization tool. The `modernize` archetype DERIVES from it; build / migrate / review / specify / explore consume the SAME domain model — none OWN it. Understanding a codebase's domain is upstream of almost everything else garden does. Use when: "extract the business rules / domain model from this codebase", "build a requirements graph from the code", "what does this system actually require", "reverse-engineer the domain before we build/port/migrate". Works on ANY codebase (modern or legacy) — the value is the domain model, not the porting. NOT the code transform itself (that is the archetype consuming this model). This skill produces the DOMAIN MODEL, not new code.
development
Domain-graph fork worker for the modernize archetype. Groups the estate's Louvain communities into business domains, attaches each requirement to its cluster (advisory cluster_id provenance), and invokes wicked-core's domain-graph build (which reads the annotated estate store, recomputes coverage fail-closed, and builds the requirements graph) — then validates core's output against the vendored schema. Use when: dispatched by wicked-garden-domain after rule extraction to turn a flat rule set into cluster-keyed domains; "group these into domains", "build the requirements graph", "translate clusters into a domain model". NOT for mining the rules themselves (that is domain-extractor) or threat-modeling (that is domain-coverage).
tools
Rule-extraction fork worker for the FOUNDATIONAL domain-model capability. Mines testable business rules from a codebase — each with a numeric confidence and a provenance{source, ref, source_kinds} — and annotates them into the estate store so wicked-core can build the domain-model requirements graph (coverage-gated). This is a substrate, not a modernization tool: the `modernize` archetype DERIVES from it, and build / migrate / review / specify / explore can consume the same domain model — none OWN it. Use when: dispatched by wicked-garden-domain to mine the business_rules of a codebase (or a module); "extract the domain rules", "what does this system require", building the requirements half of a domain model. NOT for grouping into domains (that is domain-modeler) or judging coverage (that is domain-coverage — a seat-distinct evaluator).