Home/LLM Frameworks/llm-strategy
llm-strategy logo

llm-strategy

BlackHC/llm-strategy

Python library for strongly typed interaction with LLMs

GraphCanon updated 2w · GitHub synced 2w

400 stars22 forksLast push 1y Python MIT

Decision brief

llm-strategy is a Python library promoting type safety in interactions with language models through its use of strongly typed functions and dataclasses.

Good fit when

  • You need to enforce strict type safety when working with LLMs
  • Your project benefits from integrating with Pydantic for schema validation

Avoid when

  • If loose or dynamic typing offers better flexibility for your application
  • When you prefer frameworks that do not have a steep learning curve due to advanced type annotations

Observed Jul 15, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (522d since push)
As of 2w
Provenance
Not a fork · Personal account
As of 2w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install llm-strategy
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

This repository offers a way to interface Python programs with language models using type checking and strong typing principles.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 8, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 8, 2026

Languages
python

Source: github.language+pyproject.toml · Aug 8, 2026

Categories

Tags

README

Getting started with contributing

Clone the repository first. Then, install the environment and the pre-commit hooks with

make install

The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPi or Artifactory, see here. For activating the automatic documentation with MkDocs, see here. To enable the code coverage reports, see here.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.