Skip to main content

strata-forge

Typed, async-first toolkit for AI/LLM work — inference, evaluation, fine-tuning, retrieval, and remote compute orchestration across the major foundation-model providers.

Built on LiteLLM for provider breadth and Pydantic v2 for strict typing. The public API is async, with sync wrappers in strata_forge.sync for CLI and notebook ergonomics. Heavy optional dependencies (training, serving, remote compute) live behind extras, so the base install stays light.

Install

pip install strata-forge

Requires Python 3.14+.

Optional extras pull in the heavy dependencies only when you need them:

pip install "strata-forge[rag]"        # embeddings, vector store, reranking
pip install "strata-forge[compute]"    # SkyPilot + SSH remote execution
pip install "strata-forge[serving]"    # vLLM
pip install "strata-forge[finetuning]" # torch, transformers, trl, peft
pip install "strata-forge[all]"        # everything

Full set: redis, multimodal, inspect, langfuse, hf, evals, rag, compute, serving, bedrock, storage, finetuning, all.

Quickstart

import asyncio

from strata_forge.llm import LLMClient, Message


async def main() -> None:
    client = LLMClient("gpt-5.5", provider="openai")
    response = await client.complete([Message.user("Say hello in one short sentence.")])
    print(response.text)


asyncio.run(main())

Provider credentials are read from the environment (for example OPENAI_API_KEY). A CLI is installed as strata-forge.

What's in it

Module Purpose
strata_forge.llm Provider abstraction, structured output, tool calling, two-axis fallback
strata_forge.core Cross-cutting errors, retry, logging, budget ceilings, reproducibility
strata_forge.config Pydantic Settings root with YAML overlays and .env support
strata_forge.prompts Jinja2 and Langfuse-backed prompt registry
strata_forge.tracing Langfuse observability
strata_forge.datasets Dataset CRUD with a Hugging Face bridge
strata_forge.evals Experiment runner, graders, metrics
strata_forge.agents Agent runtime, memory, multi-agent composition
strata_forge.rag Embed, chunk, store, retrieve, rerank
strata_forge.storage fsspec gateway and Hugging Face Hub
strata_forge.compute SkyPilot and SSH backends, serving, batch inference
strata_forge.training SFT / DPO / ORPO / KTO / GRPO with PEFT
strata_forge.pipelines Runnable entrypoints executed on a compute target

Documentation

Reference docs live in the repository:

Development

uv sync        # materialize the venv + lockfile
make check     # lint (ruff) + type-check (pyright strict)
make test      # unit tests

License

Apache License 2.0.

Download files

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

Source Distribution

strata_forge-0.1.0.tar.gz (220.0 kB view details)

Uploaded Source

Built Distribution

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

strata_forge-0.1.0-py3-none-any.whl (307.1 kB view details)

Uploaded Python 3

File details

Details for the file strata_forge-0.1.0.tar.gz.

File metadata

  • Download URL: strata_forge-0.1.0.tar.gz
  • Upload date:
  • Size: 220.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for strata_forge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a8e1546fa7d6a5bdaae98ad3d5c2ea27c0b7d3df560abab92cd5c4b6d9b4a73d
MD5 50f70115118e65761d9804c94c009f3e
BLAKE2b-256 77c50e2106eac133fe7836a0786de7f0ae272cd786f01ca5182c4c6ecb5aba38

See more details on using hashes here.

Provenance

The following attestation bundles were made for strata_forge-0.1.0.tar.gz:

Publisher: release.yml on GemovicNemanja/strata-forge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: strata_forge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 307.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for strata_forge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9257f6b948b6c52fbaf46955beb727f4c9a2644693be913cd7dd32309052b8ac
MD5 11227e1a72b564b519eaac575491a1c7
BLAKE2b-256 e86a3ddb001fbe6ac63e0cc3fc59221a57998feede1eac007e86ca834f2aebff

See more details on using hashes here.

Provenance

The following attestation bundles were made for strata_forge-0.1.0-py3-none-any.whl:

Publisher: release.yml on GemovicNemanja/strata-forge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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