Operator
← All integrations
Needle logo

Connect Needle to OpenClaw on Operator.io

Needle is a RAG (retrieval-augmented generation) toolkit that brings semantic search capabilities to your own data. It lets you build smarter AI agents by giving them context-aware, accurate information retrieval.

Automate Needle with AI

Operator runs your personal agent on OpenClaw, the open source agent framework, and points it straight at Needle. You message the agent on Telegram or Discord, tell it what you need in plain language, and it operates Needle on its own, running actions like add files to a collection, add files to local connector, create collection.

Your agent reaches Needle directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh for you, so there is nothing to wire up and no API keys to paste.

What your agent can do with Needle

Your agent can call any of these Needle actions by name as part of a larger task. Ask for the outcome you want and it picks the right ones.

Add files to a collection

Tool to add files to a collection by providing file URLs. Use when you need to add one or more files to an existing collection. URLs can be public or private (generated via the Files API).

Add Files to Local Connector

Tool to add files to a local connector by providing file metadata. Use when you need to add external files to a connector using their URLs.

Create Collection

Tool to create a new collection. Use after confirming the collection name.

Create Local Connector

Tool to create a local connector that monitors specified folders on a device. Use when setting up file indexing from a local machine into Needle collections.

Delete files from a collection

Tool to delete files from a specific collection by providing file IDs. Use after confirming valid file IDs to remove from the collection.

Delete files from local connector

Tool to delete files from a local connector by filename or file IDs. Use when you need to remove files from a connector's local storage.

Get Collection

Tool to retrieve details for a specific collection by its ID. Use when you need to get collection metadata including name, creation date, and search query count.

Get collection stats

Tool to retrieve statistics for a specific collection by its ID. Use when you need document count, index size, and timestamps after confirming the collection exists. Zero document count is a valid response for empty collections, not an e...

Get File Download URL

Tool to get a short-lived signed private download URL for a Needle file. Use when you need to retrieve file content but the public storage URL requires authentication. The returned URL should be used immediately as it expires quickly.

Get File Upload URL

Tool to get signed URLs for uploading local files to Needle. Use when you need to upload files to a collection. The upload URLs are valid for a short time, so upload files immediately after receiving the URLs. Multiple content types can...

Get local connector

Tool to retrieve details of a local connector by its ID. Use when you need information about a specific local connector's configuration, device details, and associated folders.

List Collection Files

Tool to list all files within a specific collection by its ID. Returns file metadata (including file URLs) only — not document text content; fetch file URLs separately to access content. Use when you have a collection ID and need to retr...

List Collections

Tool to list collections. Use after authenticating with your API key to page through collections. Similar collection names can exist; always verify the correct `collection_id` from results before performing subsequent operations.

List Connectors

Tool to list connectors. Use to retrieve all configured connectors in your account.

List Local Connectors

Tool to list local connectors. Use to retrieve all local connectors configured in your Needle account.

Search Collection

Tool to perform semantic search within a specific Needle collection and return ranked results with source references. Use when you need to retrieve relevant content from a known collection using natural language queries.

How to connect Needle

You authorize Needle once from your dashboard. Operator holds the connection and refreshes the access tokens on its own, so your agent keeps working with Needle without you signing in again. The same setup unlocks every other app your agent can reach, so you only do it once.

When you are ready, the get started guide walks through standing up your OpenClaw agent.

Common questions about Needle

How do I connect Needle to Operator?
You authorize Needle once from your Operator dashboard. Operator holds the connection and refreshes the access token for you, so your agent keeps working with Needle without you signing in again.
Can my agent run Needle as part of a larger task?
Yes. It can call Needle mid task, hand it the input, and use what comes back in the next step. So a job that involves generating, classifying, or analyzing something can route through Needle without you stitching the calls together yourself.
Do I need to write code or manage Needle API keys?
No code and no API keys. You authorize Needle through a normal sign in and Operator handles the connection, so there is nothing to wire up or host.
Can my agent use Needle together with my other apps?
Yes. The same agent reaches every app you connect, so it can move between Needle and tools like Datarobot, Chatbotkit, Griptape in one job, reading from one and acting in another without you wiring anything between them.

More apps to automate

Apps your agent runs alongside Needle, or browse all integrations.

Put your agent on Needle

Sign in, connect Needle, and hand your agent the work. Your first week is free.

Try for free