CrewAI integration for LastSearch — research infrastructure with Grounded Intelligence for AI agents
pip install crewai-lastsearch==1.0.1 Copy PIP instructions
pip install crewai-lastsearch Quick Start from crewai import Agent, Task, Crew from crewai_lastsearch import LastSearchAnswerTool, LastSearchSearchTool # Create tools answer_tool = LastSearchAnswerTool(api_key="ls_xxx") search_tool = LastSearchSearchTool(api_key="ls_xxx") # Create a research agent researcher = Agent( role="Research Analyst", goal="Provide accurate, evidence-backed research", backstory="You are a meticulous researcher who verifies every claim.", tools=[answer_tool, search_tool], ) # Create a task task = Task( description="Research the current state of quantum computing", expected_output="A verified summary with citations and confidence scores", agent=researcher, ) # Run crew = Crew(agents=[researcher], tasks=[task]) result = crew.kickoff() Available Tools LastSearchAnswerTool — Verified research with citations, confidence scores, contradiction detection LastSearchSearchTool — Web search returning ranked results LastSearchExtractTool — Extract structured claims from a URL LastSearchCompareTool — Compare raw LLM vs verified answer Why LastSearch? Unlike raw search APIs, LastSearch fact-checks results. Every answer includes per-claim verification, cross-source consensus, contradiction detection, and evidence-based confidence scores. Open source (Apache 2.0).
LastSearch is a free, non-commercial passion project run by an individual developer. Answers, citations and confidence scores are AI-generated research, not professional advice; verify anything important against primary sources.
ai-agent autogen citations confidence-scoring crewai crewai-tools evidence-based fact-checking grounded-intelligence hallucination-prevention langchain lastsearch mcp rag verified-search web-search
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




