ai-agent-tools
cerbug45 tarafından
Coding Agents & IDEsÖzet
This library provides ready-to-use Python functions that AI agents can leverage to perform various tasks.
Açıklama
Bu Beceri Ne Yapar
A single-file Python library providing utility functions for common AI agent tasks. Covers file I/O, text extraction, data format conversion, input validation, and in-session memory. Has no external dependencies beyond the Python standard library.
Zero external dependencies means it drops into any Python environment without version conflicts or installation steps.
Ne Zaman Kullanılır
- Extracting emails and phone numbers from raw text documents
- Converting CSV exports into structured JSON for downstream processing
- Storing intermediate results between agent execution steps
- Validating user-submitted emails and URLs before processing
- Reading config files and writing agent outputs to disk
Örnek İş Akışı
User asks: Extract all valid email addresses from contacts.txt and save them to a JSON file
- 1
Read contacts.txt using FileTools.read_file
- 2
Extract email addresses from the text using TextTools.extract_emails
- 3
Filter results through ValidationTools.is_valid_email to remove malformed entries
- 4
Save the validated list to output.json using DataTools.save_json
A JSON file containing only the validated email addresses found in the input document
Kurulum
clawhub install cerbug45/ai-agent-toolsCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.