Skip to main content

agentic-fs core contracts, DTOs, key scheme, and conformance kits. Depends on pydantic only.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afs_core-0.1.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

afs_core-0.1.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file afs_core-0.1.0.tar.gz.

File metadata

  • Download URL: afs_core-0.1.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for afs_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7469f3baac60dc8e6cd35377f9a78af6a1a004f5095dba1efb60b272c31010ef
MD5 c6cdbfe65c0d191911eb9c6bcc6ffe05
BLAKE2b-256 108beb325f827c9ed8b69168d63dd1bdfa310427b2a6f0a5c4a0794654d61d43

See more details on using hashes here.

File details

Details for the file afs_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: afs_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for afs_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1449369f48576d945b803a10d3ab59aba2bbff63c0c4f54befb60b8768c4414
MD5 758e3a9110a42b0d94affe0da03b4456
BLAKE2b-256 ff2a8e1917430dcdc3c41f7b1e4d262d05a9f9dcd21721bcaa8e51a5c570f715

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page