Skip to main content

agent-learning

Native reinforcement learning SDK for AI agents. An in-process Learner optimizes a small, interpretable TaskPolicy over discrete agent choices (understand intent and complete task by choosing the right outcome).

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:

  1. TaskPolicy is a softmax distribution over N discrete actions (e.g., "take action A", "take action B", "take action C"). It lives in Python and updates in milliseconds.

  2. Score evaluates each episode on-device with three stdlib scorers for intent resolution, task adherence, and task completion. Their scores are combined into a single scalar reward with no scoring endpoint or environment variables required. Azure AI evaluators remain available as an opt-in.

  3. Learner applies REINFORCE-with-baseline to update TaskPolicy logits directly from logged episodes. Updates are tiny gradient steps that run on local compute and persist through a pluggable store — in-memory or local files by default, with Azure Cosmos DB optional.

Every episode, reward, run, and deployment is captured by the configured store — in-memory or local files by default, or Azure Cosmos DB — giving you a complete lineage and audit trail of how the policy evolved over time.

Download files

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

Source Distribution

agent_learning-0.4.3.tar.gz (94.2 kB view details)

Uploaded Source

Built Distribution

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

agent_learning-0.4.3-py3-none-any.whl (101.2 kB view details)

Uploaded Python 3

File details

Details for the file agent_learning-0.4.3.tar.gz.

File metadata

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

File hashes

Hashes for agent_learning-0.4.3.tar.gz
Algorithm Hash digest
SHA256 2f234746f98fe51142cc0ddfa3f6fbe863849c9d401981510f7b2afbf248e2a6
MD5 b829d013a22cfe699c1295a1b443be6c
BLAKE2b-256 7e863211db2187caffc9ce016dd3e4f584e4d382207440b854aa8248745c05ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_learning-0.4.3.tar.gz:

Publisher: publish.yaml on microsoft/agent-learning

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

File details

Details for the file agent_learning-0.4.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for agent_learning-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2aabf63eca7cc4a592e83d14a1b158e6e139df4f855a1b52ddb7806774e02334
MD5 158dc2b41dc2f5e6f641261c41168ba8
BLAKE2b-256 450fad3d6f289c9967999718668ff75924be6b159744b95b7a489a2e5ec76749

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_learning-0.4.3-py3-none-any.whl:

Publisher: publish.yaml on microsoft/agent-learning

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 Pingdom Monitoring Sentry Error logging StatusPage Status page