█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Agentset

RAG ऐप्स बनाने, परखने और लॉन्च करने के लिए ओपन सोर्स प्लेटफ़ॉर्म

RAG Frameworks & PlatformsOpen core
भाषा
TypeScript
लाइसेंस
MIT
$git clone https://github.com/agentset-ai/agentset.git
संक्षेप में

Agentset क्या है?

Agentset RAG ऐप्स बनाने, परखने और लॉन्च करने के लिए ओपन सोर्स प्लेटफ़ॉर्म. यह Retrieval & Knowledge (RAG) टूल्स की RAG Frameworks & Platforms श्रेणी में आता है; ओपन सोर्स है, TypeScript में लिखा गया है और MIT लाइसेंस के तहत है। शुरू करने के लिए: रिपॉज़िटरी clone करें और environment कॉन्फ़िगर करें.

सारांश

The Agentset dashboard chat on a Paul Graham essays namespace, showing an answer about choosing a co-founder with numbered inline citations and the Agentic and Deep Research modes
The dashboard playground answering from an uploaded namespace, with each claim linked to a source chunk.Agentset README ↗

Agentset एक ओपन सोर्स प्लेटफ़ॉर्म है, जिसकी मदद से production RAG और agentic ऐप्स बनाए, परखे और लॉन्च किए जा सकते हैं। पार्सर, चंकर, embedding model, vector store और reranker को खुद जोड़ने की जगह, आप documents को एक namespace में अपलोड करते हैं और एक API से उसमें query करते हैं। रिपॉज़िटरी में पूरा प्रोडक्ट शामिल है: ingestion, vector indexing, evaluation benchmarks, एक chat playground, hosting और developer API। यह TypeScript में लिखा गया है और Next.js, AI SDK, Prisma, Supabase और Trigger.dev पर चलता है।

यह प्रोजेक्ट Agentset Cloud के रूप में चलता है, जो एक होस्टेड सेवा है और इसका मुफ़्त tier भी है। self-hosting के लिए रिपॉज़िटरी में MIT लाइसेंस वाला कोड भी उपलब्ध है। डॉक्स तीन deployment विकल्प बताते हैं: पूरी तरह होस्टेड, bring-your-own-cloud (आपका object storage, vector database, LLM और reranker, जबकि processing Agentset करता है) और air-gapped या सख्त compliance वाले माहौल के लिए on-premise। Self-hosting कुछ बाहरी सेवाओं पर निर्भर करता है: Upstash, Trigger.dev, Supabase, Vercel और Cloudflare या AWS storage। डॉक्स पूरी तरह offline वाले संस्करण को roadmap के एक आइटम के रूप में सूचीबद्ध करते हैं।

Agentset architecture diagram: data flows through an ingestion pipeline (parsing, chunking) into storage (R2 object storage and a vector database) and then through agentic retrieval (semantic and lexical queries, evaluator, reranker) to generation
Ingestion, storage and agentic retrieval, as drawn in the Agentset docs.Agentset docs ↗

Pipeline के तीन हिस्से हैं। Ingestion फ़ाइलों को पार्स करता है (डिफ़ॉल्ट रूप से Marker, जो 22+ formats सपोर्ट करता है, और scanned पेजों के लिए OCR के साथ) और उन्हें वाक्य और पैराग्राफ़ की सीमाओं के अनुसार chunks में बाँटता है। tables, images और code के लिए अलग chunkers भी हैं। Storage मूल फ़ाइल और निकाले गए text को object storage में रखता है, और embeddings को vector database में, ताकि semantic और lexical, दोनों तरह की search संभव हो। सवालों के जवाब के लिए retrieval agentic है: एक model tool-calling loop में namespace खंगालता है, semantic या keyword searches चलाता है, और जब कोई जवाब दो chunks की सीमा के पार फैला हो तो पास के chunks तक विस्तार करता है। फिर वह inline citations के साथ जवाब देता है।

यह क्या करता है

  • पूरी तरह तैयार RAG pipeline: एक ही API के पीछे ingestion, chunking, embeddings और retrieval
  • Model agnostic: LLM, embedding model और vector database का चुनाव आप खुद करें
  • Agentic search जो semantic, keyword और expand steps के बीच लूप करता है, और जवाबों में inline citation pills
  • Chat और search playgrounds, एक chunk viewer और built-in retrieval benchmarks
  • हर namespace के लिए होस्टेड chat पेज, custom domains और email या domain allowlists के साथ
  • TypeScript और Python SDKs, एक OpenAPI spec, एक MCP server और built-in multi-tenancy

