# Enforce consistent code for agents and humans with konsistent

DevFeed: [Enforce consistent code for agents and humans with konsistent](<https://devfeed.tech/articles/enforce-consistent-code-for-agents-and-humans-with-konsistent-914.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/enforce-consistent-code-for-agents-and-humans-with-konsistent>)

Author: Felix Arntz

Published: 2026-07-01T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [ESLint](<https://devfeed.tech/topics/eslint.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Code](<https://devfeed.tech/topics/code.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [code](<https://devfeed.tech/tags/code.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

konsistent is an open-source CLI linter for TypeScript codebases. It enforces structural conventions that TypeScript and ESLint do not model, helping agents and humans implement features with consistent project context.

## Source excerpt

konsistent is now open source. konsistent is a CLI linter for TypeScript codebases that enforces structural conventions, giving agents and humans the consistent context they need to implement features correctly. Deterministic, fast, and covers structural patterns that TypeScript and ESLint don't model. Configure conventions in a project-level konsistent.json file for concerns like: Do all files matching pattern X export functions Y and Z? Does every folder that has file X also have file Y? Does every class exported from files matching pattern X implement type Y? konsistent is used in AI SDK and Chat SDK to enforce structural code conventions. Use the konsistent skill to help your agent create a konsistent.json: Read more