Skip to main content
Lye is Slide’s comprehensive tool library that provides ready-to-use utilities for web interaction, file handling, image processing, audio manipulation, and more. While designed to work seamlessly with Tyler agents, Lye can be used independently in any Python application.

Why Use Lye Standalone?

  • Add powerful capabilities to existing applications
  • No AI or agent dependencies required
  • Async-first design for modern Python
  • Consistent API across all tool categories
  • Well-tested and production-ready

Quick Start

Installation

Optional system dependencies

While Lye works out of the box, some advanced features benefit from additional system libraries:
  • PDF OCR: Install poppler to process scanned PDFs with optical character recognition
See the Lye package documentation for installation instructions.

Basic usage

Tool Categories

Web Tools

Tools for interacting with the web:

File Tools

File system operations:

Image Tools

Image analysis and processing:

Audio Tools

Audio processing and transcription:

Browser Tools

Web automation and scraping:

Real-World Applications

Web Scraper

Build a comprehensive web scraper:

Media Processor

Process multimedia files:

Research assistant

Automated research tool:

Advanced patterns

Rate Limiting

Implement rate limiting for API calls:

Error Handling

Robust error handling for tools:

Parallel Processing

Process multiple items concurrently:

Integration Examples

With FastAPI

With Django

Performance tips

  1. Use asyncio.gather() for parallel operations
  2. Implement caching for expensive operations
  3. Stream large files

Next steps

Tool Reference

Complete API documentation

With Tyler

Use Lye tools with agents

Adding Tools

Learn how to add custom tools

Examples

More Lye examples