Skip to main content

AI SDK Tools Registry

PraisonAI provides a unified registry of AI SDK tools that can be used with agents. All tools are lazy-loaded and have optional dependencies.

Quick Start

1

Simple Usage

2

With Configuration

Adjust agent instructions, tool options, and provider settings for production — see the Configuration section below.

Available Tools

Installation

Install only the tools you need:

Using the Tools Facade

The tools object provides a simple API for all built-in tools:

Registry API

Access the underlying registry for advanced use cases:

Middleware

Add middleware to all tool executions:

Available Middleware

Hooks

Set hooks for monitoring:

Custom Tools

Register your own tools:

CLI Commands

Tool Categories

Search Tools

  • tavily - General web search with AI answers
  • exa - Semantic/neural search
  • perplexity - Real-time search with citations
  • parallel - Multi-source parallel search

Content Tools

  • tavilyExtract - Extract content from URLs
  • tavilyCrawl - Crawl websites
  • firecrawl - Advanced web scraping
  • airweave - RAG/semantic search

Security Tools

  • guard - Detect prompt injection
  • redact - Remove PII
  • verify - Verify claims

Code Execution

  • codeExecution - Vercel sandbox (Python)
  • codeMode - Custom sandboxed execution
  • bedrockCodeInterpreter - AWS sandbox

Domain Search (Valyu)

  • valyuWebSearch - General web
  • valyuFinanceSearch - Financial data
  • valyuPaperSearch - Academic papers
  • valyuBioSearch - Biology/medical
  • valyuPatentSearch - Patents
  • valyuSecSearch - SEC filings
  • valyuEconomicsSearch - Economic data
  • valyuCompanyResearch - Company info

Error Handling

Tools throw specific errors for common issues:

Tavily

Web search tool

Exa

Semantic search tool

Custom Tools

Creating custom tools

CLI Reference

Command-line interface