Match the tool to your team and use case rather than chasing star counts. Practical decision paths for SMB/mid-market as of June 2026:
CODE FRAMEWORKS (you have engineers).
- Python, want fine-grained control over multi-step/stateful workflows: LangGraph. Most production-proven, but has a learning curve.
- Python, want type-safe, clean, maintainable code with validated outputs: Pydantic AI. Best developer experience for structured agents.
- Python, want a 'team of role-playing agents' framing fast: CrewAI. Easiest mental model for multi-agent.
- Python, want minimal and hackable / open-weights and local: Hugging Face smolagents (pair with a sandbox).
- TypeScript/Node/Next.js shop: Mastra (full framework) or OpenAI Agents SDK (TS) — don't force Python.
- Already standardized on a model provider: OpenAI Agents SDK (OpenAI), Anthropic Claude Agent SDK (Claude, also best for code/computer-use agents), Google ADK (Gemini/GCP, also Java/Go), Strands (AWS/Bedrock).
- .NET / C# / Azure shop: Microsoft Semantic Kernel — but target its successor, Microsoft Agent Framework (MAF), for new builds.
- Document/RAG-heavy product: LlamaIndex Workflows (best retrieval, parsing, extraction stack).
- Long-term memory / personalization is the core differentiator: Letta.
LOW-CODE / VISUAL (limited or no deep engineering capacity — often the right call for SMBs).
- All-in-one production LLM app platform (RAG + agents + deploy): Dify. Best 'ship without a big eng team' option; note its license has minor restrictions.
- Automation-first, connect AI into existing SaaS (CRM, email, Slack): n8n. Fair-code license (source-available, commercial limits) — check terms.
- Fully permissive, self-owned visual builder: Flowise (Apache-2.0, no usage strings).
CODING AGENTS (automate software development).
- Per-developer AI pair programmer in the IDE with reviewable diffs: Cline (or Goose for a local/terminal/desktop, MCP-extensible alternative). Both free, pay only for tokens — the easiest way to give a small team coding agents.
- Autonomous 'do the whole ticket' agent you self-host: OpenHands. Heavier to run but powerful.
- Transparent, minimal, research-grade issue-fixer: SWE-agent / mini-swe-agent (for technically strong teams).
AVOID FOR NEW PROJECTS: Microsoft AutoGen is in maintenance mode (frozen async stack, breaking infra changes flagged for late 2026). Choose Microsoft Agent Framework if you're in the Microsoft camp, or AG2 only if you're already committed to that community fork.
GENERAL SMB GUIDANCE: Favor permissive licenses (MIT/Apache-2.0) and self-hostable cores to avoid lock-in and per-seat costs; nearly all the code frameworks here are free OSS where you pay only model-token costs. Don't adopt a heavy graph framework for a single simple chatbot — start with a lightweight SDK (OpenAI Agents SDK, Pydantic AI, Strands) or a low-code platform (Dify/Flowise) and graduate to LangGraph/CrewAI only when workflows genuinely become multi-step. Be deliberate about model-provider gravity: provider-native SDKs are the smoothest path when you've already picked a model, while LangGraph, CrewAI, Pydantic AI, Mastra and smolagents keep you model-agnostic. Budget for safety/observability (sandboxing for code-execution agents, human-in-the-loop review for autonomous coding agents) regardless of framework.
| Harness | Type | License | Stars | Best for | SMB fit |
|---|---|---|---|---|---|
n8n GmbH · TypeScript/Node.js (used via visual UI) | low-code | Sustainable Use License (fair-code; source-available, commercial restrictions) | 194.0k | Visual workflow automation with 400+ integrations now augmented by a first-class AI Agent node, so you can chain LLM calls into real business automation (CRM, email, Slack, DBs). Best for connecting agents to the rest of your SaaS stack. | Excellent SMB fit. Self-host free or use n8n Cloud; integrates AI into existing operational workflows that SMBs already care about. Ideal when automation + light agentic AI beats building a bespoke agent app. Check license terms for commercial redistribution. |
LangGenius · Python (backend), TypeScript (frontend) — used via visual UI | low-code | Dify Open Source License (Apache-2.0 with minor restrictions) | 129.0k | All-in-one visual platform combining agentic workflow builder, RAG pipelines, model management, prompt engineering, observability and one-click app deployment. Best for shipping production LLM apps fast with minimal code. | Excellent SMB fit. Lets non-deep-engineering teams build RAG chatbots, internal assistants and workflows visually, self-host for data control, or use Dify Cloud. One of the best 'get to production without a big eng team' options. |
ByteDance · Python + TypeScript | SuperAgent harness | MIT | 73.9k | Long-horizon autonomous work (research, coding, content). LangGraph/LangChain-based multi-agent runtime with a filesystem sandbox, persistent cross-session memory, on-demand skill modules, MCP tools, and native IM integration (Slack/Telegram/Lark/WeChat). | Strong for self-hosted research/ops automation; free and MIT, but expect real infra to run it well. |
All Hands AI · Python | coding-agent | MIT | 70.0k | Autonomous AI software engineer that executes complex coding tasks end-to-end (reads code, edits files, runs commands, browses) and collaborates with developers. Model-agnostic. Best open-source 'do the whole ticket' coding agent. | Good fit for SMB software teams wanting to automate GitHub-issue-style dev work without per-seat SaaS fees. MIT-licensed and self-hostable, or use the OpenHands cloud. Requires engineering comfort to operate safely. |
Cline · TypeScript (VS Code/JetBrains extension, SDK, CLI) | coding-agent | Apache-2.0 | 62.0k | In-IDE autonomous coding agent that reads your codebase, creates/edits files with reviewable diffs and checkpoints, runs terminal commands and drives a real browser, asking approval at each step. Best for human-supervised pair-programming inside VS Code/JetBrains. | Excellent SMB fit for developer productivity. Free, open-source (Apache-2.0), pay only for model tokens, no per-seat SaaS lock-in. Easiest 'give every developer an AI coding agent' option for small teams. |
Microsoft (AutoGen) / ag2ai community (AG2 fork) · Python, .NET | multi-agent | MIT (AutoGen) / Apache-2.0 (AG2) | 55.0k | Conversational/event-driven multi-agent research and prototyping; AG2 preserves the classic GroupChat style for teams already invested in it. Strong for experimentation and agent-to-agent conversation patterns. | Weak for new SMB projects due to maintenance-mode status and fork confusion. Only pick if you already run AutoGen; otherwise choose Microsoft Agent Framework (if .NET/Azure) or CrewAI/LangGraph. |
CrewAI Inc. · Python | multi-agent | MIT | 52.0k | Role-based multi-agent 'crews' (e.g. researcher + writer + reviewer) with built-in process types (sequential/hierarchical). Fastest path to a believable multi-agent demo with readable, role-oriented code. | Strong SMB fit. Approachable Python API, fast to prototype, MIT-licensed and free to self-host. Enterprise AMP add-on is optional. Good when a small team wants 'team of agents' framing without low-level plumbing. |
FlowiseAI (acquired by Workday) · TypeScript/Node.js (used via visual UI) | low-code | Apache-2.0 | 51.0k | Drag-and-drop builder with three modes — Agentflow (multi-agent), Chatflow (single-agent RAG) and classic LLM chains. Apache-2.0 with no usage restrictions, so you fully own your self-hosted deployment. Best free, unrestricted visual builder. | Strong SMB fit. Truly permissive Apache-2.0 license (no commercial strings unlike n8n), self-hostable, good for prototyping RAG bots and simple multi-agent flows. Best when you want a no-restrictions visual tool you fully control. |
LlamaIndex (run-llama) · Python, TypeScript | graph / event-driven | MIT | 50.0k | Event-driven orchestration (steps emit/consume typed events; branch, loop, parallelize, persist, recover) layered on LlamaIndex's best-in-class RAG, document parsing (LlamaParse) and structured extraction. Best when your agent is fundamentally about documents and retrieval. | Strong SMB fit for document-heavy use cases (knowledge bases, contract/PDF processing, RAG chatbots). Free OSS core, with optional managed LlamaCloud for parsing at scale. Less ideal for non-RAG agent work. |
Block (Square / Cash App) · Rust | coding-agent | Apache-2.0 | 47.0k | Local-first, extensible general-purpose agent (desktop app, CLI, API) that installs, executes, edits and tests code with any LLM (15+ providers) and connects to 70+ MCP extensions. Best for a fast, native, vendor-neutral local agent. | Strong SMB fit for dev teams wanting a free, local, MCP-extensible agent with no per-seat cost and no lock-in (Apache-2.0, LF-governed). Runs on macOS/Linux/Windows. Good Cline alternative for terminal/desktop-centric workflows. |
LangChain · Python, JavaScript/TypeScript | graph | MIT | 34.0k | Stateful, long-running, controllable agent workflows where you need explicit control over branching, loops, checkpointing, human-in-the-loop and durable execution. The default 'serious' framework when you outgrow simple chains. | Good for SMBs with at least one engineer who will own the agent. Open-source core is free and self-hostable; managed Platform costs money but is optional. Overkill for a single simple chatbot, ideal once workflows get multi-step. |
Microsoft · C#/.NET, Python, Java | SDK | MIT | 28.0k | Enterprise-grade orchestration for .NET (and Python/Java) shops: plugins/skills, planners, session state, type safety, middleware, telemetry, plus A2A protocol support. Best choice for Microsoft/Azure-centric organizations, especially C#. | Good SMB fit specifically for .NET/Azure shops (rare among these frameworks in offering first-class C#). MIT-licensed and free. For new projects, start on Microsoft Agent Framework rather than legacy Semantic Kernel directly. |
OpenAI · Python, TypeScript | SDK | MIT | 26.0k | Lightweight multi-agent workflows with handoffs, guardrails and built-in tracing. Cleanest option if you're already standardized on OpenAI models, though it's provider-agnostic and supports 100+ LLMs via Chat Completions. | Excellent SMB fit if OpenAI is already your model provider. Minimal, readable API, free and open-source, fast onboarding. Provider-agnostic enough to avoid hard lock-in. Great default for a small team building 1-3 agents. |
Hugging Face · Python | SDK / code-agent | Apache-2.0 | 26.0k | Minimal, ~1,000-line library for agents that 'think in code' (CodeAgent writes/executes Python) plus a classic ToolCallingAgent. Model-agnostic (any HF Hub, OpenAI, Anthropic, Ollama, local via LiteLLM). Best for simplicity and code-first reasoning. | Strong SMB fit for technical teams wanting something tiny and hackable with no lock-in. Pair with a sandbox provider for safety. Great for local/open-weights deployments where avoiding cloud LLM bills matters. |
Mastra (ex-Gatsby team) · TypeScript | SDK / graph | Apache-2.0 (Elastic License v2 for some components) | 22.0k | Modern TypeScript-native framework for agents and AI apps: agents, workflows (graph), RAG, memory, evals and observability in one cohesive package. Best agent framework for JavaScript/TypeScript and Node/Next.js teams. | Excellent SMB fit for web/full-stack teams already in TypeScript who don't want to context-switch to Python. Free OSS core, integrates with Vercel/Next.js. The natural pick alongside OpenAI Agents SDK (TS) for JS shops. |
Princeton & Stanford (academic) · Python | coding-agent | MIT | 20.0k | Taking a GitHub issue and automatically fixing it with your chosen LM via a well-designed agent-computer interface; also used for offensive cybersecurity and competitive coding. mini-swe-agent is a radically simple ~100-line variant scoring >74% on SWE-bench Verified. | Niche SMB fit. Best for technically strong teams or researchers who want a transparent, hackable, MIT-licensed coding agent and bench-style automation. mini-swe-agent is a great minimal starting point; less suited to non-engineers. |
Pydantic (Samuel Colvin's team) · Python | SDK | MIT | 17.0k | Type-safe agents with validated, structured outputs from the ground up. Excellent IDE/type-checker ergonomics, moving errors from runtime to write-time. Model-agnostic across nearly every major provider. Ideal when output correctness and DX matter. | Excellent SMB fit for Python shops that value clean, typed, maintainable code. Low ceremony, free OSS, broad model support avoids lock-in. Great default for structured-data and tool-using agents. |
Letta (UC Berkeley Sky Lab founders) · Python | SDK / stateful-agent platform | Apache-2.0 | 17.0k | Stateful agents with advanced, tiered long-term memory (core/recall/archival) that learn and self-improve over time. Best when persistent identity and memory across sessions are the core requirement (personal assistants, long-lived support agents). | Niche but valuable SMB fit when memory/personalization is the differentiator (e.g. a customer assistant that remembers each user). Apache-2.0 and self-hostable. Overkill if you only need stateless task agents. |
Google · Python, Java, Go (plus TypeScript/Kotlin) | graph / SDK | Apache-2.0 | 16.0k | Code-first, multi-language agent building with a graph execution engine (routing, fan-out/fan-in, loops, retries, HITL, nested workflows) and structured A2A agent-to-agent delegation. Best if you're on Google Cloud / Gemini or need Java/Go. | Good SMB fit if you're a Google Cloud / Gemini shop or need non-Python (Java/Go) agents. Apache-2.0 and free to self-host. Less compelling for teams with no Google footprint. |
Anthropic · Python, TypeScript | coding-agent / SDK | MIT | 8.0k | Building agents that act like Claude Code: built-in file read/edit, command execution, codebase awareness, GitHub @claude integration, structured JSON outputs, programmatic subagents. Best-in-class for coding and computer-use style agents on Claude models. | Very good SMB fit for teams using Claude, especially for dev-tooling and code-automation agents. Batteries-included tools mean less plumbing. Watch the Agent SDK credit billing model for cost predictability. |
AWS · Python, TypeScript | SDK | Apache-2.0 | 6.1k | Model-driven agents in a few lines of code — give a prompt plus tools and let the LLM plan and chain tool calls autonomously, with strong built-in observability. Best for AWS/Bedrock-centric teams wanting a clean, any-model, any-cloud harness. | Good SMB fit, especially on AWS/Bedrock, but useful any-cloud. Apache-2.0 and free; the model-driven, low-boilerplate design is approachable for small teams. Verify maturity for mission-critical use given its newer status. |
At a glance
DeerFlow
SuperAgent harness⚠ Heavier runtime (Docker sandbox, memory layer); "SuperAgent" scope is more than simple workflows need.
LangGraph
graph⚠ Steeper learning curve; graph/state mental model is verbose for simple tasks; tied to the broader LangChain ecosystem which some teams find heavyweight; best features (Platform, persistence, observability) push you toward paid LangSmith/LangGraph Platform.
CrewAI
multi-agent⚠ Higher-level abstraction means less fine-grained control than LangGraph; can be hard to debug when agents loop or stall; orchestration is opinionated; production reliability historically weaker than the graph frameworks.
Microsoft AutoGen / AG2
multi-agent⚠ AutoGen is no longer Microsoft's recommended path for new production builds (steer to Microsoft Agent Framework); frozen async stack with breaking infra changes flagged for late 2026. Fragmentation across AutoGen v0.7, MAF, and AG2 creates real adoption confusion. No native concept of a 'process' without extra code.
OpenAI Agents SDK
SDK⚠ Thinner on durable state/persistence than LangGraph; tracing/observability nudges you toward the OpenAI platform; ecosystem younger than LangChain's; advanced features (sandbox, long-horizon) tie best into OpenAI infra.
Anthropic Claude Agent SDK
coding-agent / SDK⚠ Centered on Claude models (less model-agnostic than rivals); newer SDK so smaller third-party ecosystem; as of June 2026 SDK usage draws from a separate monthly Agent SDK credit, adding a billing dimension to plan for.