# Datagen ## AI Cloud ### Overview - [Introduction](https://datagen.dev/overview/introduction.md): DataGen AI Cloud: one place to connect company data, turn it into knowledge, and run the agents and apps that use it - [Quick start](https://datagen.dev/overview/quickstart.md): Connect a database, build an agent that uses it, and ask it a question in about 10 minutes - [Core concepts](https://datagen.dev/overview/core-concepts.md): Workspaces, building blocks and foundation, how blocks attach to each other, and how versioning and publishing work ### Foundation - [Vault](https://datagen.dev/foundation/vault.md): Store API keys, tokens and MCP server logins once in a Connection Vault, and let agents, contexts and apps use them without ever seeing them in code - [Sandbox Environments](https://datagen.dev/foundation/sandbox-environments.md): Bake a base image, packages and internal registries into a reusable image so agents, contexts and apps start with everything they need installed - [Harness](https://datagen.dev/foundation/harness.md): Choose the runtime that drives your agents, pin its exact version, and route model calls to an Anthropic-compatible gateway ### Data - [Data Overview](https://datagen.dev/data/overview.md): Connect databases and files, build analytic models with SQL, and publish snapshots that agents and apps read - [Connect a Data Source](https://datagen.dev/data/connect.md): Add a PostgreSQL, MySQL, Oracle or Parquet on S3 connection, choose its tables and browse the catalog - [Build Analytic Models](https://datagen.dev/data/build-models.md): Add file and query sources, build models with the AI Data Builder, preview, document, publish, roll back and refresh - [Use Data in Agents and Apps](https://datagen.dev/data/use.md): Connect published analytic models to agents and apps, and query them with the datagen-data CLI - [Query a Database from Code](https://datagen.dev/data/query-from-code.md): Query Postgres directly from agent or app code with a read-only role, PG* vault secrets and pandas ### Files - [Files Overview](https://datagen.dev/files/overview.md): Upload files and folders, preview them, organize them, and restore what was deleted - [Use Files](https://datagen.dev/files/use.md): Use workspace files as data sources and knowledge base sources, and control how agents and apps read and write them ### Context - [Context overview](https://datagen.dev/context/overview.md): Knowledge bases, skills and memory: what each one is, where it lives, and when to use which - [Build a knowledge base](https://datagen.dev/context/build.md): Create a knowledge base, pick its sources, shape it with the AI Context Builder, publish versions, roll back and refresh it on a schedule - [Use a knowledge base](https://datagen.dev/context/use.md): Connect knowledge bases to agents and apps, choose read or read and write access, set agent exposure, and see how agents read the files at run time - [Skills](https://datagen.dev/context/skills.md): Upload skill folders to the workspace registry, review and approve them, and install them on agents, knowledge bases and apps - [Memory](https://datagen.dev/context/memory.md): Let agents remember what they learn: a writable knowledge base, the tools agents use to write and read it, the Auto-record learnings switch, and how to review what was written ### Agents - [Agents Overview](https://datagen.dev/agents/overview.md): What a DataGen agent is made of, how a run works, and where people reach it - [Build an Agent](https://datagen.dev/agents/build.md): Create an agent in the Agent Builder, upload one, fork a template, or connect a GitHub repo, and configure every setting - [Tools](https://datagen.dev/agents/tools.md): Give agents tools through vaults and tool bundles: MCP servers, custom tools, the DataGen MCP gateway, workspace data tools and code mode - [Triggers and Automations](https://datagen.dev/agents/triggers.md): Enable an agent, run it now, and trigger it on a schedule or from a webhook with automations - [Channels](https://datagen.dev/agents/channels.md): Reach an agent from Slack, Microsoft Teams, Discord, email, Linear, web chat and public chat links - [Versions and Logs](https://datagen.dev/agents/versions-and-logs.md): Publish versions, roll back, check an agent's status, and inspect every run and conversation in Agent Logs - [Agent Templates](https://datagen.dev/agents/templates.md): Start from a pre-built agent: fork a template into your GitHub during onboarding, or install one locally with the Claude Code plugin ### Apps - [Apps Overview](https://datagen.dev/apps/overview.md): What a DataGen app is, the two app kinds, and how apps connect to agents, context, data and the foundation - [Build an App](https://datagen.dev/apps/build.md): Create a notebook or a custom app, use the AI App Builder, and configure how the app starts, what it can reach and what the builder knows - [Publish and Share Apps](https://datagen.dev/apps/publish-and-share.md): Save and publish app versions, open the running app, control who can access it, and run the builder on a schedule ### Tutorial - [1. Connect data](https://datagen.dev/tutorial/01-connect-data.md): Connect a database, choose its tables, and publish an analytic model that agents and apps can read - [2. Upload files](https://datagen.dev/tutorial/02-upload-files.md): Upload the reference documents your knowledge base and agent will use - [3. Build a knowledge base](https://datagen.dev/tutorial/03-build-context.md): Turn the uploaded documents into a curated, versioned knowledge base for your agent - [4. Build an agent](https://datagen.dev/tutorial/04-build-agent.md): Build an agent that uses the model and the knowledge base, answers questions in chat, and posts a weekly report to Slack - [5. Ship an app](https://datagen.dev/tutorial/05-ship-an-app.md): Build a marimo dashboard notebook and share it with your team ## Developers ### Claude Code Plugin - [Claude Code Plugin Quick Start](https://datagen.dev/developers/plugin-quickstart.md): Install the DataGen plugin for Claude Code and run your first skill in under 2 minutes - [Alternative Setup Methods](https://datagen.dev/developers/alternative-setup.md): Set up DataGen with CLI, Direct Connect, Claude Desktop, or Cursor ### MCP Server - [DataGen MCP Server](https://datagen.dev/developers/mcp-overview.md): Overview of the DataGen MCP server and available tool categories - [MCP Tools Reference](https://datagen.dev/developers/mcp-tools.md): Complete parameter reference for all DataGen MCP tools ### SDK - [Python SDK Reference](https://datagen.dev/developers/sdk-python.md): Complete API reference for the DataGen Python SDK - [TypeScript SDK Reference](https://datagen.dev/developers/sdk-typescript.md): Complete API reference for the DataGen TypeScript SDK ### CLI - [CLI Command Reference](https://datagen.dev/developers/cli.md): Complete reference for the DataGen CLI - [datagen-data CLI](https://datagen.dev/developers/data-cli.md): Reference for the datagen-data CLI that agents and the Data Builder use to find and query data inside a sandbox ## API Reference ### Agent API - [Agent API Overview](https://datagen.dev/api-reference/agent-api/overview.md): Talk to any deployed DataGen agent over an Anthropic-compatible streaming endpoint - [Send a Message](https://datagen.dev/api-reference/agent-api/messages.md): POST /api/agents/{agent}/v1/messages — request body, streaming response, and SDK usage - [Conversations](https://datagen.dev/api-reference/agent-api/conversations.md): Resume, fork, list, share, and delete agent conversations - [Errors & Limits](https://datagen.dev/api-reference/agent-api/errors.md): Status codes, error shapes, timeouts, and concurrency guidance for the Agent API ## Optional - [Documentation](https://datagen.mintlify.app/) - [Community](https://discord.gg/6nfr4hh38r) - [Agent Guide](https://datagen.dev/agents-guide) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Traditional Chinese (45 pages)](https://datagen.dev/_llms/zh-hant.txt): AI Cloud, 開發者, API 參考. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.