Cody for AI agents
Agents read Cody at once. Changes and sends are held for a person's approval by default.
What an agent can do in Cody
Every Cody action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.
Runs at once (reads)
Looks things up in Cody without asking first. 10 actions.
- List BotsTool to get all bots with optional keyword filtering. Use when you need to retrieve the list of available bots in a Cody account.
- List ConversationsTool to get all conversations with optional filtering by bot, keyword, or includes. Use when you need to retrieve conversation history, filter by bot, search by name, or get document associations.
- List DocumentsTool to retrieve all documents from Cody AI account with optional filtering. Use when you need to list documents by folder, conversation, or search by keyword. Returns document details including learn
- List FoldersTool to retrieve all folders with optional keyword filtering. Use when you need to list or search for folders in the account.
- List MessagesTool to retrieve a paginated list of messages from Cody, optionally filtered by conversation. Use when you need to list messages, with optional filtering by conversation_id and extra attributes (sourc
- Get ConversationTool to fetch a conversation by its ID from Cody AI. Use when you need to retrieve details about a specific conversation. Supports optional includes parameter to filter response to list document IDs.
- Get DocumentTool to retrieve a specific document by its identifier from Cody AI. Use when you need to get details about a particular document including its status, content URL, and metadata.
- Get FolderTool to retrieve a specific folder by its identifier. Use when you need to get details about a folder.
- Get MessageTool to fetch a specific message by its ID from Cody AI. Use when you need to retrieve details about a particular message, with optional includes for sources or usage metrics.
- Get Upload Signed URLTool to get an AWS S3 signed upload URL for file uploads. Use when you need to obtain a signed URL to upload a file to Cody's storage.
Held for approval by default (changes and sends)
Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 11 actions.
- Create ConversationTool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
- Create DocumentTool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
- Create Document from WebpageTool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensur
- Delete DocumentTool to delete a document by id. Use when removing a document that is no longer needed.
- Send MessageTool to send a message to Cody AI and receive an AI-generated response. Use when you need to send a user message to a conversation and get the AI's reply.
- Create Document From FileTool to create a document by uploading a file (up to 100 MB). Supports txt, md, rtf, pdf, ppt, pptx, pptm, doc, docx, docm formats. Use when you need to add file-based documents to Cody's knowledge ba
- Create FolderTool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
- Delete ConversationTool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
- Send Message for StreamTool to send a message to Cody AI and receive a Server-Sent Events (SSE) stream URL for the AI response. Use when you need streaming responses instead of waiting for the complete message. The response
- Update ConversationTool to update a conversation by its ID including name, bot_id, and document_ids. Use when you need to modify an existing conversation's properties.
- Update FolderTool to update a folder by its ID. Use when you need to modify an existing folder's name.
Changes wait in Needs you
Changes and sends in Cody are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.
Cody questions
Can an agent change data in Cody on its own?
Not by default. Changes and sends in Cody are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.
What can an agent read in Cody?
This connector lists 10 read actions. Reads run at once, without waiting for approval.
How does Cody connect?
It connects with API key. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.