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.9.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.9.0
File Size Uploaded
agent_learning-0.9.0.tar.gz 144.8 kB Details

Built distribution (wheel)

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

Total release size: 272.7 kB

Release files / agent_learning-0.9.0.tar.gz

Download URL agent_learning-0.9.0.tar.gz
Size 144.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7ec79f71e0b5c6f3608e6ce991ff17c4d2a40b6d0da11c626ae768ba8c320ba4
BLAKE2b-256 checksum
How to use checksums
3bd42e3495511482e9a60b9cf37db18f2acf4e75a201634f9300b1e5365881c0
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 20, 2026.

Transparency log

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

Download URL agent_learning-0.9.0-py3-none-any.whl
Size 128.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6b719ed98549b894ffb2cbf409e660ba7ae8fe0b52ab9fb5e5e3875f92f06d1
BLAKE2b-256 checksum
How to use checksums
8bc837b46c71f23039fbddc46a4f9a5a8420e81636f5832da02c2fcbfc419bc3
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 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.10.0

2 release files

This release

0.9.0 This release

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