Skip to main content

Lye - Tools Package for Tyler

Lye is a collection of tools that extend Tyler's capabilities, providing integrations with various services and utilities. It serves as the toolset foundation for Tyler agents, offering a comprehensive suite of tools for web browsing, file operations, Slack integration, Notion access, image generation, audio processing, and command-line operations.

Installation

# Using uv (recommended)
uv add slide-lye

# Using pip (fallback)
pip install slide-lye

Available Tools

Web Tools

  • fetch_page: Fetch and extract content from web pages
  • download_file: Download files from URLs
  • extract_text_from_html: Extract text content from HTML
  • fetch_html: Fetch raw HTML content
  • search_web: Search the web using search engines

Slack Tools

  • post_message: Post messages to Slack channels
  • get_channel_history: Get message history from channels
  • get_users: Get list of users in workspace
  • search_messages: Search for messages
  • upload_file: Upload files to Slack
  • summarize_channel: Get AI summary of channel activity

Command Line Tools

  • execute_command: Execute shell commands safely
  • list_directory: List directory contents
  • search_files: Search for files by pattern

Notion Tools

  • search_pages: Search Notion pages
  • create_page: Create new Notion pages
  • update_page: Update existing pages
  • get_page: Get page content
  • delete_page: Delete pages
  • list_databases: List available databases
  • query_database: Query database contents
  • create_database_item: Create database entries
  • update_database_item: Update database entries

Image Tools

  • generate_image: Generate images using AI
  • analyze_image: Analyze image content

Audio Tools

  • text_to_speech: Convert text to speech
  • speech_to_text: Convert speech to text

File Tools

  • read_file: Read various file formats
  • write_file: Write content to files
  • read_pdf: Extract text from PDFs
  • process_csv: Read and analyze CSV files
  • read_json: Read JSON files
  • write_json: Write JSON files

Browser Tools

  • browser_automate: Automate browser interactions using browser-use
  • browser_screenshot: Take screenshots of web pages

Usage with Tyler

from tyler import Agent

# Use all tools from a module
agent = Agent(tools=["web", "slack"])

# Use specific tools
agent = Agent(tools=["web:fetch_page,download_file"])

# Import tools directly
from lye import WEB_TOOLS, SLACK_TOOLS
agent = Agent(tools=WEB_TOOLS + SLACK_TOOLS)

Requirements

  • Python 3.13+
  • System dependencies for PDF image processing:
    # macOS
    brew install poppler
    
    # Ubuntu/Debian
    sudo apt-get install poppler-utils
    

Development

# Install with dev dependencies
uv sync --dev

# Run tests
uv run pytest

# Run specific test
uv run pytest tests/test_web.py

Tool Module Organization

Lye organizes tools into separate modules, each with its own tool list:

  • WEB_TOOLS - Web browsing and downloading
  • SLACK_TOOLS - Slack workspace interaction
  • COMMAND_LINE_TOOLS - Safe command execution
  • NOTION_TOOLS - Notion workspace integration
  • IMAGE_TOOLS - AI image generation and analysis
  • AUDIO_TOOLS - Speech synthesis and recognition
  • FILES_TOOLS - File reading and manipulation
  • BROWSER_TOOLS - Browser automation

License

MIT License - see LICENSE file for details.

Metadata

Release files for slide-lye 6.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slide-lye 6.4.0
File Size Uploaded
slide_lye-6.4.0.tar.gz 32.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slide-lye 6.4.0
File Interpreter ABI Platform
slide_lye-6.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 69.8 kB

Release files / slide_lye-6.4.0.tar.gz

Download URL slide_lye-6.4.0.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4fb8646f927a35b4dcc6d916207d25a8b601663d2d8c2baf2f9de41af2340d4c
BLAKE2b-256 checksum
How to use checksums
c931eb9dca73e6012fe54593059a2241e9c2216c9c59260902ec01ad68cb4a98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.13.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.13.13","system":{"name":"Linux","release":"6.17.0-1015-azure"}} HTTPX2/2.3.0

Release files / slide_lye-6.4.0-py3-none-any.whl

Download URL slide_lye-6.4.0-py3-none-any.whl
Size 36.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dcd2c2e1b5ef89693e094e8e20993f915123ba8699b2c247021478974702f36
BLAKE2b-256 checksum
How to use checksums
e39a81fcaae4084e372a4806067f4564f43ff1cda4b807ae0368c33d45633c7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.13.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.13.13","system":{"name":"Linux","release":"6.17.0-1015-azure"}} HTTPX2/2.3.0

Release history Release notifications | RSS feed

This release

6.4.0 This release

2 release files

6.3.0

2 release files

6.2.0

2 release files

6.1.0

2 release files

6.0.0

2 release files

5.6.0

2 release files

5.5.0

2 release files

5.4.0

2 release files

5.3.0

2 release files

5.2.3

2 release files

5.2.2

2 release files

5.2.1

2 release files

5.2.0

2 release files

5.1.1

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.1.2

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.2.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page