Skip to main content

fred-capability-writable-document

Fred agent capability that co-authors a session-scoped Markdown document from chat.

The agent calls a write_document tool to create or revise a deliverable (report, email, memo, meeting notes) that is kept OUT of the conversation stream and shown in a dedicated editor pane. The user can edit the document back, and export it to Word (.docx) or Markdown. Documents are scoped to one chat session and co-authored over time by the agent and the user; only the last author is tracked.

This package is a Swift port of Kea's "Writable Document" feature (GitHub issue #1905): the editor feature is one AgentCapability — the write_document middleware (static tool + user-edit notification + open-documents catalog prompt), one owned table (cap_writable_document_docs), the contributed writable_document chat part, the editor side panel, and the list/get/put/export router.

The package also registers a separately enabled, temporary open_writable_document capability for Deep Agent demos. Its sole tool copies an existing Markdown file from any readable mount in the current conversation workspace into the editor. Enable both capabilities on the demo agent: writable_document owns the editor and open_writable_document adds the import tool. The copied document can be edited, but those edits do not update the source workspace file.

Registration

Installing this package is the registration: the fred-agents pod auto-discovers the capability at boot via the fred.capabilities entry point declared in pyproject.toml (writable_document = "fred_capability_writable_document.capability:WritableDocumentCapability"). The second entry point registers open_writable_document independently.

Metadata

Release files for fred-capability-writable-document 4.5.0

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-writable-document 4.5.0
File Size Uploaded
fred_capability_writable_document-4.5.0.tar.gz 28.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fred-capability-writable-document 4.5.0
File Interpreter ABI Platform
fred_capability_writable_document-4.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 54.7 kB

Release files / fred_capability_writable_document-4.5.0.tar.gz

Download URL fred_capability_writable_document-4.5.0.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f8bfea50b9f060453990fb63338ed54cd4f296f50e696d5b66964699c5c8d461
BLAKE2b-256 checksum
How to use checksums
d5a4c0dc4c213ef74bfa35aea586c9bee6aa103477d71a1d0de614c742d79526
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_writable_document-4.5.0-py3-none-any.whl

Download URL fred_capability_writable_document-4.5.0-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2654e80174358ca592938178df0466164d2690c4c4ca7d521a8b85aa6ce77eeb
BLAKE2b-256 checksum
How to use checksums
535dc53cd1aa94bfae40b5050a461f4f7e32e75850e8a4a9b5e29c3301ae1a7d
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 history Release notifications | RSS feed

This release

4.5.0 This release

2 release files

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