Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:ANative Lab EvoAgentX AdditionalTools

From Leeroopedia
Knowledge Sources
Domains Tools, API_Integration
Last Updated 2026-10-21 00:00 GMT

Overview

Concrete tools for HTTP requests, browser-use AI automation, cryptocurrency data, and RAG-based API discovery.

Description

Additional EvoAgentX tools:

  • HTTPRequestTool & RequestToolkit (`request.py`) — `HTTPRequestTool` wraps `RequestBase` as a Tool supporting all HTTP methods. `RequestToolkit` provides unified GET/POST/PUT/DELETE with response processing.
  • BrowserUseToolkit (`browser_use.py`) — Wraps the browser-use library for LLM-driven browser automation. Requires Python 3.11+ or browser-use-py310x for 3.10. Higher-level than Selenium.
  • CryptoToolkit (`crypto_currencies_tool.py`) — Creates `APITool` instances for fetching crypto symbols, prices, and market data from external APIs. Uses the `api_converter` pattern.
  • APIPipeline (`api_pipeline.py`) — Uses `RAGEngine` to index API documentation and retrieve relevant endpoints. Creates `RAGConfig` with FAISS vector store. Enables agents to discover and use APIs from documentation dynamically.

Usage

  • HTTP requests: Use `RequestToolkit` for general API calls from agents.
  • AI browser automation: Use `BrowserUseToolkit` for LLM-driven web interaction.
  • Crypto data: Use `CryptoToolkit` for cryptocurrency market data.
  • API discovery: Use `APIPipeline` for RAG-powered API endpoint discovery.

Code Reference

Source Location

Signature

class HTTPRequestTool(Tool):
    def __call__(self, method: str, url: str, **kwargs) -> Any

class RequestToolkit(Toolkit):
    def __init__(self, ...)

class BrowserUseToolkit(Toolkit):
    def __init__(self, ...)

def create_crypto_toolkit(...) -> Toolkit

# api_pipeline.py — RAG-based API discovery
def search_api_docs(query: str, ...) -> List[dict]

Import

from evoagentx.tools.request import HTTPRequestTool, RequestToolkit
from evoagentx.tools.browser_use import BrowserUseToolkit
from evoagentx.tools.crypto_currencies_tool import create_crypto_toolkit

I/O Contract

Inputs

Name Type Required Description
url str Yes (HTTP) URL to request
method str Yes (HTTP) HTTP method
query str Yes (API) Search query for API docs

Outputs

Name Type Description
HTTP returns Any Response data
search returns List[dict] Relevant API endpoints

Usage Examples

HTTP Request Toolkit

from evoagentx.tools.request import RequestToolkit

toolkit = RequestToolkit()
# Attach to an agent for HTTP request capabilities

Cryptocurrency Data

from evoagentx.tools.crypto_currencies_tool import create_crypto_toolkit

toolkit = create_crypto_toolkit()
# Attach to an agent for crypto market data

Related Pages

Implements Principle

Requires Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment