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.4.3
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.4.3.tar.gz | 29.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fred_capability_document_access-4.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.4 kB
Release files / fred_capability_document_access-4.4.3.tar.gz
| Download URL | fred_capability_document_access-4.4.3.tar.gz |
|---|---|
| Size | 29.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e9dbe348846d19a017d38dc22ec1f3e41c23c2b0ac59c2ba47bf1cf15cb417a
|
|
BLAKE2b-256 checksum How to use checksums |
0e4a2c5eefcb2de677bde40db1a59f7cafa59bdd61bc86a1f82daaf48806ab55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.4.3-py3-none-any.whl
| Download URL | fred_capability_document_access-4.4.3-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7337a6a8337b46bd7cbbb3e3b07b69f1bef55be734721399965c1da2752ae3c8
|
|
BLAKE2b-256 checksum How to use checksums |
87657e8e67a0a276b81665f160952139f5325218815f4634337f1dcacbb78190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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}
|