Combine Agentset search with an LLM to generate answers grounded in your documents. This pattern retrieves relevant context from your namespace and passes it to the model.Documentation Index
Fetch the complete documentation index at: https://docs.agentset.ai/llms.txt
Use this file to discover all available pages before exploring further.
Basic RAG pattern
Search your namespace, format the results as context, and generate a response.Filtering context
Narrow results to specific documents using metadata filters.Next steps
- API Reference — Search endpoint parameters and options
- Citations — Add source attribution to generated responses
- AI SDK Integration — Use Agentset with Vercel AI SDK