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.

Metadata

Release files for agent-learning 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-learning 0.10.0
File Size Uploaded
agent_learning-0.10.0.tar.gz 151.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-learning 0.10.0
File Interpreter ABI Platform
agent_learning-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 281.3 kB

Release files / agent_learning-0.10.0.tar.gz

Download URL agent_learning-0.10.0.tar.gz
Size 151.4 kB
Tags Source
SHA-256 checksum
How to use checksums
49c4118d5ada7aa5f8d8427d9edcc39019e5997b19b799d2b0577e0c0b0a8845
BLAKE2b-256 checksum
How to use checksums
1251487cc90fd62babf2874a9f9a3d369cd41195ccf9c087a66b3ca38469c041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / agent_learning-0.10.0-py3-none-any.whl

Download URL agent_learning-0.10.0-py3-none-any.whl
Size 129.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26f07c87d6445cdf815ea1e97c9b9aec799f56e33b8a84d8ab28e1473056b13c
BLAKE2b-256 checksum
How to use checksums
24429a709f602aa3c2c9133954bc931637efa0af111bf36c482b1b6fc9aa45ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page