Implementation:ANative Lab EvoAgentX ResearchTools
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Tools, Research |
| Last Updated | 2026-10-21 00:00 GMT |
Overview
Concrete tools for academic paper search, fetching, and citation management across multiple academic databases.
Description
EvoAgentX provides a comprehensive research tools suite:
- PaperSearchTool / ArxivPaperSearchTool — Search across Arxiv, DBLP, SemanticScholar, and Google Scholar. Supports keyword search, author search, and abstract retrieval. Uses `ThreadPoolExecutor` for concurrent multi-source search. Integrates with cache for performance.
- FetchPaperTool — Fetches papers using Crawl4AICrawlTool, Google Scholar, and multiple academic databases. Supports author search. Uses `ContextualThreadPoolExecutor` for concurrent fetching.
- GoogleScholarTool — Uses SerpAPI for Google Scholar queries. Supports author search, paper search, and citation tracking.
- BibReferenceTool — BibTeX reference retrieval (from `bib_reference.py`, MANUAL_REVIEW approved).
- ResearchToolkit — Research toolkit aggregator (from `toolkit.py`, MANUAL_REVIEW approved).
- ResearchCache — File-based caching with BM25 fuzzy matching for research tools. Thread-safe in-memory cache with lazy loading, file-based persistence, and background async writes.
- Sources — Academic source adapters (DBLP, Arxiv, SemanticScholar) using BeautifulSoup and selectolax for HTML parsing.
- TextMatch — Text matching utilities using `spacy` NLP, regex, and `unicodedata` for fuzzy text matching and title normalization.
- ResearchUtils — Utility functions including `normalize_title`, URL parsing, BeautifulSoup HTML cleaning, LLM output parsing, and cost tracking.
- SerpUtils — SerpAPI request handling, cost tracking, and response parsing for research tool searches.
- ResearchPrompts — Prompts for research tool LLM operations (BibTeX polishing, paper extraction).
- ResearchMetadata — Research tool metadata models (from `metadata.py`, MANUAL_REVIEW approved).
Usage
- Literature search: Use `PaperSearchTool` for multi-source academic paper search.
- Paper retrieval: Use `FetchPaperTool` to download papers from multiple sources.
- Citation tracking: Use `GoogleScholarTool` for citation analysis.
- BibTeX management: Use `BibReferenceTool` for BibTeX reference retrieval.
- Performance: Use `ResearchCache` to cache results and avoid redundant API calls.
Code Reference
Source Location
- Repository: EvoAgentX
- Paper Search: evoagentx/tools/research_tools/paper_search.py (L1-1262)
- Fetch Paper: evoagentx/tools/research_tools/fetch_paper.py (L1-805)
- Google Scholar: evoagentx/tools/research_tools/google_scholar.py (L1-443)
- Bib Reference: evoagentx/tools/research_tools/bib_reference.py (L1-181)
- Research Toolkit: evoagentx/tools/research_tools/toolkit.py (L1-96)
- Cache: evoagentx/tools/research_tools/cache.py (L1-850)
- Sources: evoagentx/tools/research_tools/sources.py (L1-1354)
- Text Match: evoagentx/tools/research_tools/text_match.py (L1-422)
- Utils: evoagentx/tools/research_tools/utils.py (L1-1210)
- Serp Utils: evoagentx/tools/research_tools/serp_utils.py (L1-395)
- Prompts: evoagentx/tools/research_tools/prompts.py (L1-722)
- Metadata: evoagentx/tools/research_tools/metadata.py (L1-28)
Signature
class PaperSearchTool:
def search(self, query: str, ...) -> List[dict]
def search_by_author(self, author: str, ...) -> List[dict]
class FetchPaperTool:
def fetch(self, query: str, ...) -> List[dict]
class GoogleScholarTool:
def search(self, query: str, ...) -> List[dict]
class BibReferenceTool:
def get_bibtex(self, paper_title: str, ...) -> str
class ResearchToolkit(Toolkit):
def __init__(self, ...)
class ResearchCache:
def get(self, key: str) -> Optional[Any]
def set(self, key: str, value: Any) -> None
Import
from evoagentx.tools.research_tools.paper_search import PaperSearchTool, ArxivPaperSearchTool
from evoagentx.tools.research_tools.fetch_paper import FetchPaperTool
from evoagentx.tools.research_tools.google_scholar import GoogleScholarTool
from evoagentx.tools.research_tools.bib_reference import BibReferenceTool
from evoagentx.tools.research_tools.toolkit import ResearchToolkit
from evoagentx.tools.research_tools.cache import ResearchCache
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| query | str | Yes | Search query |
| author | str | No | Author name for author search |
| source | str | No | Specific academic source |
Outputs
| Name | Type | Description |
|---|---|---|
| search returns | List[dict] | Paper records with title, authors, abstract, url |
| get_bibtex returns | str | BibTeX citation string |
Usage Examples
Multi-Source Paper Search
from evoagentx.tools.research_tools.paper_search import PaperSearchTool
tool = PaperSearchTool()
results = tool.search("transformer attention mechanism", source="arxiv")
for paper in results:
print(f"{paper['title']} by {paper['authors']}")
BibTeX Reference Retrieval
from evoagentx.tools.research_tools.bib_reference import BibReferenceTool
tool = BibReferenceTool()
bibtex = tool.get_bibtex("Attention Is All You Need")
print(bibtex)
Related Pages
Implements Principle
Requires Environment
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment