Docs
Welcome to Loomweft
Loomweft is the context retrieval layer between your AI and your apps and databases. These docs show you how to create a collection, connect sources and search them from your agents.
Quickstart #
Create a client with your API key. Then pick a collection and run your first search.
# Install the SDK, then create a client with your key from loomweft import LoomweftSDK client = LoomweftSDK(api_key="lw-YOUR_KEY")
Concepts #
A collection is a searchable knowledge base. A source connection links a collection to an app or database and keeps it in sync. Unified search lets you query everything in a collection through one interface.
Search #
Ask a collection a question in plain language and get answers from your synced sources. Pick the mode that fits the question.
results = client.search( "collection_id", "what changed in our refund policy?", ) for r in results: print(r.source, r.text)
MCP server #
Any agent that supports the Model Context Protocol can use Loomweft search directly, with no custom glue code.
CLI #
Run syncs and searches from your terminal. Useful for testing a collection before you connect it to an agent.
Agent skills #
Give your coding agent a skill file that shows it how to use Loomweft. Ask our team for the latest version.
Connect #
Bring in data from the tools your team uses every day. Use it with any agent framework, or with plain Python.
API reference #
The API has four main resources. You sign requests with the key we give you when you join.