agos-memory
A small, deterministic decision kernel for already-authorized memory values. It performs no I/O and grants no authority.
Host acquisition -> finite authorized values -> pure decisions -> Host effects
admit / retain / select / support
The package owns four decisions:
| Function | Decision |
|---|---|
admit() |
Accept, reject, or replace proposed memory. |
retain() |
Retain or omit one record from the current context. |
select() |
Rank and fit finite candidates with complete outcome evidence. |
support() |
Compare an exact dependency with an already-reopened source. |
Storage, authorization, retrieval, embeddings, models, prompts, graphs, and receipts belong to the application integrating the kernel.
Install
With pip:
python -m pip install agos-memory
With uv:
uv add agos-memory
Example
from agos_memory.support import source_digest, support
from agos_memory.types import Current, ReopenedSource, SourceDependency
text = "Debt matures in 2029."
digest = source_digest(text)
expected = SourceDependency(
owner="document-1",
revision="version-1",
fragment="chunk-1",
kind="raw",
digest=digest,
)
reopened = ReopenedSource(
owner="document-1",
revision="version-1",
fragment="chunk-1",
kind="raw",
digest=digest,
current_revision="version-1",
)
assert support(expected, reopened) == Current()
Inputs are explicit immutable values. Time, limits, policy, partitions, routes, and reopened source state come from the caller. Labels and scores never create authority.
Develop
uv sync --locked --all-groups
uv run pytest
uv run ruff check .
uv build --no-sources
The wheel and source archive are tested as external packages on Python 3.11, 3.12, and 3.13. Runtime dependencies remain empty.
Research
Reproducible public experiments live in
agos-memory-lab. Benchmark
dependencies, datasets, model calls, and results stay outside this kernel.
Security
See SECURITY.md. Please report vulnerabilities privately rather than opening a public issue.
License
Copyright 2026 I am Agos, Inc. Licensed under the Apache License, Version 2.0.
Metadata
Release files for agos-memory 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| agos_memory-0.1.1.tar.gz | 22.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agos_memory-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.6 kB
Release files / agos_memory-0.1.1.tar.gz
| Download URL | agos_memory-0.1.1.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bec79f2571b2a69a680ba8e98f5163a94f6826e4b5161c813e334512553b948
|
|
BLAKE2b-256 checksum How to use checksums |
1c3bf322b971a71fe175acd88935d92bd187dd4f1057911cd35ce06d1c20f0de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / agos_memory-0.1.1-py3-none-any.whl
| Download URL | agos_memory-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cacc5967cfe152d690289c3d73d12c5672d9e0bc9d319883adec2bf3ab47463a
|
|
BLAKE2b-256 checksum How to use checksums |
7ab5189619b3398f86d722eba6b359c60dfcf32ee94ce70747ccb8e09f873eaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for agos-memory 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.