Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

self_improving_agents-0.1.0.tar.gz (590.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

self_improving_agents-0.1.0-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

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

Hashes for self_improving_agents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 996f85db97a1a9324f4ae579d95d425fa141f420a1773676ed5dceb2401fca20
MD5 8bc0d85361e5ceb6e2f5ce718628f5a9
BLAKE2b-256 e7e877efd14ad4e416877f76b0dd55ef153d0b597ae5437dc194d5742786c964

See more details on using hashes here.

File details

Details for the file self_improving_agents-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for self_improving_agents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b83090709b3e06dd64b1d329fd91f4c6376655d2f5718c5a24dc20954f1973d
MD5 0c63bbfd557563bbefc8079eb827bb00
BLAKE2b-256 675b440e07944965f8f47a22513179696f7c1b39c6e36f37365ac3d373f0f6b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page