Step 1: Get your API key
- Sign up and create an organization
- Create a namespace from the dashboard
- Navigate to Settings → API Keys → New API Key

Step 2: Install the SDK
Install the Agentset SDK using your preferred package manager.Step 3: Upload a document
Initialize the client and upload a file to your namespace.Documents are processed asynchronously. Processing time depends on the file size. Learn how to check upload status.
Step 4: Search your document
Query your namespace to retrieve relevant chunks from your uploaded document.Step 5: Generate a response
Use the search results as context for an LLM to generate answers grounded in your documents.Next steps
- Data Ingestion — Learn about supported file types and ingestion options
- Search and Retrieval — Explore advanced search features like filtering and ranking
- AI SDK Integration — Use Agentset with Vercel AI SDK