Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
ReasonKit
The Reasoning Engine — Auditable Reasoning for Production AI
ReasonKit transforms ad-hoc LLM prompting into structured, auditable reasoning chains. This meta-crate provides a unified installation for the complete ReasonKit suite.
One-Line Install
# Install complete ReasonKit suite
# Or use the universal installer
|
Installing provides two equivalent binaries:
reasonkit— Full command namerk— Short alias for faster typing
What's Included
| Component | Crate | Purpose |
|---|---|---|
| Core | reasonkit-core | Reasoning engine with ThinkTools |
| Memory | reasonkit-mem | Vector storage, hybrid search, RAPTOR trees |
| Web | reasonkit-web | Browser automation, MCP sidecar |
Quick Start
CLI Usage
Use reasonkit or the short alias rk — they're identical:
# Run structured reasoning (ThinkTools)
# Quick 2-step analysis
# Maximum rigor (paranoid mode)
# Verify claims with triangulation
# Start MCP server for AI agent integration
Library Usage
use *;
async
ThinkTools
Five core reasoning protocols:
| Tool | Shortcut | Purpose |
|---|---|---|
| GigaThink | gt |
Generate 10+ diverse perspectives |
| LaserLogic | ll |
Precision deductive reasoning, fallacy detection |
| BedRock | br |
First principles decomposition |
| ProofGuard | pg |
Multi-source verification (3+ sources) |
| BrutalHonesty | bh |
Adversarial self-critique |
Profiles
Pre-configured protocol chains:
| Profile | ThinkTools | Confidence | Use Case |
|---|---|---|---|
quick |
GT, LL | 70% | Fast analysis |
balanced |
GT, LL, BR, PG | 80% | Standard decisions |
deep |
All 5 | 85% | Complex problems |
paranoid |
All 5 + validation | 95% | High-stakes |
Features
[]
# Full suite (default)
= "0.1"
# Core reasoning only
= { = "0.1", = false, = ["core"] }
# Memory layer only
= { = "0.1", = false, = ["mem"] }
# Web automation only
= { = "0.1", = false, = ["web"] }
| Feature | Description |
|---|---|
full |
All components (default) |
core |
Reasoning engine only |
mem |
Memory layer only |
web |
Web/browser automation only |
python |
Python bindings via PyO3 |
LLM Providers
18+ providers supported out of the box:
- Major Cloud: Anthropic, OpenAI, Google Gemini, Vertex AI, Azure OpenAI, AWS Bedrock
- Specialized: xAI (Grok), Groq, Mistral, DeepSeek, Cohere, Perplexity
- Aggregation: OpenRouter (300+ models)
# Set your API key
# Or use a different provider
Architecture
reasonkit (meta-crate)
│
├── reasonkit-core ─── The Reasoning Engine
│ ├── ThinkTools
│ ├── Protocol Executor
│ ├── LLM Client
│ └── MCP Server
│
├── reasonkit-mem ─── Memory Infrastructure
│ ├── Vector Storage (Qdrant)
│ ├── Sparse Index (Tantivy)
│ ├── Hybrid Retrieval
│ └── RAPTOR Trees
│
└── reasonkit-web ─── Web Sensing Layer
├── Browser Controller
├── Content Extraction
└── MCP Sidecar
Philosophy
"Designed, Not Dreamed" — Structure beats raw intelligence.
ReasonKit imposes systematic reasoning protocols on LLM outputs, producing more reliable, verifiable, and explainable results.
Documentation
- Website: https://reasonkit.sh
- API Docs: https://docs.rs/reasonkit
- Core Docs: https://docs.rs/reasonkit-core
- Memory Docs: https://docs.rs/reasonkit-mem
- Web Docs: https://docs.rs/reasonkit-web
Individual Crates
If you only need specific functionality:
# Reasoning only
# Memory layer only
# Web automation only
License
Apache-2.0 — See LICENSE for details.
Contributing
See CONTRIBUTING.md for guidelines.
Turn Prompts into Protocols | https://reasonkit.sh