Report · marked 10 Oct 2026
PostHog/posthog
Solid foundations, held back in a few specific places.
Python · 40,211 stars · 50,970 files · branch master
Higher is better. Accent marks what is costing you most.
Fix these first
The full marking
Every deduction below names the file or setting it came from.
Instructions 25/27 A+
Whether the repo tells an agent how to behave before it starts guessing.
Setup 20/20 A+
Whether an agent can install the project and get it running without a human.
Verification loop 21/25 A-
Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.
Context economy 9/20 C
Whether the repo fits in a context window, or fights it.
Here is your AGENTS.md
Drafted from what is actually in this repository: the install
command from your lockfile, the commands you already declare, your real directory layout. Anything
marked TODO needs a person. Save it at the root as AGENTS.md.
# AGENTS.md :hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP. ## Setup ``` pnpm install ``` ## Commands ``` pnpm start # run the app pnpm lint # lint pnpm format # format pnpm prepare pnpm schema:build pnpm openapi:build pnpm schema:build:python pnpm grammar:build ``` ## Layout - `products/` 24622 source files - `frontend/` 5952 source files - `posthog/` 3631 source files - `nodejs/` 1806 source files - `packages/` 1142 source files - `ee/` 788 source files ## Conventions - Tests live alongside the code they cover, following `.agents/skills/triaging-merge-queue-failures/scripts/mq-queue-state.test.sh`. - CI defines what passing means. See `.github/workflows/_rust-build-images.yml`, and keep it green. - TODO: add the two or three conventions a newcomer always gets wrong here. ## Gotchas - `posthog/schema.py` is 1417KB. It will not fit comfortably in context, so read it in parts. - Copy `.env.example` before running anything that needs configuration. --- Drafted by agentreadme.com from what is in this repository. Everything marked TODO needs a human. Check it in as AGENTS.md at the root.
Open the raw markdown
or
curl -o AGENTS.md agentreadme.com/draft/PostHog/posthog.md
A draft gets the commands right and stops at the things only a maintainer knows. What a good Python AGENTS.md looks like covers what to add by hand, and what AGENTS.md is explains the format itself.
Show the mark
The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.
[](https://agentreadme.com/PostHog/posthog)Other Python repositories, marked
Think this mark is wrong?
Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.
This repository is large enough that GitHub truncated the file listing, so the file-level checks ran on a sample.