An opinionated, production-minded starter app that demonstrates advanced Agentic AI patterns in one cohesive workflow:
- Multi-agent orchestration (
Planner -> Retriever -> Analyst -> Skeptic -> Synthesizer) - Hybrid RAG (semantic + lexical retrieval with reciprocal rank fusion)
- Working memory and run history
- Guardrails (PII sanitization + prompt-injection hardening)
- Self-reflection and critique loop
- Evidence-backed answers with source citations
- Lightweight evaluation panel (citation coverage, context precision, response risk)
- Human-in-the-loop controls from the UI
The app is focused on strategy and due-diligence intelligence.
You can load internal notes/documents and ask high-stakes business questions.
Agents collaborate to produce an evidence-grounded answer plus concerns and next actions.
pip install -r requirements.txt
set PYTHONPATH=src
streamlit run streamlit_app.pyOptional:
set GEMINI_API_KEY=your_key
set GEMINI_MODEL=gemini-2.0-flashWithout an API key, the app runs in deterministic mock mode for local testing.
src/agentic_studio/rag: ingestion, chunking, and hybrid retrievalsrc/agentic_studio/agents: specialized agents and orchestratorsrc/agentic_studio/core: LLM adapter, guardrails, memory, schemassrc/agentic_studio/evals: quality and risk metricssrc/agentic_studio/ui: Streamlit interface
- Agent planning and role specialization
- Tool-using retrieval agent
- Multi-stage reasoning pipelines
- Retrieval-grounded generation
- Defense-in-depth prompt safety
- Iterative critique and revision
- Memory and traceability
- Evaluation and quality gates
- Human approval touchpoints
- Extensible model provider abstraction
- Add SQL and web tools with explicit tool calling
- Add graph-RAG over entities/relationships
- Add automated eval harness with benchmark datasets
- Add async task queue for long-running autonomous jobs