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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fred_capability_document_access-4.5.0.tar.gz | 30.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fred_capability_document_access-4.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.1 kB
Release files / fred_capability_document_access-4.5.0.tar.gz
| Download URL | fred_capability_document_access-4.5.0.tar.gz |
|---|---|
| Size | 30.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5295d9e01c515fe94c830a653abf4aff0f8b8e9bb02d6655303ec0426a01700
|
|
BLAKE2b-256 checksum How to use checksums |
b72d59600445688fec26707c0aff423a14d09d0ad2d4421902f481dc0a19279d
|
| 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.0-py3-none-any.whl
| Download URL | fred_capability_document_access-4.5.0-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
721acd67c6da812c76738adcb0848e5f01486bab8ca82eeed735cf6b32b60382
|
|
BLAKE2b-256 checksum How to use checksums |
67ed83aacbf369cf763fff2e46df113f3abce34391223bd09de9c49c6a9edb0e
|
| 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}
|