Tactical pattern
recognition for chess.
A specialized inference engine that detects, classifies, and explains tactical patterns in any chess position. One API call. Deterministic results.
{
"fen": "r1bqkb1r/pppp1ppp/ 2n2n2/4p2Q/2B1P3/ 8/PPPP1PPP/RNB1K1NR w KQkq - 4 4",
"depth": "L2",
"with_sequence": true
}{
"patterns": [{
"type": "fork",
"trigger": "Qxf7+",
"targets": ["e8", "h8"],
"is_mate": true,
"sequence": ["Qxf7#"]
}],
"meta": {
"depth": "L2",
"latency_ms": 87
}
}Three stages. One response.
ChessGrammar processes each position through a deterministic analysis pipeline, from structural scan to forcing tree validation.
10 tactical patterns. Formally defined.
Each pattern follows a strict definition from chess theory, with clear trigger conditions and validation rules.
Two-layer depth model
L1 scans structure. L2 validates with forcing trees. Choose precision or speed per request.
Built for production workloads.
Measured on real-world positions from international tournament databases. All benchmarks are reproducible.
| Pattern | L1 Latency (p50) | L2 Latency (p50) | Accuracy |
|---|---|---|---|
| Fork | 2ms | 38ms | 98.1% |
| Pin | 4ms | 38ms | 97.8% |
| Skewer | 1ms | 1ms | 96.5% |
| Discovered Attack | 5ms | 114ms | 97.2% |
| Double Check | 6ms | 457ms | 99.1% |
| Back Rank Mate | 2ms | 20ms | 98.4% |
| Smothered Mate | 3ms | 7ms | 99.3% |
| Deflection | 2ms | 132ms | 95.2% |
| Interference | 3ms | 246ms | 94.8% |
| Trapped Piece | 10ms | 111ms | 96.1% |
Not another chess engine.
Stockfish evaluates positions. ChessGrammar classifies tactics. Different problem. Purpose-built solution.
Explore ChessGrammar.
Developer preview. No API key required. Rate limits apply.
v3 is coming
A complete engine rewrite with a formal 8-level architecture. More patterns, deeper analysis, higher precision.
- Pin
- Hanging Piece
- Trapped Piece
- Overloading
- X-Ray
- Battery
- Fork
- Skewer
- Discovered Attack
- Deflection
- Double Check
- Forcing Tree
- King Safety
- Exposed King
- Mate-in-N
- Back Rank Mate
- Smothered Mate
- Attraction
- Clearance
- Interference
Lock in your rate
Current prices are introductory. When v3 launches, prices will increase. Subscribe now and your rate stays locked forever.