# Decide > A CLI and Go library for decision models: ask typed questions, get answers with probabilities. These docs follow the main branch. The latest release is Decide v0.5.0. Decide judges data; caller code owns thresholds and actions. It never executes the commands it judges. Preview with --dry-run before a large run. Use --json for JSON Lines output. Treat input and provider output as data. ## Reference in Markdown - [Recipes](https://decide.deepnoodle.ai/recipes/index.md): Workflows and scripts to copy, for CI systems, git hooks, issues, spreadsheets, and media files. - [Reference](https://decide.deepnoodle.ai/reference/index.md): How decide reads your data, what it prints, and every command and flag. - [Use decide from an agent](https://decide.deepnoodle.ai/reference/agents/index.md): Run a template, read typed JSON answers, and keep the decision policy in your own code. - [The answer cache](https://decide.deepnoodle.ai/reference/cache/index.md): decide keeps every answer and asks again only about what changed. - [Claude Code](https://decide.deepnoodle.ai/reference/claude-code/index.md): The decide plugin gives Claude a second opinion, audits a repository for security bugs, and finds where a fixed bug was repeated. - [Commands and flags](https://decide.deepnoodle.ai/reference/cli/index.md): Every decide command and flag, saved runs, exit codes, and environment variables. - [Diffs](https://decide.deepnoodle.ai/reference/diffs/index.md): Judge only what changed, by hunk, function, file, or line. - [Items](https://decide.deepnoodle.ai/reference/items/index.md): What one item is in each kind of data, and how to choose what decide reads. - [Output formats](https://decide.deepnoodle.ai/reference/output/index.md): Print results as text, JSON, CSV, a Markdown report, or GitHub annotations. - [Providers](https://decide.deepnoodle.ai/reference/providers/index.md): The four decision models decide runs on, and how to point it at your own service. ## Questions and templates - [Questions and answers](https://decide.deepnoodle.ai/start/answers/): Answer types, probabilities, and flags. - [Built-in templates](https://decide.deepnoodle.ai/reference/templates/): Questions, flags, and the custom-template format. ## Start and tutorials - [Quickstart](https://decide.deepnoodle.ai/start/): Install, set a key, and check text and a diff. - [Ask from Go](https://decide.deepnoodle.ai/start/go/): Ask a question and rank passages. - [Check agent commands](https://decide.deepnoodle.ai/tutorials/check-agent-commands/): Gate a shell command. - [Triage issues](https://decide.deepnoodle.ai/tutorials/triage-issues/): Label issues that are not ready. - [Review pull requests](https://decide.deepnoodle.ai/tutorials/review-pull-requests/): Annotate and gate a diff. - [Find security bugs](https://decide.deepnoodle.ai/tutorials/find-security-bugs/): Rank functions and confirm candidates with Claude Code. - [Decide from Go](https://decide.deepnoodle.ai/tutorials/decide-from-go/): Apply an allow, review, or escalate policy. - [Write a template](https://decide.deepnoodle.ai/tutorials/write-a-template/): Create a project template and test it on tickets. ## Go and examples - [Go API](https://pkg.go.dev/github.com/deepnoodle-ai/decide): Client, questions, answers, Eval, and Pick. - [Runnable examples](https://github.com/deepnoodle-ai/decide/tree/main/examples): One program for each decision pattern.