An SDK for building reliable AI agents
Project description
RELAI: Simulate → Evaluate → Optimize AI Agents
RELAI is an SDK for building reliable AI agents. It streamlines the hardest parts of agent development—simulation, evaluation, and optimization—so you can iterate quickly with confidence.
What you get
- Agent Simulation — Create full/partial environments, define LLM personas, mock MCP servers & tools, and generate synthetic data. Optionally condition simulation on real samples to better match production.
- Agent Evaluation — Mix code-based and LLM-based custom evaluators or use RELAI platform evaluators. Turn human reviews into benchmarks you can re-run.
- Agent Optimization (Maestro) — Holistic optimizer that uses evaluator signals & feedback to improve prompts/configs and suggest graph-level changes. Also selects best model/tool/graph based on observed performance.
Quickstart
Create a free account and get a RELAI API key: platform.relai.ai/settings/access/api-keys
Installation and Setup
pip install relai
# or
uv add relai
export RELAI_API_KEY="<RELAI_API_KEY>"
Links
- 📘 Documentation: docs.relai.ai
- 🧪 Examples: relai-sdk/examples
- 🌐 Website: relai.ai
- 📰 Maestro Technical Report: ArXiV
- 🌐 Join the Community: Discord
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file relai-0.3.2.tar.gz.
File metadata
- Download URL: relai-0.3.2.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2b26955298d8600525b61017a4ca500023934d9abadc838b535433ab8b2a075
|
|
| MD5 |
f48be8b6680bde8d0a2a36e85f3c79f5
|
|
| BLAKE2b-256 |
78d099deefd76b5f812c3362ec63274b2092d338510c55319f46750ac578ec46
|
Provenance
The following attestation bundles were made for relai-0.3.2.tar.gz:
Publisher:
upload-to-package-index.yml on relai-ai/relai-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
relai-0.3.2.tar.gz -
Subject digest:
c2b26955298d8600525b61017a4ca500023934d9abadc838b535433ab8b2a075 - Sigstore transparency entry: 623281469
- Sigstore integration time:
-
Permalink:
relai-ai/relai-sdk@ce5e8d1f1fa7169c43945dddee9f50ed24665f98 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/relai-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
upload-to-package-index.yml@ce5e8d1f1fa7169c43945dddee9f50ed24665f98 -
Trigger Event:
push
-
Statement type:
File details
Details for the file relai-0.3.2-py3-none-any.whl.
File metadata
- Download URL: relai-0.3.2-py3-none-any.whl
- Upload date:
- Size: 55.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a53fa1e9d48bf3962491968727765bbea3758ca9031a5ed66e64625e1534169a
|
|
| MD5 |
2df16a7a96c810515d3db6914c0fa01c
|
|
| BLAKE2b-256 |
4aaf6fd77e08fb55d298d866cd05eb7837b9ef33459efe96aa0f3f8f8a922973
|
Provenance
The following attestation bundles were made for relai-0.3.2-py3-none-any.whl:
Publisher:
upload-to-package-index.yml on relai-ai/relai-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
relai-0.3.2-py3-none-any.whl -
Subject digest:
a53fa1e9d48bf3962491968727765bbea3758ca9031a5ed66e64625e1534169a - Sigstore transparency entry: 623281477
- Sigstore integration time:
-
Permalink:
relai-ai/relai-sdk@ce5e8d1f1fa7169c43945dddee9f50ed24665f98 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/relai-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
upload-to-package-index.yml@ce5e8d1f1fa7169c43945dddee9f50ed24665f98 -
Trigger Event:
push
-
Statement type: