# Build your knowledge base with AI

> Build a knowledge base with your own AI agent over MCP, write articles with AI from a topic, legal acts or a conversation, and check them with AI.

There are two ways to build a knowledge base with AI: with your own AI agent (Claude, ChatGPT, Codex, Cursor) or with HRC AI right in the editor.

## Build with AI: your own AI agent

The "Build with AI" button prepares a task for your AI agent:

1. Pick what you work with: ChatGPT, Claude, Codex, Cursor or another app.
2. If the app is not connected yet, follow the connect steps ([Connect an AI agent over MCP](https://hrc.lt/en/docs/ai-agents/mcp)).
3. Enter your website's address: AI collects the facts from it.
4. Copy the task and paste it into your AI app.

![Build a knowledge base with AI: picking the app and the task](https://hrc.lt/screens/en/kb-ai-build.desktop.1600.9f038464.webp)

The AI agent reads `kb_build_guide`: it researches your site, the existing articles and your customers' real questions, plans sections and articles, writes drafts and reports back. MCP apps also get the ready prompt `build_knowledge_base`. Articles stay drafts until you publish them.

## Write with AI: HRC AI in the editor

"Write with AI" prepares an article from a topic, from Lithuanian legal acts or from a customer conversation. You review and edit the draft yourself.

![The knowledge base editor with the Write with AI window](https://hrc.lt/screens/en/kb-ai-write.desktop.1600.cbef8cc1.webp)

## The AI check

Set your rules (for example how to address the customer or which words to avoid), and AI checks the whole knowledge base or one article. The results show notes, and you can fix the text with AI.

![AI check results for an article](https://hrc.lt/screens/en/kb-ai-actions.desktop.1600.a1b7b487.webp)

## AI usage

"Write with AI", the check and translations use the company's monthly AI capacity. Your AI agent's work does not: it runs in your own AI app.
