Skip to content
Arxo Arxo

Framework and Language Coverage

rag_architecture combines framework pattern detection, AST-assisted detectors, and fallback pattern matching.

Implemented in:

  • crates/arxo-engine/src/metrics/ai_observability/rag_architecture/detectors/discovery/framework_detection.rs

Detected framework IDs:

  • LangChain
  • LlamaIndex
  • Haystack
  • Spring AI
  • Semantic Kernel
  • Vercel AI

Based on RAG_EXTENSIONS:

  • .py, .ts, .tsx, .js, .jsx, .mjs, .cjs, .rs, .java, .kt
  • Python and TypeScript/JavaScript use AST call-site extraction when parsing succeeds.
  • On parse failures (or unsupported paths), detectors fall back to comment-stripped pattern matching.
  1. Gate strict safety controls first (retrieval_scope_filter_gap, prompt_injection_guard_gap, retrieved_content_sanitization_gap).
  2. Then tighten retrieval/evaluation gates.
  3. Track readiness composites (retrieval_readiness, safety_readiness, evaluation_readiness, overall_health).