Projects (Assistants)
A project — called an assistant in the API — is the central unit of work in Ragen AI. Think of it as a self-contained knowledge base that holds all the documents, instructions, and conversation history for one use case. Every project contains three things:Documents
Files you upload, processed into searchable chunks and stored in the vector database for retrieval.
Instructions
A custom system prompt that tells the AI how to behave — its tone, focus area, and any rules it should follow.
Assistant ID
A unique identifier you pass as
assistant_id in API requests to route questions to this project’s knowledge base.Supported file types
You can upload any of the following file formats to a project:Organizations
An organization is the top-level container that holds everything — members, projects, API keys, and connectors to external services. You always act within an organization, and your permissions inside it determine what you can see and manage. Each organization has:- Members assigned one of three roles:
owner,admin, ormember - Projects with their own independent knowledge bases
- API keys for programmatic access, each scoped to the organization
- Connectors to external services such as Google Drive and HubSpot
Threads
A thread is a conversation — an ordered list of user messages and assistant responses. Threads are scoped to an organization, so every thread in your org is accessible to organization admins regardless of which project it belongs to. Threads serve two purposes:- Interactive conversations — created through the Ragen AI app when you chat with an assistant directly.
- API threads — when a key’s debug mode is on, every API request automatically saves its full exchange as a thread you can inspect under the API threads tab.
API Keys
An API key grants programmatic access to Ragen AI on behalf of one organization and one default project. You use it in theAuthorization: Bearer <key> header on every request.
Key behaviours to know:
- Org boundary: a key can never cross its organization. Cross-organization requests are always rejected.
- Default project: operations that need a project (such as chat and file upload) use the key’s bound project unless you specify a different
assistant_id. - Debug mode: toggle this on during development to save every API conversation as a thread you can inspect. Turn it off once your integration is stable to avoid unnecessary storage growth.
Try Ragen AI without installing anything at demo.ragen.ai. The demo environment is a fully functional instance where you can upload documents, create projects, and test the API before committing to a self-hosted deployment.