thinkwell
Installation
SKILL.md
Thinkwell
Thinkwell is a TypeScript framework for blending deterministic code with LLM-powered reasoning. It provides a fluent Plan API for composing prompts, attaching tools, and getting structured JSON responses.
For detailed API signatures, see references/api-reference.md.
For @JSONSchema details, see references/schema-guide.md.
For complete working examples, see references/examples.md.
Core Concepts
1. The @JSONSchema Pattern
Annotate an interface with @JSONSchema in a JSDoc comment. Thinkwell auto-generates a TypeName.Schema namespace that provides the JSON schema at runtime: