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 by three AI Evaluation evaluators — IntentResolutionEvaluator, TaskAdherenceEvaluator, and TaskCompletionEvaluator — whose scores are combined into a single scalar reward.

  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.1.tar.gz (90.6 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.1-py3-none-any.whl (98.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_learning-0.4.1.tar.gz
  • Upload date:
  • Size: 90.6 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.1.tar.gz
Algorithm Hash digest
SHA256 a185ec6b51c37c0e30b213aa0c882158e6f3f6908e5af38d102e03e4a4f0fb7e
MD5 12b772b9cffb2752079596a7b5de8a78
BLAKE2b-256 ffdb8c3e80a0a7143e198cb2e4591ec94b80a8aaea509254201602ef1ac2bf51

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: agent_learning-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 98.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db438e4f11ed10ea1ab926e733bf64d97d7becebc64c180248920cebd01c1897
MD5 bfe245126609eb9660a68a7525ec8b11
BLAKE2b-256 4e5cac3dbd64671b479cbaaffc84254b5c0c83d9927ffd3c36be93d2422042f8

See more details on using hashes here.

Provenance

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