StackMap
Subscribe
Explore / all-agentic-architectures
FareedKhan-dev

all-agentic-architectures

35 agentic patterns (Reflexion, LATS, GraphRAG, MemGPT, Voyager…) as one Python library plus a runnable textbook — real LLM outputs, 9 providers, benchmark leaderboard, 283 tests.

3,888 670 Jupyter Notebook MITupdated 24 days ago
Curator's take

The reference shelf for agent design, executable: every major pattern from the literature as an `Architecture` class with a uniform contract, each with a fully-run notebook (no mocked outputs) and a benchmark leaderboard ranking patterns per task — so 'which architecture for this job' gets an empirical answer, not a blog opinion. Read it before you invent your own loop. NOT a production framework: the uniform contract serves comparison and learning, and you'll re-implement the winner in your own stack — treat it as the textbook it says it is, not a dependency.

Mapped by ShipWithAI editors · links verified
README.md

Agentic Architectures

Thirty-five production-grade agentic AI patterns. End to end.

A library and a living textbook — real LLM outputs, provider-agnostic, deterministic-picker discipline throughout, and a comparative benchmark leaderboard that ranks every architecture against every relevant task.


CI Docs PyPI License


Quickstart Documentation Architectures Benchmarks Open in Codespaces



  35  

ARCHITECTURES

  283  

PASSING TESTS

  17  

BENCHMARK TASKS

  9  

LLM PROVIDERS

  0  

MOCKED RUNS


Overview

A single Python library that packages every major agentic AI pattern from the literature as a runnable Architecture class with a uniform contract. Each pattern ships with a fully executed Jupyter notebook whose theory is written against the captured run — not synthetic examples. The library is multi-provider (Nebius, OpenAI, Anthropic, Groq, Ollama, Together, Fireworks, Mistral, Google) and built on top of LangGraph state machines.

The central technical discipline of the repository is the deterministic-picker pattern — every LLM-as-Scorer surface has the LLM commit to categorical features (booleans, enums) and lets Python compose the deciding signal. This is the universal escape from the LLM-as-Scorer flat-band pathology, applied in 13 of 35 architectures; 9 more are architecturally immune by design.


Quickstart

pip install "agentic-architectures[nebius,faiss,tavily]"
from agentic_architectures import get_llm
from agentic_architectures.architectures import Reflection

arch = Reflection(llm=get_llm(), max_iterations=2, target_score=8)
result = arch.run("Write a haiku about a glacier.")

print(result.output)
print("score:", result.metadata["final_score"], "/ 10")

Same .run(task) interface across all 35 architectures. Same ArchitectureResult return shape. Swap the class, swap the patter

Continue your stack

What teams reach for next — and why each earns a place beside all-agentic-architectures. Ranked by curator confidence.