Work with knowledge bases
Knowledge bases let you load documents into your datapack and query them using semantic search (RAG). Meko handles chunking, embedding, and indexing automatically.
Supported sources
Currently, you must upload knowledge via the Meko portal:
- Navigate to Datapacks and select your datapack.
- Click Upload Knowledge Files (or Add to Knowledge Base).
Currently, Meko accepts PDF, TXT, TEXT, MD, CSV, JSON, XML, HTML, and HTM files up to 10 per batch. The per-file size cap depends on your plan: 5 MB on Free, 50 MB on Standard.
Free accounts are limited to 100 MB of total storage across all datapacks for knowledge-base files and artifacts combined, with individual files capped at 5 MB. Standard accounts get 5 GB of total storage and 50 MB per file.
To upgrade, go to Settings > Pricing, choose AWS Marketplace under Standard ($25 / month), then Continue to AWS Marketplace. After you subscribe, click Set up your account, or the plan stays on Free. Stripe is marked coming soon. See Meko pricing for plan details.
Query knowledge
Once your documents are indexed, query them through the MCP server from your coding agent:
Search the knowledge base for information about deployment procedures
The MCP server embeds your query, performs similarity search against the indexed chunks, and returns the most relevant results.
Remove a file
Files can be removed by the datapack owner, a maintainer, or the person who uploaded the file. To remove a file from the datapack:
- In your datapack, under Knowledge, click View all.
- On the Files tab under Knowledge Base, select the file and click Remove from KB.
- Click Remove to confirm.
You can't undo a removal. Remove from KB is not available until the file finishes indexing.
To have an agent remove the file, use knowledgebase_delete_document.