Skip to main content

afs-core

The contracts package for agentic-fs: typing.Protocol interfaces, pydantic DTOs, the single key scheme, the closed error vocabulary, versioned event contracts, and the conformance test kits. Depends on pydantic only — it imports without the server, so connectors and adopters can build against it without pulling in afs-server.

Status

Foundations slice (M0, in progress):

  • afs_core.keys — the single definition of the S3 key scheme: build, parse, validate, and is_indexable(). Nothing else concatenates a key.
  • afs_core.errors — the closed ErrorCode vocabulary + the AfsError hierarchy (RFC 9457 problem+json shape).
  • afs_core.models — core DTOs (Page[T], CatalogEntry, ExtractionState, …) and control records (TenantRecord, NamespaceRecord, PrincipalRecord).

Coming next: afs_core.contracts (the async Protocols), afs_core.testing (conformance kits + in-memory fakes), afs_core.events.

Develop

uv sync
uv run pytest packages/afs-core

Metadata

Release files for afs-core 1.0.1

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

Source distribution (sdist)

Source distribution for afs-core 1.0.1
File Size Uploaded Provenance Actions
afs_core-1.0.1.tar.gz 18.9 kB Without provenance Details for afs_core-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for afs-core 1.0.1
File Interpreter ABI Platform Actions
afs_core-1.0.1-py3-none-any.whl Python 3 none any Details for afs_core-1.0.1-py3-none-any.whl

Total release size: 42.1 kB

Release files / afs_core-1.0.1.tar.gz

Download URL afs_core-1.0.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4d5bf5d2cc39b0ddedff78eeee78f4729e539492d6c749c373155eaf99505003
BLAKE2b-256 checksum
How to use checksums
6c3689fe1faec8d81a204054a49cf6a2e1f1b465f2dbc301978e11af22c093bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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 / afs_core-1.0.1-py3-none-any.whl

Download URL afs_core-1.0.1-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f540fcf408e50aa3beee823ada829317d1f9ac1371a636fee25411738ac8ef53
BLAKE2b-256 checksum
How to use checksums
641f32861fc84094d95a8b18077647327570b5dca99b29c945a09d13eb09f4d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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 afs-core 1.0.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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