pyagent-context 0.2.3__tar.gz → 0.2.4__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.
- pyagent_context-0.2.3/README.md → pyagent_context-0.2.4/PKG-INFO +70 -1
- pyagent_context-0.2.3/PKG-INFO → pyagent_context-0.2.4/README.md +36 -32
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/pyproject.toml +5 -2
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/.gitignore +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/__init__.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/compression.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/item.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/ledger.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/lifecycle.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/memory/__init__.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/memory/semantic.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/memory/session.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/memory/working.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/py.typed +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/redaction.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/src/pyagent_context/retrieval.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/__init__.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/test_compression.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/test_item.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/test_ledger.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/test_lifecycle.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/test_memory.py +0 -0
- {pyagent_context-0.2.3 → pyagent_context-0.2.4}/tests/test_retrieval.py +0 -0
|
@@ -1,10 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyagent-context
|
|
3
|
+
Version: 0.2.4
|
|
4
|
+
Summary: Three-tier memory with trust-aware context ledger for multi-agent LLM systems
|
|
5
|
+
Project-URL: Homepage, https://pyagent.org
|
|
6
|
+
Project-URL: Repository, https://github.com/pyagent-core/pyagent
|
|
7
|
+
Project-URL: Documentation, https://pyagent.org
|
|
8
|
+
Project-URL: Agent Orchestration Patterns, https://pyagent.org/patterns/orchestrator-worker/
|
|
9
|
+
Project-URL: Agent Harness Architecture, https://pyagent.org/architecture/multi-agent-harness/
|
|
10
|
+
Project-URL: Agent Experience Optimization, https://pyagent.org/concepts/agent-experience-optimization/
|
|
11
|
+
Author-email: PyAgent Team <team@pyagent.org>
|
|
12
|
+
License: MIT
|
|
13
|
+
Keywords: AXO,LLM,agent memory,agents,context,memory,retrieval,stateful multi-actor workflows,trust
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
21
|
+
Classifier: Typing :: Typed
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: pyagent-patterns>=0.1.0
|
|
24
|
+
Provides-Extra: chromadb
|
|
25
|
+
Requires-Dist: chromadb>=0.5; extra == 'chromadb'
|
|
26
|
+
Provides-Extra: compress
|
|
27
|
+
Requires-Dist: pyagent-compress>=0.1.0; extra == 'compress'
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
30
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
31
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
32
|
+
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
1
35
|
# pyagent-context
|
|
2
36
|
|
|
3
|
-
**
|
|
37
|
+
**Pillar 3 of the PyAgent production stack for multi-agent LLM systems** — three-tier memory with trust-aware context ledger. Trust levels, sensitivity classification, compression policies, and PII redaction built in.
|
|
4
38
|
|
|
5
39
|
[](../../LICENSE)
|
|
6
40
|
[](https://www.python.org/downloads/)
|
|
7
41
|
|
|
42
|
+
> **Architecture Pillar: 🧠 Context & Memory**
|
|
43
|
+
> The sole Context & Memory pillar package — a structured `ContextLedger` with three-tier memory (working, session, semantic), trust and sensitivity metadata, compression, and PII redaction for agents that need to remember across turns.
|
|
44
|
+
> Part of the full stack: install `pyagent-all` for all pillars.
|
|
45
|
+
|
|
8
46
|
## Install
|
|
9
47
|
|
|
10
48
|
```bash
|
|
@@ -444,6 +482,37 @@ context:
|
|
|
444
482
|
|
|
445
483
|
After `BlueprintCompiler.compile()`, these settings are available on the `RuntimeGraph` for the consumer to wire into agents.
|
|
446
484
|
|
|
485
|
+
## Full stack
|
|
486
|
+
|
|
487
|
+
Install all pillars at once: `pip install pyagent-all`
|
|
488
|
+
|
|
489
|
+
→ [pyagent.org](https://pyagent.org) for full documentation.
|
|
490
|
+
|
|
447
491
|
## Full Documentation
|
|
448
492
|
|
|
449
493
|
See [pyagent.org](https://pyagent.org) for full API reference and integration guides.
|
|
494
|
+
|
|
495
|
+
<!-- pyagent-ecosystem-footer:start -->
|
|
496
|
+
|
|
497
|
+
## The PyAgent ecosystem
|
|
498
|
+
|
|
499
|
+
PyAgent is a production stack for multi-agent LLM systems. Each package is independent — install
|
|
500
|
+
only what you need, or get everything with [`pip install pyagent-all`](https://pyagent.org/getting-started/).
|
|
501
|
+
|
|
502
|
+
| Package | What it gives you |
|
|
503
|
+
|---------|-------------------|
|
|
504
|
+
| `pyagent-blueprint` | [Declarative multi-agent blueprints](https://pyagent.org/guides/blueprint/) — compile, validate, and diff agent systems from YAML |
|
|
505
|
+
| `pyagent-patterns` | [Reusable multi-agent design patterns](https://pyagent.org/packages/patterns/) — Supervisor, Pipeline, ReAct, and 15 more |
|
|
506
|
+
| `pyagent-router` | [Difficulty-aware model routing](https://pyagent.org/guides/router/) — cost-efficient model selection per task |
|
|
507
|
+
| `pyagent-compress` | [Token-efficient agent compression](https://pyagent.org/guides/compression/) — inter-agent token budgets |
|
|
508
|
+
| `pyagent-providers` | [Multi-provider orchestration](https://pyagent.org/guides/providers/) — fallback chains and capability negotiation |
|
|
509
|
+
| `pyagent-context` | [Stateful agent memory](https://pyagent.org/guides/context/) — trust-aware, three-tier context ledger |
|
|
510
|
+
| `pyagent-trace` | [Multi-agent observability & tracing](https://pyagent.org/guides/tracing/) — pattern-aware OpenTelemetry spans |
|
|
511
|
+
| `pyagent-studio` | [Agent control plane dashboard](https://pyagent.org/guides/studio/) — live traces, cost, and governance |
|
|
512
|
+
|
|
513
|
+
**Learn the concepts:**
|
|
514
|
+
[The Orchestrator-Worker pattern](https://pyagent.org/patterns/orchestrator-worker/) ·
|
|
515
|
+
[Engineering a resilient multi-agent harness](https://pyagent.org/architecture/multi-agent-harness/) ·
|
|
516
|
+
[Agent Experience Optimization (AXO)](https://pyagent.org/concepts/agent-experience-optimization/)
|
|
517
|
+
|
|
518
|
+
<!-- pyagent-ecosystem-footer:end -->
|
|
@@ -1,41 +1,14 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: pyagent-context
|
|
3
|
-
Version: 0.2.3
|
|
4
|
-
Summary: Three-tier memory with trust-aware context ledger for multi-agent LLM systems
|
|
5
|
-
Project-URL: Homepage, https://pyagent.org
|
|
6
|
-
Project-URL: Repository, https://github.com/pyagent-core/pyagent
|
|
7
|
-
Project-URL: Documentation, https://pyagent.org
|
|
8
|
-
Author-email: PyAgent Team <team@pyagent.org>
|
|
9
|
-
License: MIT
|
|
10
|
-
Keywords: LLM,agents,context,memory,retrieval,trust
|
|
11
|
-
Classifier: Development Status :: 3 - Alpha
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
18
|
-
Classifier: Typing :: Typed
|
|
19
|
-
Requires-Python: >=3.11
|
|
20
|
-
Requires-Dist: pyagent-patterns>=0.1.0
|
|
21
|
-
Provides-Extra: chromadb
|
|
22
|
-
Requires-Dist: chromadb>=0.5; extra == 'chromadb'
|
|
23
|
-
Provides-Extra: compress
|
|
24
|
-
Requires-Dist: pyagent-compress>=0.1.0; extra == 'compress'
|
|
25
|
-
Provides-Extra: dev
|
|
26
|
-
Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
27
|
-
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
28
|
-
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
29
|
-
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
30
|
-
Description-Content-Type: text/markdown
|
|
31
|
-
|
|
32
1
|
# pyagent-context
|
|
33
2
|
|
|
34
|
-
**
|
|
3
|
+
**Pillar 3 of the PyAgent production stack for multi-agent LLM systems** — three-tier memory with trust-aware context ledger. Trust levels, sensitivity classification, compression policies, and PII redaction built in.
|
|
35
4
|
|
|
36
5
|
[](../../LICENSE)
|
|
37
6
|
[](https://www.python.org/downloads/)
|
|
38
7
|
|
|
8
|
+
> **Architecture Pillar: 🧠 Context & Memory**
|
|
9
|
+
> The sole Context & Memory pillar package — a structured `ContextLedger` with three-tier memory (working, session, semantic), trust and sensitivity metadata, compression, and PII redaction for agents that need to remember across turns.
|
|
10
|
+
> Part of the full stack: install `pyagent-all` for all pillars.
|
|
11
|
+
|
|
39
12
|
## Install
|
|
40
13
|
|
|
41
14
|
```bash
|
|
@@ -475,6 +448,37 @@ context:
|
|
|
475
448
|
|
|
476
449
|
After `BlueprintCompiler.compile()`, these settings are available on the `RuntimeGraph` for the consumer to wire into agents.
|
|
477
450
|
|
|
451
|
+
## Full stack
|
|
452
|
+
|
|
453
|
+
Install all pillars at once: `pip install pyagent-all`
|
|
454
|
+
|
|
455
|
+
→ [pyagent.org](https://pyagent.org) for full documentation.
|
|
456
|
+
|
|
478
457
|
## Full Documentation
|
|
479
458
|
|
|
480
459
|
See [pyagent.org](https://pyagent.org) for full API reference and integration guides.
|
|
460
|
+
|
|
461
|
+
<!-- pyagent-ecosystem-footer:start -->
|
|
462
|
+
|
|
463
|
+
## The PyAgent ecosystem
|
|
464
|
+
|
|
465
|
+
PyAgent is a production stack for multi-agent LLM systems. Each package is independent — install
|
|
466
|
+
only what you need, or get everything with [`pip install pyagent-all`](https://pyagent.org/getting-started/).
|
|
467
|
+
|
|
468
|
+
| Package | What it gives you |
|
|
469
|
+
|---------|-------------------|
|
|
470
|
+
| `pyagent-blueprint` | [Declarative multi-agent blueprints](https://pyagent.org/guides/blueprint/) — compile, validate, and diff agent systems from YAML |
|
|
471
|
+
| `pyagent-patterns` | [Reusable multi-agent design patterns](https://pyagent.org/packages/patterns/) — Supervisor, Pipeline, ReAct, and 15 more |
|
|
472
|
+
| `pyagent-router` | [Difficulty-aware model routing](https://pyagent.org/guides/router/) — cost-efficient model selection per task |
|
|
473
|
+
| `pyagent-compress` | [Token-efficient agent compression](https://pyagent.org/guides/compression/) — inter-agent token budgets |
|
|
474
|
+
| `pyagent-providers` | [Multi-provider orchestration](https://pyagent.org/guides/providers/) — fallback chains and capability negotiation |
|
|
475
|
+
| `pyagent-context` | [Stateful agent memory](https://pyagent.org/guides/context/) — trust-aware, three-tier context ledger |
|
|
476
|
+
| `pyagent-trace` | [Multi-agent observability & tracing](https://pyagent.org/guides/tracing/) — pattern-aware OpenTelemetry spans |
|
|
477
|
+
| `pyagent-studio` | [Agent control plane dashboard](https://pyagent.org/guides/studio/) — live traces, cost, and governance |
|
|
478
|
+
|
|
479
|
+
**Learn the concepts:**
|
|
480
|
+
[The Orchestrator-Worker pattern](https://pyagent.org/patterns/orchestrator-worker/) ·
|
|
481
|
+
[Engineering a resilient multi-agent harness](https://pyagent.org/architecture/multi-agent-harness/) ·
|
|
482
|
+
[Agent Experience Optimization (AXO)](https://pyagent.org/concepts/agent-experience-optimization/)
|
|
483
|
+
|
|
484
|
+
<!-- pyagent-ecosystem-footer:end -->
|
|
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyagent-context"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.4"
|
|
8
8
|
description = "Three-tier memory with trust-aware context ledger for multi-agent LLM systems"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
11
|
license = {text = "MIT"}
|
|
12
12
|
authors = [{name = "PyAgent Team", email = "team@pyagent.org"}]
|
|
13
|
-
keywords = ["agents", "context", "memory", "LLM", "trust", "retrieval"]
|
|
13
|
+
keywords = ["agents", "context", "memory", "LLM", "trust", "retrieval", "stateful multi-actor workflows", "agent memory", "AXO"]
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Development Status :: 3 - Alpha",
|
|
16
16
|
"Intended Audience :: Developers",
|
|
@@ -27,6 +27,9 @@ dependencies = ["pyagent-patterns>=0.1.0"]
|
|
|
27
27
|
Homepage = "https://pyagent.org"
|
|
28
28
|
Repository = "https://github.com/pyagent-core/pyagent"
|
|
29
29
|
Documentation = "https://pyagent.org"
|
|
30
|
+
"Agent Orchestration Patterns" = "https://pyagent.org/patterns/orchestrator-worker/"
|
|
31
|
+
"Agent Harness Architecture" = "https://pyagent.org/architecture/multi-agent-harness/"
|
|
32
|
+
"Agent Experience Optimization" = "https://pyagent.org/concepts/agent-experience-optimization/"
|
|
30
33
|
|
|
31
34
|
[project.optional-dependencies]
|
|
32
35
|
compress = ["pyagent-compress>=0.1.0"]
|
|
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
|