Skip to main content

agent-learning

Evidence-driven decision SDK for AI agents. Each recurring agent-task decision has one small, interpretable TaskPolicy over explicit executable alternatives.

TaskPolicies model reusable decisions among executable alternatives such as models, skills, tools, workflows, or workloads. Factual questions, ordinary chat, reporting, and learning automation are not policy tasks.

How it works

The SDK improves decisions without LLM weight fine-tuning. There are no GPU fine-tune jobs and no opaque update cycles. Four pieces run in the existing Python process:

  1. TaskPolicy owns N discrete actions and one persisted decision authority. low selects from learned softmax evidence; full evaluates a structured DecisionFrame against the same action set.

  2. DecisionResolver applies hard constraints, confidence-weighted Bayesian evidence aggregation, Pareto elimination, robust utility, and information needs. A close result requires an explicit accept/reject tie-break.

  3. Score evaluates each episode on-device for intent resolution, task adherence, and task completion. Azure AI evaluators remain opt-in.

  4. Learner applies REINFORCE-with-baseline to low-authority TaskPolicy logits from observed outcomes and accept/reject feedback. Full-authority episodes are scored and audited but are not treated as softmax samples.

task-policy-decide closes the loop at execution time. It returns learned feedback for low authority or an auditable decision certificate, information needs, and any required tie-break for full authority. Both routes preserve the same policy ID, version lineage, and action taxonomy.

It also returns a complexity-proportional autonomy assessment. A persisted profile covers intent ambiguity, context variability, outcome observability, decision impact, reversibility, and mandatory approval; action-space size is derived. The resulting low, standard, high, or critical tier scales required outcomes, Wilson confidence, reward, probability, margin, stable snapshots, and drift-audit rate. Autonomous executions continue learning from observable outcomes, while tier-scaled samples request user feedback to detect drift. An explicit accepted-feedback episode is a separate durable authorization path: it pins that action for the task policy and suppresses future feedback prompts until the user explicitly rejects it.

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.8.1.tar.gz (124.9 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.8.1-py3-none-any.whl (119.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_learning-0.8.1.tar.gz
  • Upload date:
  • Size: 124.9 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.8.1.tar.gz
Algorithm Hash digest
SHA256 91393b34b2543ed3722613baf61b10a5a61aa476996490fdf803e6146106cffa
MD5 7943347d672efc5c20cda791a554ee63
BLAKE2b-256 707decdc4b0b86db03dd4b8ee05d7a921710a797b21d014ff0551a48fe22982c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: agent_learning-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 119.5 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.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5be7daaa67022493fa037c64bc052c4da1c2644c8024fd5c980ee4f1a131df6c
MD5 68cb5cc4b912429ff47e1456d4ca87cf
BLAKE2b-256 a926fd5b95f615389e189baff28dc2d458eadf43867fc4d5682da7b696222097

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_learning-0.8.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 Sentry Error logging StatusPage Status page