agent-learning 0.8.2__tar.gz → 0.8.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_learning-0.8.2/src/agent_learning.egg-info → agent_learning-0.8.3}/PKG-INFO +1 -1
- {agent_learning-0.8.2 → agent_learning-0.8.3}/README.md +32 -1
- {agent_learning-0.8.2 → agent_learning-0.8.3}/pyproject.toml +1 -1
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/_version.py +1 -1
- {agent_learning-0.8.2 → agent_learning-0.8.3/src/agent_learning.egg-info}/PKG-INFO +1 -1
- {agent_learning-0.8.2 → agent_learning-0.8.3}/LICENSE +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/PYPI.md +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/setup.cfg +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/autonomy.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/capture.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/router.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/_base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/intent.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/cli.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/config.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/decision.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/learners/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/learners/base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/learners/reinforce.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/intent_resolution.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/local.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/registry.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/task_adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/task_completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/policy/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/policy/base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/policy/contextual_softmax.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/policy/softmax_bandit.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/py.typed +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/rewards/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/rewards/shaping.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/rewards/writer.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/llm/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/llm/_base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/llm/adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/llm/completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/llm/intent.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp/_base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp/adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp/completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp/intent.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/_base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/intent.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/slm/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/slm/_base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/slm/adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/slm/completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/slm/intent.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/_text.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/adherence.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/completion.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/intent.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/storage/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/storage/base.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/storage/cosmos.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/storage/local.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/storage/memory.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/training/__init__.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/training/runner.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/types.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning.egg-info/SOURCES.txt +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning.egg-info/dependency_links.txt +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning.egg-info/entry_points.txt +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning.egg-info/requires.txt +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning.egg-info/top_level.txt +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_autonomy.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_capture.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_cli.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_contextual_policy.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_decision.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_default_store.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_end_to_end.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_learner.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_linux_install_script.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_metrics_local.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_policy.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_release_workflow.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_scorers.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_scorers_llm.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_scorers_nlp_text.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_scorers_slm.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_scorers_stdlib.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_shaping.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_storage_local.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_storage_memory.py +0 -0
- {agent_learning-0.8.2 → agent_learning-0.8.3}/tests/test_types.py +0 -0
|
@@ -100,7 +100,7 @@ or install it with the automation script:
|
|
|
100
100
|
|
|
101
101
|
```bash
|
|
102
102
|
curl -fsSL https://raw.githubusercontent.com/microsoft/agent-learning/main/scripts/install-linux.sh -o /tmp/install-linux.sh
|
|
103
|
-
bash /tmp/install-linux.sh --version 0.8.
|
|
103
|
+
bash /tmp/install-linux.sh --version 0.8.3 --install-dir /usr/local/bin
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
The Linux installation guide covers Debian/Ubuntu, RHEL-compatible, and
|
|
@@ -115,6 +115,37 @@ Released versions are published to PyPI:
|
|
|
115
115
|
pip install agent-learning
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
+
### Development with uv
|
|
119
|
+
|
|
120
|
+
**PyPI (any OS):** Install [uv](https://docs.astral.sh/uv/getting-started/installation/)
|
|
121
|
+
with `pip`:
|
|
122
|
+
|
|
123
|
+
```shell
|
|
124
|
+
pip install uv
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Create a virtual environment and install the project runtime and development
|
|
128
|
+
dependencies declared in `pyproject.toml`:
|
|
129
|
+
|
|
130
|
+
```shell
|
|
131
|
+
uv sync --extra dev
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Commit `uv.lock` to keep dependency versions reproducible. After changing
|
|
135
|
+
dependencies, update and verify the lock file:
|
|
136
|
+
|
|
137
|
+
```shell
|
|
138
|
+
uv lock
|
|
139
|
+
uv lock --check
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Run validation inside the managed environment with `uv run`:
|
|
143
|
+
|
|
144
|
+
```shell
|
|
145
|
+
uv run pytest
|
|
146
|
+
uv run ruff check .
|
|
147
|
+
```
|
|
148
|
+
|
|
118
149
|
## Quickstart: improve one recurring decision
|
|
119
150
|
|
|
120
151
|
Use one durable store across CLI processes:
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agent-learning"
|
|
7
|
-
version = "0.8.
|
|
7
|
+
version = "0.8.3"
|
|
8
8
|
description = "Evidence-driven reasoned and learned decisions for AI agents with inspectable autonomy."
|
|
9
9
|
readme = "PYPI.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/__init__.py
RENAMED
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/_base.py
RENAMED
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/adherence.py
RENAMED
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/completion.py
RENAMED
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/classifiers/scorers/intent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/metrics/intent_resolution.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/policy/contextual_softmax.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/adherence.py
RENAMED
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/nlp_text/completion.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/adherence.py
RENAMED
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning/scorers/stdlib/completion.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_learning-0.8.2 → agent_learning-0.8.3}/src/agent_learning.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|