Perch.
Perch lets you write code rules the way you'd say them in a review, such as "store money in integer cents" or "never build SQL from strings", and checks each changed method against them.
Project overview
The short version
Perch lets you write code rules the way you'd say them in a review, such as "store money in integer cents" or "never build SQL from strings", and checks each changed method against them. It parses the repo with tree-sitter so every method is read with its callers and callees, then asks a model whether the rule holds. The CLI is MIT-licensed and can use a model provider you configure. Hosted checks cost 10¢ per 1,000 rule checks, cached checks are free, and the first $5 of usage is free.
Project facts
Project details
- Category
- Other
- Type
- Not listed
- Platforms
- See Project Note
- Pricing
- See Project Note
- Availability
- Other
- Published
- Oct 24, 2026
Details come from the published Project Note and named sources. Check the project site for current terms. The Note may have more context when a fact isn't recorded here.
Before you visit
Good to know
Built for
- Code owners and small teams who want house rules enforced on human and agent-written changes, and who are comfortable sending code to a model provider.
More to explore
Related projects
Related links
Profile tools
Building something useful?
Submit your project for free. If selected, it gets a profile that explains what it does and links to your work. Publication isn't guaranteed.
Submit a project