Skip to main content

fred-capability-document-access

Fred agent capability giving an agent scoped access to the Knowledge Flow document corpus: search_documents_using_vectorization (semantic/RAG search) and list_document_tree (folder and document listing, names and uids only).

It is the reference implementation a capability author copies: real tools wired to platform services through typed SDK ports, static config-field scoping, and one computed chat-turn narrowing control — with no HTTP stack, no access token and no per-turn binding anywhere in the capability.

Scoping

Three levels narrow each other, never widen:

turn_option  ⊆  capability_config  ⊆  session_binding

The capability enforces the first (narrow_scope_ids, in capability.py); the runtime's DocumentSearchAdapter enforces the second. The tool signature the model sees carries only question / top_k — scope and identity travel in the middleware closure and can never be widened by the model.

Chat controls

chat_controls(config) emits up to four stock composer widgets behind their config toggles: attach_files, document_scope, search_policy, rag_scope. Their params are SDK models (fred_sdk.contracts.models) and carry the widget's default only — the value the user picks travels on RuntimeContext.

Tests

make test runs offline: the ports are faked, no service is contacted. The dev group depends on fred-runtime for CapabilityRegistry (entry-point discovery) and build_capability_context; the capability itself depends only on fred-core and fred-sdk.

Metadata

Release files for fred-capability-document-access 4.5.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 fred-capability-document-access 4.5.1
File Size Uploaded Provenance Actions
fred_capability_document_access-4.5.1.tar.gz 30.2 kB Without provenance Details for fred_capability_document_access-4.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fred-capability-document-access 4.5.1
File Interpreter ABI Platform Actions
fred_capability_document_access-4.5.1-py3-none-any.whl Python 3 none any Details for fred_capability_document_access-4.5.1-py3-none-any.whl

Total release size: 45.1 kB

Release files / fred_capability_document_access-4.5.1.tar.gz

Download URL fred_capability_document_access-4.5.1.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fd0a4bec4e77ec3f24e5ce8bd5a183c8bd26773cebcde32179a9cd4319071fe2
BLAKE2b-256 checksum
How to use checksums
40f3402b39ebf02c84a4faa53ef37cee0c7a43f21ac5fd93e6ea3821ca50afe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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":null}

Release files / fred_capability_document_access-4.5.1-py3-none-any.whl

Download URL fred_capability_document_access-4.5.1-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5605829d91ca0df48203f251f750943cf0ab52e0b4cdbd68510b2d599ca6e8eb
BLAKE2b-256 checksum
How to use checksums
f2d9be8d03f91167e1f6f0886fc558d34388b849cfb2f3284f14b5899b647e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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":null}

Security for fred-capability-document-access 4.5.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