> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langdock.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction to Library

> The Library brings functionality related to files into one place: create new files, manage Folders and Knowledge bases, and access every file you've generated or uploaded.

<iframe src="https://www.youtube.com/embed/lZm4QewRKZ8" title="Library overview video" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen style={{width: "100%", aspectRatio: "16 / 9"}} />

The Library is your central hub for working with files in Langdock. It replaces scattered file access across individual chats and gives you one place to create, find, and organize everything. Whether you're starting a new document from scratch, reusing a team template, browsing files from past conversations, working in Folders, or managing Knowledge bases, it all lives here.

## The four sections

### Create New File

Start a new document, spreadsheet, or presentation directly from the Library. Clicking Document, Spreadsheet, or Presentation opens a new chat with the corresponding mode pre-selected.

<div style={{display: 'flex', justifyContent: 'center'}}>
  <img src="https://mintcdn.com/langdock-34/mFNF0swESRPOR6a7/images/library/create-file-en.png?fit=max&auto=format&n=mFNF0swESRPOR6a7&q=85&s=5db6343259e9d642acb5bd29adaea0cd" alt="The Create New section showing Document, Spreadsheet, and Presentation options with a templates row below" style={{borderRadius: '6px', width: '60%'}} width="960" height="1114" data-path="images/library/create-file-en.png" />
</div>

If your workspace has templates enabled, you'll also see a horizontal row of recently used templates here. Click **All templates** to open the full template gallery.

<Info>
  Templates are only available when Skills are enabled in your workspace. See [File Templates](/en/using-langdock/library/file-templates) for details.
</Info>

### Folders

Folders are for active file work with AI in chat. Create a folder, add files, share access, then select it from chat with **Work in a folder**. The AI can use the folder files as context and save generated files back to the folder when you have edit access. Use the search field in the Folders section to filter folders and Knowledge bases by name as you type.

<Frame>
  <img src="https://mintcdn.com/langdock-34/mFNF0swESRPOR6a7/images/library/folders-insight-en.png?fit=max&auto=format&n=mFNF0swESRPOR6a7&q=85&s=1fda8e14b2eb8ca9846abfd1459e1159" alt="The Folders section inside the Library" style={{borderRadius: '6px'}} width="2818" height="842" data-path="images/library/folders-insight-en.png" />
</Frame>

See [Folders](/en/using-langdock/library/folders) for details on creating, sharing, and using Folders in chat.

### Knowledge bases

Knowledge bases are searchable document collections for chat, Agents, Workflows, and the Knowledge Folder API. Use them for larger reference sets where the AI should find relevant sections through semantic search.

<Frame>
  <img src="https://mintcdn.com/langdock-34/mFNF0swESRPOR6a7/images/library/knowledge%20folders%20en.png?fit=max&auto=format&n=mFNF0swESRPOR6a7&q=85&s=e642888e7a8d350f78877336af12e641" alt="The Knowledge bases section inside the Library" style={{borderRadius: '6px'}} width="2836" height="520" data-path="images/library/knowledge folders en.png" />
</Frame>

See [Knowledge bases](/en/using-langdock/library/knowledge-bases) for details on creating, sharing, and searching Knowledge bases.

### Recent Files

Files you create, upload, or import in Langdock appear here: documents, spreadsheets, presentations, files uploaded to chats or the Library, files imported from integrations, and files generated in Langdock.

<img src="https://mintcdn.com/langdock-34/mFNF0swESRPOR6a7/images/library/recent-files-en.png?fit=max&auto=format&n=mFNF0swESRPOR6a7&q=85&s=3c9f476b2765ee82ad23ff184fb50b98" alt="The Recent Files section inside the Library" style={{borderRadius: '6px'}} width="2786" height="826" data-path="images/library/recent-files-en.png" />

<Info>
  Recent Files follows your workspace's chat data retention settings. When a chat is deleted, only files associated with that chat are removed from Recent Files.
</Info>

See [Recent Files](/en/using-langdock/library/recent-files) for details on browsing, previewing, and managing your files.

## Getting to the Library

Click **Library** in the left sidebar to open it.

<div style={{display: 'flex', justifyContent: 'center', alignItems: 'center'}}>
  <img src="https://mintcdn.com/langdock-34/mFNF0swESRPOR6a7/images/library/library-icon%20en.png?fit=max&auto=format&n=mFNF0swESRPOR6a7&q=85&s=a283babf72b793ed69e9e677c8cd2a08" alt="The Langdock sidebar with the Library item highlighted" style={{borderRadius: '6px', width: '40%'}} width="586" height="854" data-path="images/library/library-icon en.png" />
</div>

## FAQ

<AccordionGroup>
  <Accordion title="When should I use the Library?">
    Use the Library to find and manage files, folders, templates, and Knowledge bases in Langdock. It is the place to organize reusable file-related assets instead of searching through individual chats.
  </Accordion>

  <Accordion title="How is the Library different from a chat attachment?">
    A chat attachment is tied to the current conversation. Library items are easier to find, reuse, organize, and share depending on permissions and file type.
  </Accordion>
</AccordionGroup>
