</>macrostackBrowse all
Tool profile · LLM & Agent Frameworks

Direct SDKs (no framework)

Top pick

The 2026 consensus: official SDKs + a few hundred lines you own.

93
sovereignty

The strongest LangChain alternative today is often no framework at all. Modern models ship native tool calling, structured outputs, and long context — the very things LangChain was built to scaffold — so the official Anthropic/OpenAI/Mistral SDKs (MIT/Apache-licensed) plus a small amount of your own orchestration code covers most real applications. You keep full debuggability (a stack trace is your code, not five layers of framework), zero dependency churn, and total freedom to swap providers. Engineering write-ups since 2024 keep landing on the same conclusion: start direct, add a framework only when a specific need demands it — not the other way around.

OPEN SOURCEYour code (official SDKs: MIT / Apache-2.0)SELF-HOSTLOCAL-FIRST
LicenseYour code (official SDKs: MIT / Apache-2.0)
PricingFree — you pay only your model provider; no framework tier, no per-seat tooling
Open sourceYes
Self-hostableYes
Local-first dataYes

What it does well

  • +Every line is yours: debugging is a stack trace, not archaeology
  • +No abstraction churn or breaking framework releases
  • +Trivially swaps model providers; pairs cleanly with MCP for tools
  • +Less code than the equivalent chain in many real apps

Where it falls short

  • You write your own retries, streaming, and evaluation plumbing
  • Big multi-agent orchestration is where hand-rolling gets costly

Direct SDKs (no framework) as an alternative to

Where Direct SDKs (no framework) shows up in our comparisons, and how it ranked.

Direct SDKs (no framework) head-to-head

Straight comparisons against the tools people weigh it against.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.