BlackHC/llm-strategy

Directly Connecting Python to LLMs via Strongly-Typed Functions, Dataclasses, Interfaces & Generic Types

52
/ 100
Established

Implements the Strategy Pattern by using LLM responses to satisfy abstract method contracts, with docstrings and type annotations automatically converted into structured prompts. Supports arbitrary dataclass return types and generic type variables, enabling meta-optimization workflows where LLMs iteratively refine hyperparameters based on task performance. Includes hyperparameter tracking and tracing infrastructure for collecting and analyzing LLM decision chains across multiple iterations.

401 stars and 45 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 14 / 25
Maturity 25 / 25
Community 13 / 25

How are scores calculated?

Stars

401

Forks

24

Language

Python

License

MIT

Last pushed

Mar 03, 2025

Monthly downloads

45

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/BlackHC/llm-strategy"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.