DocumentDB, for agent context
Give agents context in flexible documents. Create and update products, knowledge, and the records behind your app.
CREATE · READ · UPDATE · DELETE Give your agents access to data, knowledge, and context.
Query by meaning. Build your app on the same foundation.
“Something for a laptop and a daily commute”
Give agents useful context.
Build your application on the same data.
Create product context for your shopping agent.
Create a document in DocumentDB
✓Add the fields your agent needs
✓Make the content searchable
✓Everyday backpack — A compact bag with a padded laptop sleeve, weather-resistant fabric, and room for your daily essentials.
Give agents the context they need through documents, vectors, and text. Build your application on that same data foundation.
Explore the database ↗Give agents context in flexible documents. Create and update products, knowledge, and the records behind your app.
CREATE · READ · UPDATE · DELETEGive your agents relevant context. Query with similarity search to find records that match the intent of a request.
VECTORS · SIMILARITY SEARCH · CONTEXTFind the names, phrases, and keywords that matter. Let agents and apps retrieve information through the words in your data.
KEYWORDS · PHRASES · RETRIEVAL Additional intelligence for the data
your agents and apps work with.
Build a knowledge base from your documents. Make their content useful to the agents and apps that need it.
Explore the data behind your agents. Bring useful insights into their workflows and your application.
Convert documents into Markdown for AI processing. Prepare content for the next step in your agent’s workflow.
Ask questions about your documents and explore answers grounded in your knowledge.
Storage for the content your agents create.
Identity for the people using your app.
Keep the reports, images, and files your agents produce. Store and serve them as part of your app.
Bring model access, RAG, and AI services alongside the data your agents work with.
Give your users a way in. Build sign-up, sign-in, and access control into your application.
Connect your project and retrieve the records your agent needs with the Singlebase JavaScript SDK.
Replace the project key and web key with your own. This example queries an existing product_catalog collection.
npm install @singlebase/singlebase-sdkimport { SinglebaseClient } from "@singlebase/singlebase-sdk";
const sbc = SinglebaseClient({
apiKey: "wk_YOUR_WEB_KEY",
urlAccessKey: "YOUR_PROJECT_KEY"
});
// Retrieve the context your agent needs.
const products = await sbc.data.query({
collection: "product_catalog",
limit: 5
});
console.log(products); Embeddable web components that connect
your website to Singlebase.
Add sign-up and sign-in to your site. Connect your visitors to your app’s identity system.
Explore Auth widget ↗Let visitors add files from your website. Bring their content into your app’s storage.
Explore File uploader ↗Embed Chat with Documents on your website. Give visitors a conversational way to explore your knowledge.
Explore Chat Box ↗