# Docs - [Dike Documentation](/): Verified MENA legal search, grounded reasoning, and citation graph APIs across Egypt, Saudi Arabia, and the UAE. - Getting Started - [Introduction](/getting-started/introduction): Understand Dike's mission, core developer capabilities, and how to build reliable legal AI applications. - [Quickstart](/getting-started/quickstart): Get your API key, execute a hybrid search, and run grounded reasoning in under 3 minutes. - [Authentication](/getting-started/authentication): Manage API keys, configure bearer tokens, and follow security best practices. - [Rate Limits](/getting-started/rate-limits-errors): Understand per-tier throughput limits, response headers, and RFC 7807 error envelopes. - Concepts - [Canonical IDs](/core-concepts/canonical-ids): The deterministic, universal identifier specification for MENA legal documents. - [Coverage](/core-concepts/jurisdictions-and-coverage): Detailed matrix of indexed legal sources, gazettes, courts, and historical timelines across MENA. - [Grounding](/core-concepts/grounding-verification-engine): The deterministic hallucination guard ensuring zero fabricated citations in legal reasoning. - [Search Pipeline](/core-concepts/search-and-fusion): Dense and sparse hybrid retrieval, Reciprocal Rank Fusion (RRF), and cross-encoder reranking. - API Reference - [Search](/api-reference/search): Hybrid dense + sparse vector search with server-side RRF fusion and cross-encoder reranking. - [Reason](/api-reference/reason): Grounded legal reasoning and Q&A with real-time hallucination prevention and streaming support. - [Cite](/api-reference/cite): Deterministic Arabic legal citation normalization, parsing, and resolution. - [Document](/api-reference/document): Fetch complete statutory text, article structures, and authoritative metadata by Canonical ID. - [Graph Traverse](/api-reference/graph-traverse): Explore legal relationships, amendments, repeals, citations, and court interpretations via BFS graph traversal. - [Jurisdictions](/api-reference/jurisdictions): Discover which jurisdictions are currently live and queryable on this instance. - [Errors](/api-reference/errors): Exhaustive reference for every RFC 7807 error code, HTTP status, and client recovery pattern. - Agents - [MCP Setup](/mcp-agents/connecting-via-mcp): Connect Dike to Claude, Cursor, Windsurf, and AI agent frameworks via Remote HTTP MCP. - [Frameworks](/mcp-agents/frameworks): Build autonomous legal agents with LangChain, LlamaIndex, Vercel AI SDK, and CrewAI. - [Tool Patterns](/mcp-agents/agent-tool-patterns): Optimal orchestration strategies and sequence patterns for multi-step legal agents. - Case Studies - [Case Studies Overview](/mcp-agents/case-studies): Real-world business implementations of Dike-powered autonomous legal agents across MENA enterprises, law firms, and FinTech. - [M&A Due Diligence](/mcp-agents/case-studies/ma-due-diligence): Multi-hop autonomous legal agent vetting corporate covenants against the New Saudi Companies Law and UAE Corporate Tax. - [Contract Risk Auditor](/mcp-agents/case-studies/contract-risk-auditor): High-throughput contract clause auditor testing enforceability against mandatory provisions of Egyptian Civil Code and GCC Commercial Law. - [FinTech Regulatory Watchdog](/mcp-agents/case-studies/regulatory-watchdog): Real-time regulatory compliance agent monitoring SAMA, CBUAE, and Egyptian FRA circulars and circular amends. - [Litigation & Precedent Assistant](/mcp-agents/case-studies/litigation-assistant): Interactive AI legal assistant for litigators and law firms drafting Arabic court pleadings with verified Cassation Court precedents. - [gRPC](/mcp-agents/grpc-mirror): Low-latency protobuf interface for high-frequency agent tool loops. - Guides - [Legal Chatbot](/guides/grounded-qa-walkthrough): End-to-end recipe for streaming answers with interactive citation badges and weak-grounding warnings. - [Contract Auditing](/guides/citation-resolution): Extract, resolve, and verify legal citations within commercial contracts and legal briefs. - [Search Tuning](/guides/hybrid-search-tuning): Maximize retrieval precision, optimize p95 latency, and minimize payload overhead. - [Graph Explorer](/guides/legal-graph-explorer): Build interactive visual graphs of statutory amendments, repeals, and judicial citations. - [Best Practices](/guides/production-best-practices): Architecture patterns for high availability, rate limit resilience, and caching. - Troubleshooting - [Common Errors](/troubleshooting/common-errors): Step-by-step diagnostic decision trees and fixes for every HTTP error status and code. - [Rate Limiting](/troubleshooting/rate-limiting): Pinpoint which rate limit was triggered and implement proactive sliding-window backoff. - [Weak Grounding](/troubleshooting/weak-grounding): How to diagnose and resolve answers with few or zero verified citations. - [MCP Issues](/troubleshooting/mcp-connection-issues): Troubleshoot remote HTTP MCP connections in Claude, Cursor, and Windsurf. - [FAQ](/troubleshooting/faq): Common legal, technical, and operational questions about the Dike platform.