Source: https://seerepo.com/compare/earendil-works/pi/vs/n8n-io/n8n
Markdown source: https://seerepo.com/compare/earendil-works/pi/vs/n8n-io/n8n.md
Description: pi and n8n share 4 technologies: OpenAI, Anthropic, yaml, and highlight.js. Both are written in TypeScript.

# pi vs n8n

pi and n8n share 4 technologies: OpenAI, Anthropic, yaml, and highlight.js. Both are written in TypeScript.

- [earendil-works/pi](https://seerepo.com/r/earendil-works/pi): AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
- [n8n-io/n8n](https://seerepo.com/r/n8n-io/n8n): Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

## What they share and what sets them apart

- In common: OpenAI, Anthropic, yaml, highlight.js
- Only in pi: React, lowlight, marked, @aws-sdk/client-bedrock-runtime, @silvia-odwyer/photon-node, typebox, @xterm/headless
- Only in n8n: Postgres, Supabase, MCP, Vite, Redis, Express, Vue, vue-router, MongoDB, SQLite, lru-cache, Sentry, PostHog, MySQL, Kafka, ai, @ai-sdk/provider-utils, Zod, Ajv, opentelemetry, LangChain, pdf-parse, @joplin/turndown-plugin-gfm, @mozilla/readability, turndown, xss, validator, logform, winston, jose, jsonwebtoken, CodeMirror, @lezer/highlight, class-validator, linkedom, mammoth, @clack/prompts, @aws-sdk/credential-providers, epub2, Cheerio, html-to-text, sanitize-html, bcryptjs, otpauth, file-type, nodemailer, class-transformer, markdown-it, tiptap, vuedraggable, Chart.js, katex, rss-parser, pdfjs-dist

## Side by side

| | pi | n8n |
|---|---|---|
| Size | 677,258 lines written, 1,543 code files | 5,241,398 lines written, 14,224 code files |
| Who writes it | 0.3% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, and Amp | 14.4% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit |
| Activity | Last push November 4, 2026, 7,130 commits, 119,972 stars | Last push November 4, 2026, 26,047 commits, 209,517 stars |
| Tests | 1,475 test files. 46.8% of its code files have a test that imports them | 10,704 test files. 53.7% 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, pi or n8n?

n8n, with 5,241,398 lines written; pi has 677,258.

The proof: [n8n-io/n8n's code at commit d5e7db2](https://github.com/n8n-io/n8n/tree/d5e7db2bf57dbc06e65648cdbec7f5db6b91bedc)

### Which has more GitHub stars, pi or n8n?

n8n, with 209,517 stars; pi has 119,972.

The proof: [n8n-io/n8n on GitHub](https://github.com/n8n-io/n8n)

### Which has more tests, pi or n8n?

n8n, with 10,704 test files; pi has 1,475.

The proof: [n8n-io/n8n's code at commit d5e7db2](https://github.com/n8n-io/n8n/tree/d5e7db2bf57dbc06e65648cdbec7f5db6b91bedc)

### Which was updated more recently, pi or n8n?

Both got their last push on November 4, 2026.

The proof: [earendil-works/pi's commits on GitHub](https://github.com/earendil-works/pi/commits)

### Which has more commits signed by AI, pi or n8n?

n8n: an AI signed 14.4% of its commits, with Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit; in pi, 0.3%.

The proof: [the commits each tool signed in n8n-io/n8n](https://seerepo.com/r/n8n-io/n8n/ai)

## Sources

- earendil-works/pi: Read on November 4, 2026, at commit e885255 (https://github.com/earendil-works/pi/tree/e88525506177d22b6e93029d8f6db1aab323c74a)
- n8n-io/n8n: Read on November 4, 2026, at commit d5e7db2 (https://github.com/n8n-io/n8n/tree/d5e7db2bf57dbc06e65648cdbec7f5db6b91bedc)

## 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.
