Sim
Sim is an open-source platform for building and deploying AI agent workflows visually. The native Airweave block lets you search your synced data collections from any workflow, no code required.
Prerequisites
Before you start you’ll need:
- A collection with data: at least one source connection must have completed its initial sync. See the Quickstart if you need to set this up.
- An API key: Create one in the Airweave dashboard under API Keys.
Setup
Add the Airweave block
Open a workflow in Sim and drag the Airweave block from the tools palette onto the canvas.
Enter your Collection ID
Paste the readable ID of the Airweave collection you want to search. You can find this in the Airweave dashboard on the collection detail page.
Enter your API Key
Paste your Airweave API key into the API Key field. The value is stored securely and masked in the UI.
Write your Search Query
Type a natural-language query into the Search Query field. This field also accepts dynamic references from upstream blocks, so you can pass in user input or output from a previous step.
Configuration
Output Format
The Airweave block returns two outputs:
results - an array of search result objects, each containing:
completion - an optional string containing an AI-generated answer to the query. Only returned when Generate Answer is enabled.
Example Use Cases
- RAG-style question answering: Connect the Airweave block to an LLM agent block. Pass the
resultsorcompletionoutput as context so the agent can answer questions grounded in your synced data. - Automated notifications: Route search results to a Slack or email block to alert your team when specific content is found in your collections.
- Relevance filtering: Chain the Airweave block with a condition block to filter results by
score, then pass only high-relevance results to the next step.