Utilities
Pre-built tools for web access, code execution, and data fetching
Letta provides pre-built tools that enable agents to search the web, execute code, and fetch webpage content.
Available Utilities
Web Search
Search the internet in real-time using Exa’s AI-powered search engine.
Key features:
- AI-powered semantic search
- Category filtering (news, research papers, PDFs, etc.)
- Domain filtering
- Date range filtering
- Highlights and AI-generated summaries
Setup: Works out of the box on Letta Cloud. Self-hosted requires EXA_API_KEY.
Code Interpreter
Execute code in a secure sandbox with full network access.
Key features:
- Python with 191+ pre-installed packages (numpy, pandas, scipy, etc.)
- JavaScript, TypeScript, R, and Java support
- Full network access for API calls
- Fresh environment per execution (no state persistence)
Setup: Works out of the box on Letta Cloud. Self-hosted requires E2B_API_KEY.
Fetch Webpage
Fetch and convert webpages to readable text/markdown.
Key features:
- Converts HTML to clean markdown
- Extracts article content
- Multiple fallback extraction methods
- Optional Exa integration for enhanced extraction
Setup: Works out of the box everywhere. Optional EXA_API_KEY for enhanced extraction.