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.2

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.2
File Size Uploaded Provenance Actions
fred_capability_document_access-4.5.2.tar.gz 30.2 kB Without provenance Details for fred_capability_document_access-4.5.2.tar.gz

Built distribution (wheel)

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

Total release size: 45.1 kB

Release files / fred_capability_document_access-4.5.2.tar.gz

Download URL fred_capability_document_access-4.5.2.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8762f43b9a5935a3f41b8ed8de19bc2f11ec2bde56f49783c6ca441b87a02326
BLAKE2b-256 checksum
How to use checksums
10e645767bb97a38cda3ab0f929987c06ba14ee0b86af16d10d4f9aa30a73526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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.2-py3-none-any.whl

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

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