From complex questions to evidence-backed research.
INQUIRA is a LangGraph-based multi-agent research system that transforms complex user queries into structured, traceable, and evidence-backed research reports.
Instead of relying on a single LLM response, INQUIRA coordinates specialized agents to plan research, discover and evaluate sources, extract relevant information, map claims to evidence, verify findings, and refine the final report.
The goal is simple: make AI-powered research more structured, transparent, and verifiable.
- π§ Intelligent Query Decomposition β Breaks complex questions into focused research tasks.
- π Multi-Agent Research Pipeline β Coordinates specialized agents using LangGraph.
- π Web Search & Scraping β Discovers relevant sources and extracts useful passages.
- π Source Quality Evaluation β Evaluates sources based on relevance and credibility signals.
- π Claim Extraction β Identifies key claims from collected research material.
- π ClaimβEvidence Mapping β Connects extracted claims with relevant supporting passages.
- β Evidence-Based Verification β Classifies claims as Supported, Partially Supported, Contradicted, or Insufficient Evidence.
- π Targeted Research Loop β Searches for additional evidence when existing research is insufficient.
- π§ Critic Agent β Evaluates research quality and identifies areas that need improvement.
- π₯οΈ Local LLM Support β Supports local inference through Ollama and Qwen3 8B.
User Query
β
βΌ
Query Decomposition
β
βΌ
Research Planning
β
βΌ
Parallel Web Search
β
βΌ
Source Quality Evaluation
β
βΌ
Relevant Passage Extraction
β
βΌ
Claim Extraction
β
βΌ
ClaimβEvidence Mapping
β
βΌ
Claim Verification
β
ββββββββββ΄βββββββββ
β β
Evidence Missing Evidence Sufficient
β β
βΌ βΌ
Targeted Research Synthesis
β β
ββββ Re-evaluate βΌ
Research Critique
β
βΌ
Final Research Report
The workflow above describes the intended research process; the implementation may evolve as the project develops.
INQUIRA organizes research around an evidence-tracing pipeline:
Source β Passage β Claim β Evidence β Verification β Finding
- Plan: Decompose the user's question into focused research questions.
- Search: Retrieve potentially relevant web sources.
- Evaluate: Assess source relevance and credibility signals.
- Read: Extract useful passages from the collected sources.
- Extract: Identify claims that contribute to answering the research question.
- Map: Associate claims with relevant evidence.
- Verify: Determine whether the collected evidence supports, partially supports, contradicts, or fails to establish each claim.
- Research Again: Conduct targeted searches for important evidence gaps.
- Synthesize: Combine verified findings into a coherent report.
- Critique: Evaluate the report and identify areas requiring improvement.
The objective is to make research findings easier to trace back to their supporting sources rather than treating an LLM-generated answer as automatically reliable.
| Technology | Purpose |
|---|---|
| Python | Core application logic |
| LangGraph | Multi-agent workflow orchestration |
| LangChain | LLM and tool integration |
| Ollama | Local LLM inference |
| Qwen3 8B | Local language model |
| Tavily | Web search |
| BeautifulSoup | Webpage parsing and content extraction |
| Sentence Transformers | Semantic similarity and evidence matching |
| Pydantic | Data validation and structured outputs |
| FastAPI | API layer |
Before running INQUIRA, make sure you have:
git clone https://github.com/Rohit-code07/INQUIRA.git
cd INQUIRAuv venvActivate the environment if required.
Windows PowerShell:
.venv\Scripts\Activate.ps1Linux / macOS:
source .venv/bin/activateuv syncollama pull qwen3:8bMake sure Ollama is running before executing research tasks.
Create a .env file in the project's expected configuration directory and add your Tavily API key:
TAVILY_API_KEY=your_api_key_hereKeep your API keys private. Never commit your actual .env file or expose credentials in source code.
Start INQUIRA using the project's configured entry point.
Note: Update this section with the exact command for your current implementation, such as the FastAPI/Uvicorn command, once the entry point is finalized.
Research Question
What are the major impacts of artificial intelligence on software development?
INQUIRA is designed to transform the question into a structured research process:
User Question
β
βΌ
Research Plan
β
βΌ
Collected Sources
β
βΌ
Extracted Claims
β
βΌ
Supporting & Contradicting Evidence
β
βΌ
Verified Findings
β
βΌ
Synthesized Research Report
A research report can include findings, supporting evidence, source references, and claims requiring further investigation.
The final output depends on the available sources, model responses, and implemented verification logic.
INQUIRA explores how multi-agent systems can improve the structure and traceability of AI-assisted research.
The project focuses on:
- Breaking complex questions into manageable research tasks.
- Separating information retrieval from claim verification.
- Connecting findings to identifiable supporting evidence.
- Identifying contradictory information and research gaps.
- Using iterative research and critique to improve report quality.
- Supporting local LLM inference for greater control over model execution.
Important: Evidence verification does not guarantee that a claim is objectively true. Source quality, retrieval coverage, model limitations, and the accuracy of the verification process can still affect the results.
INQUIRA is an open-source project, and contributions from developers, researchers, and AI enthusiasts are welcome!
Whether you're fixing a bug, improving the research pipeline, adding a feature, or improving the documentation, your contribution can help make INQUIRA better.
Here are some areas where contributions could be valuable:
- Agent Development: Improve planning, search, reading, synthesis, or critique agents.
- Evidence Verification: Improve claimβevidence matching and contradiction detection.
- Source Evaluation: Explore better ways to assess source relevance and credibility.
- Research Quality: Add evaluation datasets, test cases, and quality metrics.
- Search & Retrieval: Improve search strategies, passage extraction, and duplicate-source handling.
- Local Model Support: Improve Ollama integration and compatibility with local models.
- Testing & Reliability: Add unit tests, integration tests, and error-handling improvements.
- Documentation: Improve setup instructions, examples, and developer documentation.
- Performance: Reduce unnecessary model calls and improve retrieval efficiency.
-
Fork the repository.
-
Create a feature branch:
git checkout -b feature/your-feature-name
-
Implement your change.
-
Run the available tests and verify your changes.
-
Commit your work:
git add . git commit -m "Add: describe your contribution"
-
Push your branch:
git push origin feature/your-feature-name
-
Open a Pull Request describing your changes, the problem they solve, and any relevant test results.
For significant changes, consider opening an issue first to discuss the proposed approach.
- Keep changes focused and easy to review.
- Follow the existing code style and project structure.
- Include tests when introducing or modifying functionality.
- Never commit API keys, credentials, or private data.
- Document new configuration options and dependencies.
- Be respectful and constructive during discussions and code reviews.
New to open source? You're welcome here! Small improvements, documentation fixes, and bug reports are valuable contributions too.
Potential future improvements include:
- Automated evaluation of research reports.
- Better detection of conflicting claims across sources.
- More robust source credibility and relevance scoring.
- Improved retry logic and handling of failed web requests.
- Support for additional local and hosted LLM providers.
- Unit and integration test coverage for the research pipeline.
- Structured report export with source references.
- Performance improvements through optimized retrieval and model usage.
This roadmap represents potential directions for development, not a guarantee that these features are already implemented.
Rohit Verma
- GitHub: @Rohit-code07
- Project Repository: INQUIRA
If you find INQUIRA interesting:
- β Star the repository.
- π Report bugs and suggest improvements.
- π‘ Propose new ideas through GitHub Issues.
- π€ Contribute through Pull Requests.
- π’ Share the project with developers interested in multi-agent AI systems.
Built to explore a more structured, traceable, and evidence-driven approach to AI research.