docs(ai): AI Co-pilot system design — agentic RAG adapted for CA#6
Open
DeepakChander wants to merge 1 commit into
Open
docs(ai): AI Co-pilot system design — agentic RAG adapted for CA#6DeepakChander wants to merge 1 commit into
DeepakChander wants to merge 1 commit into
Conversation
Adapts the Agentic RAG architecture (Coordinator → Retrieval → Rerank → Context → Generation → Validation → Export) to a CA firm's needs: - Per-firm Qdrant collection (structural tenant isolation) - Two-collection retrieval: firm corpus + shared regulatory corpus - New Compliance Critic agent (validates statute, math, UDIN status) - Citation-must-resolve-to-primary-source rule - Stakes-tiered validation (Low / Medium / High / Blocked) - UDIN + DSC gates (AI never marks output "final") - India-resident inference only (Qwen 2.5 via vLLM on Indian GPU) - Mock providers kept for zero-GPU local dev - 6 use cases mapped: Doc AI, Ask-your-books, Notice intelligence, Certificate draft, WP draft, Article training Q&A - Phase 3A–3F sub-phasing plan with exit criteria Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
docs/architecture/ai-copilot-system-design.md— the concrete blueprint for Phase 3.Adapts the proven Agentic RAG pattern (Coordinator → Retrieval → Rerank → Context → Generation → Validation → Export) to CA-firm reality: regulatory citations, ICAI rules, UDIN/DSC gates, DPDP residency, and strict per-firm tenant isolation.
What's in it
Test plan
ai-copilot.md,tech-stack.md,security-and-data-residency.md,dpdp-act.md,icai-regulatory.md,pricing.md) are correctdocs/README.mdunder ArchitectureRollout notes
Docs-only change, no code or infra impact. Becomes the source-of-truth blueprint when Phase 3 build kicks off.
🤖 Generated with Claude Code