Skip to main content

agent-learning

Native reinforcement learning SDK for AI agents. An in-process learner optimizes a small, interpretable policy 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. The policy 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. Each episode is evaluated on-device by 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. A REINFORCE-with-baseline learner updates the policy 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.2.tar.gz (93.4 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.2-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_learning-0.4.2.tar.gz
  • Upload date:
  • Size: 93.4 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.2.tar.gz
Algorithm Hash digest
SHA256 579140e5aee396672e3d9cf6a90484564600f16661800ea80a960c32f669e0f6
MD5 fc06f05dfe2953d55f4dab4bef0f1db8
BLAKE2b-256 d79931571c4dbadbbf5b475da86b9bc4b94e7b0a94075bb8692bca15e5f61e80

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_learning-0.4.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: agent_learning-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 100.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9edf4bef21cd0c8eef5a369db974005aac91c0452ac605a9b20e811c32cf5ef7
MD5 d41cc14b10dd6b89c6c17e9bce5735dd
BLAKE2b-256 56c345b154d0c620ef09a5653336bc9e35768813285ef04035b205d5689e71a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_learning-0.4.2-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