Time: 10 minutes total | Difficulty: Beginner | Prerequisites: rk installed
This tutorial takes you from zero to confidently using ReasonKit for AI reasoning.
| Step | File | What You Learn | Time |
|---|---|---|---|
| 1 | step1_basic.sh | Basic ThinkTool usage | 60s |
| 2 | step2_profiles.sh | Choosing the right profile | 60s |
| 3 | step3_individual_tools.sh | Individual ThinkTools | 90s |
| 4 | step4_json_output.sh | Machine-readable output | 60s |
| 5 | step5_audit_trail.sh | Execution traces | 90s |
rk --version# Anthropic Claude (recommended)
export ANTHROPIC_API_KEY="sk-ant-..."
# Or OpenAI
export OPENAI_API_KEY="sk-..."
# Or use demo mode (no API key required)
# Just add --mock to any commandcd examples/tutorial
# Step 1
./step1_basic.sh
# Step 2
./step2_profiles.sh
# ... and so oncd examples/tutorial
./run_all.shcd examples/tutorial
./run_all.sh --mockBy the end of this tutorial, you'll be able to:
- Run structured AI reasoning from the command line
- Choose the right profile for your use case
- Use individual ThinkTools for specific tasks
- Parse JSON output for automation
- Review execution traces for debugging
After completing this tutorial:
- Real-world examples: USE_CASES.md
- Full CLI reference: CLI_REFERENCE.md
- ThinkTool deep dive: THINKTOOLS_GUIDE.md
- Rust API: API_REFERENCE.md
Questions? GitHub Discussions