# AI Integration

> Combine language models with TX Text Control: local models, chat and analysis of documents, RAG, the MCP document server, agent workflows and samples.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > AI Integration
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/llms-full.txt

---

## On This Page

- [How AI Fits Into a Document Application](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/#how-ai-fits-into-a-document-application)
- [Find the Right Page](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/#find-the-right-page)
- [Where to Start](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/#where-to-start)

---

## In This Section

- [Agent Workflows](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/agent-workflows/llms.txt): Let a language model call functions and TX Text Control document tools: the tool loop, planning actions, verified edits, the Document Editor and timeouts.
- [Document Analysis](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/analysis/llms.txt): Analyze documents with TX Text Control and language models: prepare structured input, classify documents, extract JSON, summarize and explain contract changes.
- [Chat With Documents](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/chat/llms.txt): Ask a language model about PDF and DOCX documents: extract text with ServerTextControl, keep the chat history, stream answers and handle long documents.
- [AI Coding Assistants](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/coding-assistants/llms.txt): Connect GitHub Copilot, Cursor, Claude Code and other assistants to the Text Control MCP Server, and install Agent Skills for TX Text Control tasks.
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/examples/llms.txt): Find runnable AI samples on GitHub: local LLM chat, streaming, structured output, tool calling, the web assistant, MCP document servers and OpenAI samples.
- [Local / Private LLMs](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/local-llms/llms.txt): Run language models on hardware you control with the TX Text Control AI preview: llama.cpp runtime, GGUF models, LocalModelOptions, hardware and AI services.
- [MCP Document Server](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/mcp-server/llms.txt): Host TX Text Control document tools for AI clients with TXTextControl.AI.McpServer: MCP basics, hosting, configuration, the tools, clients and security.
- [Overview](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/overview/llms.txt): Divide AI document work between a language model and ServerTextControl: the three layers, building blocks, example workflows, local or hosted models and review.
- [RAG](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/rag/llms.txt): Ground AI answers in approved documents: index DOCX, PDF and Markdown with TXTextControl.AI.Knowledge, search passages, cite sources and protect the store.
- [Text Control AI](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/text-control-ai/llms.txt): Set up the TX Text Control AI preview: its six NuGet packages and architecture, requirements, the sample applications and AddTextControlAI in ASP.NET Core.

---

## Nearby

- **Previous:** [Self-Signed Certificates](https://docs.textcontrol.com/tx-text-control-dotnet-server/digital-signatures/self-signed/llms.txt)
- **Next:** [Overview](https://docs.textcontrol.com/tx-text-control-dotnet-server/ai/overview/llms.txt)
