Native, in-process reinforcement learning SDK for AI agents — in-memory and local-file storage by default.
Project description
azure-agents-learning-sdk
Native reinforcement learning SDK for AI agents. An in-process learner optimizes a small, interpretable policy over discrete agent configuration choices (prompt variants, retrieval-k, tool selection strategies, …).
How it works
The SDK improves agents without LLM weight fine-tuning. There are no GPU fine-tune jobs and no opaque update cycles — just three pieces that run in your existing Python process:
-
The policy is a softmax distribution over
Ndiscrete actions (e.g., "use prompt template A", "use template B"). It lives in Python and updates in milliseconds. -
Each episode is judged by three Azure AI Evaluation evaluators —
IntentResolutionEvaluator,TaskAdherenceEvaluator, andTaskCompletionEvaluator— whose scores are combined into a single scalar reward. -
A REINFORCE-with-baseline learner updates the policy logits directly from logged episodes. Updates are tiny gradient steps that run on CPU and persist through a pluggable store — in-memory or local files by default, with Cosmos DB optional.
Every episode, reward, run, and deployment is captured by the configured store — in-memory or local files by default, or Cosmos DB — giving you a complete lineage and audit trail of how the policy evolved over time.
Project details
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 azure_agents_learning_sdk-0.3.1.tar.gz.
File metadata
- Download URL: azure_agents_learning_sdk-0.3.1.tar.gz
- Upload date:
- Size: 85.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62878ab59cb4f4dc963fdc06dd7c18d0fd5ff4d7ce9122c88cc1a124cce04a89
|
|
| MD5 |
27c47bec743b9f36f296ac75670872a6
|
|
| BLAKE2b-256 |
3922c659faa8d208e623c8476d1d0b6a8c65fb6edbba8ab13149e50a460d82a0
|
File details
Details for the file azure_agents_learning_sdk-0.3.1-py3-none-any.whl.
File metadata
- Download URL: azure_agents_learning_sdk-0.3.1-py3-none-any.whl
- Upload date:
- Size: 94.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2155e741b40ca5102a0e9d55a763b480ae0c88252c1b578bae969129caac31e7
|
|
| MD5 |
2d19340334414799c4469692fed4adb3
|
|
| BLAKE2b-256 |
433d48303100a8fe945b6d9d354160a99f28e6b3c66f82b142091cc52cbc28ab
|