speq-ai
speq

The SPEQ specification: a declarative format for AI-assisted development

Last updated May 5, 2026
141
Stars
9
Forks
2
Issues
0
Stars/day
Attention Score
62
Language breakdown
No language data available.
โ–ธ Files click to expand
README

speq

MIT   Spec v0.2


A .speq file is the architectural contract of your project. You write it once. Every AI session reads it before writing a single line of code. Same spec, two machines, two agents: architecturally identical output.

Natural language is inherently ambiguous. The same words mean different things across models, sessions, and prompts. A .speq file has a grammar, a parser, and a validator. It cannot be misread.

Read the Spec    CLI Tool

Why

Vibe coding generates entropy. The AI fills every undeclared decision arbitrarily: naming, layers, security, differently every session. SpeQ collapses that space upfront.

AGENTS.md and similar work well, but they are natural language by design, and natural language is not opinionated. On large codebases especially, they drift, get interpreted differently across models and sessions, and cannot be treated as a real source of truth.

The root cause of AI inconsistency is not the model. It is the missing source of truth.

Examples

Annotated .speq files covering different domains and complexity levels: examples/


SpeQ SKILL

SpeQ SKILL

The AI behavioral contract for working with .speq files. Load it alongside your spec at the start of any session. An AI that has read the SKILL and the spec has no room for interpretation errors.

Read the Skill


This project is in early development. The format already works, but there is meaningful work left on semantic precision and completeness. Criticism and contributions are very welcome. Read CONTRIBUTING.md to get involved.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท speq-ai/speq ยท Updated daily from GitHub