Skip to main content

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

Metadata

Release files for self-improving-agents 0.1.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 self-improving-agents 0.1.0
File Size Uploaded Provenance Actions
self_improving_agents-0.1.0.tar.gz 590.4 kB Without provenance Details for self_improving_agents-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for self-improving-agents 0.1.0
File Interpreter ABI Platform Actions
self_improving_agents-0.1.0-py3-none-any.whl Python 3 none any Details for self_improving_agents-0.1.0-py3-none-any.whl

Total release size: 619.4 kB

Release files / self_improving_agents-0.1.0.tar.gz

Download URL self_improving_agents-0.1.0.tar.gz
Size 590.4 kB
Tags Source
SHA-256 checksum
How to use checksums
996f85db97a1a9324f4ae579d95d425fa141f420a1773676ed5dceb2401fca20
BLAKE2b-256 checksum
How to use checksums
e7e877efd14ad4e416877f76b0dd55ef153d0b597ae5437dc194d5742786c964
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / self_improving_agents-0.1.0-py3-none-any.whl

Download URL self_improving_agents-0.1.0-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b83090709b3e06dd64b1d329fd91f4c6376655d2f5718c5a24dc20954f1973d
BLAKE2b-256 checksum
How to use checksums
675b440e07944965f8f47a22513179696f7c1b39c6e36f37365ac3d373f0f6b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for self-improving-agents 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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