aider vs dspy

aider and dspy share 4 technologies: diskcache, anyio, Pydantic, and jsonschema. Both are written in Python.

Read it as markdown

What they share and what sets them apart

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
aider41,407 lines written93 code files
dspy132,756 lines written267 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
aider89.5% of its commits signed by AIWith Aider, Gemini CLI, Codex, and Claude Code
dspy5.1% of its commits signed by AIWith Amp, Claude Code, Factory, GitHub Copilot, and Devin
ActivityFrom GitHub and its history, on the day SeeRepo read it.
aiderLast push May 22, 202612,461 commits50,047 stars
dspyLast push November 6, 20264,029 commits38,961 stars
TestsThe files that test the code, and the share of code files a test imports.
aider57 test files36.6% of its code files have a test that imports them
dspy164 test files49.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, aider or dspy?
dspy, with 132,756 lines written; aider has 41,407.

The proof: stanfordnlp/dspy's code at commit c400596

Which has more GitHub stars, aider or dspy?
aider, with 50,047 stars; dspy has 38,961.

The proof: Aider-AI/aider on GitHub

Which has more tests, aider or dspy?
dspy, with 164 test files; aider has 57.

The proof: stanfordnlp/dspy's code at commit c400596

Which was updated more recently, aider or dspy?
dspy: its last push was on November 6, 2026, and aider's on May 22, 2026.

The proof: stanfordnlp/dspy's commits on GitHub

Which has more commits signed by AI, aider or dspy?
aider: an AI signed 89.5% of its commits, with Aider, Gemini CLI, Codex, and Claude Code; in dspy, 5.1%.

The proof: the commits each tool signed in Aider-AI/aider

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →