Skip to Main Content

Orate is a library for Programmatic Grammar over Inference of LLMs. It unifies structured output, toolcalling under one abstraction, @program, which headline feature is that it allows you to constrain the fields you extract with arbitrary python predicate. Instead of only typing, now we can also guide the output with logic. The library handles compiling your decorated program schema into a grammar, and how it should recompile when needed depending on how the execution goes (as fields can reference other fields!). These programs are also composable, and it then also handles switching grammars. Today only rudimentary optimizations are in place, like grammar caching so we don't always need to recompute.

Team

More from Built with Opus 4.7: a Claude Code hackathon

Medkit is a virtual clinic that lets you make every mistake before the real patients come. It's a voice-first AI simulator for medical students and newly…

Keskin project preview

Every year, 50 million tons of electronics become waste — not because they can't be repaired, but because board-level expertise is locked in a few hands…

Alexis Chapellier project preview

Maieutic flips the role an LLM usually plays in learning to program. Instead of handing the student working code, it guides them to think first about what the…

Maieutic project preview

OmniBridge is an AI agent that identifies unknown serial device protocols autonomously — a workflow that didn't exist a year ago because it needs Opus 4.7's…

OmniBridge project preview

ARIA captures the floor operator's knowledge and puts it to work. Drop in the manufacturer's PDF, answer some calibration questions, and you're live in ten…

TrayStones project preview

Interior architects in France designing offices for banks, law firms and consulting groups are leaving money on the table. Each one handles only one or two…

Saad EL BABIDI project preview