शुरू करें

आप Agentset Cloud को SDK के ज़रिए इस्तेमाल कर सकते हैं, या ओपन सोर्स ऐप को खुद चला सकते हैं। Self-hosting के लिए GitHub, Upstash, Trigger.dev, Supabase, Vercel और Cloudflare या AWS के अकाउंट चाहिए। डॉक्स हर सेवा को चरण-दर-चरण समझाते हैं।

रिपॉज़िटरी clone करें और environment कॉन्फ़िगर करें

`.env.example` को `.env` में कॉपी करें और ज़रूरी मान भरें: डिफ़ॉल्ट vector database, reranker और model keys, साथ ही Trigger.dev secret, जैसा self-hosting गाइड में बताया गया है।

bashbash
git clone https://github.com/agentset-ai/agentset.git
cd agentset
cp .env.example .env

Install करें, migrate करें और लोकल पर चलाएँ

रिपॉज़िटरी की root directory से migrations चलाएँ, फिर web app शुरू करें। अगर database देखना चाहते हैं, तो `bun db:studio` से Prisma Studio खुल जाता है।

bashbash
bun install
bun db:deploy
bun dev:web

SDK इंस्टॉल करें

इसके बजाय Agentset Cloud के साथ काम करने के लिए, sign up करें, एक namespace बनाएँ और Settings → API Keys के तहत key जनरेट करें। SDK TypeScript और Python, दोनों के लिए आता है।

bashbash
npm install agentset
# or
pip install agentset

एक document अपलोड करें

Ingestion asynchronous है। job id से आप processing की स्थिति जाँच सकते हैं।

typescripttypescript
import { Agentset } from "agentset";

const agentset = new Agentset({
  apiKey: process.env.AGENTSET_API_KEY,
});

const ns = agentset.namespace("YOUR_NAMESPACE_ID");

const job = await ns.ingestion.create({
  name: "Attention Is All You Need",
  payload: {
    type: "FILE",
    fileUrl: "https://arxiv.org/pdf/1706.03762.pdf",
  },
});

Namespace में search करें

लौटाए गए chunks को context के रूप में किसी भी LLM को दें, या `npx @agentset/mcp --ns <namespace-id>` और `AGENTSET_API_KEY` के साथ MCP client जोड़ें।

typescripttypescript
const results = await ns.search("What is multi-head attention?");

for (const result of results) {
  console.log(result.text);
}

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

An Agentset hosted chat page titled Chat with 229 essays from Paul Graham, with Chat and Search tabs, a message box and four example questions
A namespace published as a shareable hosted chat page.Agentset docs ↗
  • बिना खुद parsing, chunking और reranking stack बनाए, अपने ऐप में source citations वाला document Q&A जोड़ें
  • अपने domain पर होस्टेड chat पेज के रूप में knowledge base users के साथ साझा करें, जिसे email या domain से सीमित किया जा सकता है
  • एक ही deployment से कई customers को सेवा दें और हर tenant के documents अलग रखें
  • Documents अपने storage और vector database में रखें, जबकि processing Agentset करे, या पूरा सिस्टम खुद self-host करें

How Agentset compares

Agentset alongside other open-source rag frameworks & platforms tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Dify★ 162kLLM और RAG ऐप विज़ुअल कैनवास पर बनाने के लिए ओपन सोर्स प्लेटफ़ॉर्म
graphify★ 156kकोड, डॉक्स, PDF और इमेज वाले फ़ोल्डर को एक ऐसे नॉलेज ग्राफ़ में बदलें जिसमें query की जा सके
RAGFlow★ 95.1kगहरी डॉक्यूमेंट समझ और स्रोत से जुड़े, ट्रेस किए जा सकने वाले उद्धरणों वाला ओपन सोर्स RAG engine
Context7★ 65.8kनवीनतम, वर्ज़न-विशिष्ट लाइब्रेरी डॉक्स सीधे आपके कोडिंग एजेंट के प्रॉम्प्ट में
Pathway★ 61.9kडेटा बदलने के साथ-साथ अपडेट रहने वाली Python ETL और RAG पाइपलाइन
LightRAG★ 41kग्राफ़-आधारित RAG, जो आपके दस्तावेज़ों को क्वेरी योग्य नॉलेज ग्राफ़ में बदल देता है
PageIndex★ 40.9kVectorless, reasoning-based RAG जो लंबे डॉक्युमेंट से tree index बनाता है
Agentset★ 2.1kRAG ऐप्स बनाने, परखने और लॉन्च करने के लिए ओपन सोर्स प्लेटफ़ॉर्म