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.2.tar.gz (125.3 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.2-py3-none-any.whl (119.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_learning-0.8.2.tar.gz
  • Upload date:
  • Size: 125.3 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.2.tar.gz
Algorithm Hash digest
SHA256 53a2f55b73a06541f69b16e267d56ad72af77167935f0699dc891ebc5f71bfef
MD5 8d172bc7a58a05c3a6214ddc9119abca
BLAKE2b-256 19c8fa4edc4b75b00f100746c0d8b91f4f6fbe77c91ec0f52937a837ad40d694

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: agent_learning-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 119.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.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7356e9c5be266de73897cc69ad722b0096af39574c529b97d1992c90bef1015a
MD5 094d87230be36a13acc75710a3b4d6fd
BLAKE2b-256 707d3426d9ac8f9995fdd36cab5219c121400212a80fb46881686a72abe9abd1

See more details on using hashes here.

Provenance

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