Library

Documents

On this page

Whenever work produces something worth keeping, save it in Library as a document. Reports, drafts, research, plans, and uploaded files all share the same durable record whether you write them yourself, an agent generates them on a task, or a workflow outputs them.

Save a result where it can be reused

When a draft comes together in Chat, ask the agent to save it as a Library document and confirm where it landed. Pick a folder whose permissions fit the intended readers, since saving out of a private Chat into a shared folder makes the document readable to anyone with access to that folder.

Browse, organize, and refine documents inside Library, and always verify a document's content and sources before relying on it as standing guidance for other agents.

A Markdown document open for editing, with Version and Download in the page header and source, location, and access beside the content

Versions

Every document keeps one permanent identity backed by a sequence of immutable versions. While editing an existing Markdown document, your title and body autosave into a shared draft visible to other editors, while readers, agents, search, and downloads continue seeing the current published version. Draft-saving status sits right beside Undo and Redo (which undo your own text edits).

Click Publish to turn the shared draft (including edits from other collaborators) into the next immutable version, recording who published it while keeping every prior version inspectable. If someone else updated the draft or published a new version first, your draft stays safe so you can review the latest text before continuing. Autosaving a draft never publishes on its own, and brand-new documents still require explicit creation.

Because internal references bind to the document's identity, links never break when you rename, move, or revise it.

Select any historical entry from version history to see inline diffs highlighting added and removed words. Each box (title and body) carries two small corner icons to toggle between marked diffs and clean text (hover either icon to see its label), scoped strictly to that box on the version you're inspecting.

Markdown documents store their text directly, whereas file-backed documents keep binary content in protected storage with Library tracking metadata and authorization. Both share the same visibility and versioning model.

Use Version in the header to browse older versions read-only (the menu keeps your selected version highlighted as you explore), then select Current to jump back to the latest published version.

Upload and replace files

Click Upload file inside any Library folder you can manage to pick files from your computer. Uploads start immediately into that folder, turning each file into its own document (an upload row tracks progress with a cancel button at the top of the list until it finishes).

The Library with Upload file in the page header between Create folder and Create document, above folders, documents, and uploaded files

You can also drag and drop files straight from your desktop onto the folder list (or directly onto a subfolder row, where progress displays right on that row). A solid border highlights valid drop targets, and folders you can't edit refuse the drop.

Upload up to ten files at a time (images, videos, audio, PDFs, Office files, text, or supported source code, up to 250 MB each). Archives (ZIP, 7z, TAR, GZ, TGZ) aren't supported. If a file with the same name already exists in that folder, Task Machine blocks the duplicate with a clear message instead of overwriting anything. Upload controls appear only in folders you can manage.

Images, videos, audio, PDFs, and bounded text files preview inline right on the document page, while active content or unsupported formats stay download-only for safety.

Inline images span the content column with normal page scrolling until you click Zoom in or pinch. Once zoomed, scroll to zoom further, drag to pan, and click Reset zoom to snap back to full view and normal scrolling.

Replacing an uploaded file appends a fresh immutable version to the same document while keeping its title, folder, permissions, source link, and prior file versions intact. File-backed documents can't switch into editable Markdown through replacement, and Markdown documents can't turn into uploaded files through editing.

Download the version you are viewing

Every readable document includes Download in the page header. Markdown documents export as exact .md source (byte for byte), formatted PDF, or Word .docx (rendering headings, lists, tables, quotes, code, and links cleanly for sharing).

File-backed documents download untouched in their original format. When viewing an earlier version from history, downloads pull that exact immutable version with the version number in the filename, so switch back to Current when you want the latest copy.

When Task Machine attribution is enabled in workspace settings, generated PDF and Word exports include a subtle Generated with Task Machine ยท https://taskmachine.io footer (turning attribution off removes it from future exports, while exact .md and original uploaded files are never modified).

Generated documents retain their source

Any document created during execution automatically links back to the task, run, workflow, or playbook installation that produced it. That provenance stays attached across future edits so anyone reading the doc can trace where it came from without digging through transcripts.

Humans and agents share the same document records and version history. Agents can update generated documents directly where their folder permissions allow, while human-authored documents stay read-only against direct agent edits.

References

Type @ in any supported writing field to reference a document, task, person, agent, team, Skill, project, goal, or repository you have access to. The inserted mention stores a stable ID so it stays valid even if the target gets renamed. See Markdown for exact syntax and supported types.

References resolve with current permissions

Every time Task Machine renders a reference, it checks the reader's live workspace permissions and pulls the target's current name or canonical Library path (using the saved label only as fallback). Folder links keep tracking their folder across renames and moves because they bind to its ID.

If a target is missing, archived, or outside the reader's access, the link quietly drops to plain text without exposing an internal ID or confirming a restricted record exists.

Because checks run live at render time, moving a document into a restricted folder updates who can follow existing links immediately without editing every referencing doc.

Document links work both ways: clicking a reference opens the target, while Backlinks lists every Library document linking into the page you're reading, filtered by the exact same workspace and folder permissions. Folder references remain typed links and don't create document backlinks.

For exact link syntax, see the Markdown reference.

Once your memories, documents, and references are working together, agents can read shared context and write durable outputs straight back to Library. When a process is ready to repeat, package it as a Playbook or lay out its steps in the Workflow builder.