Skip to Content
Introduction

Town Library

Town Library is the easiest way to index your private, unstructured data and make it accessible to AI agents.

Connect your email, documents, calendar, and chat — Library handles the rest. Your data becomes instantly searchable by meaning, not just keywords.

Two Ways to Use Your Data

Once your data is indexed, you can use it in two ways:

1. Deploy a Research Agent

Create a fully-featured research agent with one click. Your agent comes with:

  • Intelligent research — Multi-step reasoning with parallel subagents
  • Beautiful chat interface — Modern web UI with markdown rendering, sources panel, and todo tracking
  • All the tools — Web search, code execution, browser automation, and your Library data
  • Adjustable depth — Fast answers, balanced research, or deep investigation

Learn more about Research Agents →

2. Connect via MCP

Expose your Library collections as MCP (Model Context Protocol) servers. Connect to:

  • Claude — Desktop or web
  • ChatGPT — Any interface that supports tools
  • Cursor — IDE-integrated agent access
  • Any MCP-compatible system — Your agents, third-party tools, custom integrations

Learn more about MCP Integration →

How It Works

StepWhat Happens
1. ConnectLink your data sources via OAuth (Gmail, Drive, Calendar, Slack) or upload files directly
2. IndexLibrary processes your data into semantic vectors that capture meaning
3. SearchAgents query by concepts — “Q4 budget discussions” finds relevant content even without exact keywords
4. UseDeploy a research agent or connect external AI tools via MCP

Quick Reference

TermMeaning
CollectionA set of connected data sources that agents can search
Data SourceA connected service (Gmail, Drive, Slack) or uploaded files
Search IndexThe processed, searchable representation of your data
MCPModel Context Protocol — connect Library to external agents
Research AgentA deployed Town agent with full UI and research capabilities

Start Here

  1. Getting Started — Create your first collection and index your data
  2. Collections — Organize data into searchable sets
  3. Data Sources — Connect Gmail, Drive, Calendar, Slack, or upload files
  4. Agents — Deploy a research agent
  5. MCP Integration — Connect Claude, Cursor, and other AI tools

Technical deep dive? Read How It Works for details on the indexing pipeline, knowledge graph, entity resolution, and search architecture.

Last updated on