Source: https://seerepo.com/compare/Aider-AI/aider/vs/stanfordnlp/dspy
Markdown source: https://seerepo.com/compare/Aider-AI/aider/vs/stanfordnlp/dspy.md
Description: aider and dspy share 4 technologies: diskcache, anyio, Pydantic, and jsonschema. Both are written in Python.

# aider vs dspy

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

- [Aider-AI/aider](https://seerepo.com/r/Aider-AI/aider): aider is AI pair programming in your terminal
- [stanfordnlp/dspy](https://seerepo.com/r/stanfordnlp/dspy): DSPy: The framework for programming—not prompting—language models

## What they share and what sets them apart

- In common: diskcache, anyio, Pydantic, jsonschema
- Only in aider: aiosqlite, gitdb, google-cloud-core, pyarrow, SQLite, Mixpanel, PostHog, AIOHTTP, asgiref, FastAPI, starlette, tornado, Streamlit, cycler, fonttools, just-the-docs, soupsieve, altair, contourpy, matplotlib, pydeck, Rich, prompt-toolkit, SQLAlchemy, cryptography, Google, llama-index-instrumentation, llama-index-workflows, nltk, OpenAI, safetensors, scikit-learn, sentence-transformers, tiktoken, tokenizers, torch, transformers, litellm, llama-index-core, llama-index-embeddings-huggingface, filetype, imgcat, jinja2, markdown-it-py, markupsafe, mdurl, tinytag, pillow, beautifulsoup4, pypandoc, annotated-types, jsonschema-specifications, marshmallow, referencing, psutil
- Only in dspy: gepa

## Side by side

| | aider | dspy |
|---|---|---|
| Size | 41,407 lines written, 93 code files | 132,756 lines written, 267 code files |
| Who writes it | 89.5% of its commits signed by AI. With Aider, Gemini CLI, Codex, and Claude Code | 5.1% of its commits signed by AI. With Amp, Claude Code, Factory, GitHub Copilot, and Devin |
| Activity | Last push May 22, 2026, 12,461 commits, 50,047 stars | Last push November 6, 2026, 4,029 commits, 38,961 stars |
| Tests | 57 test files. 36.6% of its code files have a test that imports them | 164 test files. 49.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/stanfordnlp/dspy/tree/c4005960089acaf5b3b0c358fd5cf19b2152d68c)

### Which has more GitHub stars, aider or dspy?

aider, with 50,047 stars; dspy has 38,961.

The proof: [Aider-AI/aider on GitHub](https://github.com/Aider-AI/aider)

### Which has more tests, aider or dspy?

dspy, with 164 test files; aider has 57.

The proof: [stanfordnlp/dspy's code at commit c400596](https://github.com/stanfordnlp/dspy/tree/c4005960089acaf5b3b0c358fd5cf19b2152d68c)

### 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](https://github.com/stanfordnlp/dspy/commits)

### 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](https://seerepo.com/r/Aider-AI/aider/ai)

## Sources

- Aider-AI/aider: Read on November 10, 2026, at commit 5dc9490 (https://github.com/Aider-AI/aider/tree/5dc9490bb35f9729ef2c95d00a19ccd30c26339c)
- stanfordnlp/dspy: Read on November 6, 2026, at commit c400596 (https://github.com/stanfordnlp/dspy/tree/c4005960089acaf5b3b0c358fd5cf19b2152d68c)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
