A system for self improving agents.
Project description
Self-Improving Agents
A Python system for LLM prompt optimization.
Project Overview
This project provides tools for evaluating and optimizing prompts for large language models (LLMs). It includes components for prompt evaluation, optimization, and testing.
Installation
# Clone the repository
git clone https://github.com/yourusername/self_improving_agents.git
cd self_improving_agents
# Create and activate virtual environment using UV
uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install the package with development dependencies
uv pip install -e ".[dev]"
Project Structure
self_improving_agents/
├── config/ # Configuration templates
├── examples/ # Usage examples
├── src/ # Source code
│ └── self_improving_agents/
│ ├── evaluators/ # Components for evaluation
│ ├── instrumentation/ # Wrappers for tracking eval function usage
│ ├── models/ # Data structures and schemas
│ ├── optimizers/ # Components for improving prompts
│ ├── runners/ # Orchestration of evaluation/optimization loops
│ └── utils/ # Shared utilities
└── tests/ # Test files
Usage
# Basic usage example will be provided here
Development
This project uses:
- UV for dependency management
- Ruff for linting and formatting
- Black for code formatting
- MyPy for static type checking
- Pre-commit for git hooks
To set up the development environment:
# Install pre-commit hooks
pre-commit install
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file self_improving_agents-0.1.0.tar.gz.
File metadata
- Download URL: self_improving_agents-0.1.0.tar.gz
- Upload date:
- Size: 590.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
996f85db97a1a9324f4ae579d95d425fa141f420a1773676ed5dceb2401fca20
|
|
| MD5 |
8bc0d85361e5ceb6e2f5ce718628f5a9
|
|
| BLAKE2b-256 |
e7e877efd14ad4e416877f76b0dd55ef153d0b597ae5437dc194d5742786c964
|
File details
Details for the file self_improving_agents-0.1.0-py3-none-any.whl.
File metadata
- Download URL: self_improving_agents-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b83090709b3e06dd64b1d329fd91f4c6376655d2f5718c5a24dc20954f1973d
|
|
| MD5 |
0c63bbfd557563bbefc8079eb827bb00
|
|
| BLAKE2b-256 |
675b440e07944965f8f47a22513179696f7c1b39c6e36f37365ac3d373f0f6b2
|