Build on Octocom
How developers and AI agents configure Octocom, extend it with code and connect it to any system.
Octocom is built to be configured by AI agents and extended with code. Copilot, or your own agent over MCP, sets up the AI agent, help desk and channels. Your code runs inside Octocom as Python, or works with it from outside over the REST API and webhooks.
Together, these mean there is no fixed list of integrations. If a system has an API, Octocom can use it. If it only has a website, Octocom can work through its pages.
If you are an AI agent, read this page first. Then read the page for the interface you use and the page for the feature you are about to build.
What you can build
- An AI agent that does the work. It refunds an order in a retailer's ERP, opens a claim in an insurer's policy system or books a telecom technician. Each is a custom action.
- Workflows that follow live data. A condition provider checks the customer's plan or order state before the AI agent replies, so the right playbook applies.
- Automations around every conversation. An event handler updates your CRM when a conversation closes. A webhook streams every message to your own endpoint.
- Scheduled work. A recurring job syncs records overnight or retries anything another system rejected.
- URLs other systems call. A custom HTTP endpoint receives a form post or a partner's callback and acts on it.
- Tools for your team. Sidebar widgets show records from your systems next to each conversation, with buttons that act on them.
- Your own channel. Two-way messaging pushes customer messages in over REST and delivers every reply to your webhook.
- Your own reporting. The REST API feeds support data into your warehouse, and Analytics SQL answers the questions built-in metrics don't cover.
Interfaces
| Interface | Who uses it | What it makes possible |
|---|---|---|
| Octocom MCP | Your own AI agent: Claude, ChatGPT, Codex or any MCP client | Configure, debug and test your setup from the agent you already use, together with your other tools |
| Copilot | People in the dashboard | The same tools inside Octocom, with no setup, plus file analysis, charts and PDF reports |
| REST API | Your backend, scripts and data pipelines | A stable HTTP contract for reading data, managing configuration and running integrations |
| Webhooks | Your endpoints | Signed JSON on conversation, message, call, review and alert events, with filters and retries |
Use MCP when an agent does the work, and the REST API when your own code does. Python building blocks are created and tested through either one, or in the dashboard.
Building blocks
Each building block does one job, and most real integrations combine several. Integration patterns shows which ones fit each kind of external system.
| Building block | What it makes possible |
|---|---|
| Custom actions | The AI agent looks up or changes anything in your systems during a conversation |
| Condition providers | A workflow picks its variant from live data, such as a plan or an order's state |
| Prompt sections | The AI agent gets per-conversation context before every reply |
| Event handlers | Your code runs when a conversation closes, a call ends, a tag changes or an alert fires |
| Recurring jobs | Python on a schedule: syncs, polling, retries and digests, with no server to run |
| Custom HTTP endpoints | A URL backed by your Python, for forms, callbacks and decisions from outside Octocom |
| Browser automation | Systems with no usable API, through guarded and audited browser steps |
| Chat UI from actions | Cards, confirmations, tracking and products in web chat |
| Human-in-the-loop decisions | A teammate decides while the AI agent keeps the conversation |
| Sidebar widgets | Live data and buttons from your systems next to each conversation |
| Product sync parsers | A searchable product catalog from any XML, CSV or JSON feed |
| Python modules | Shared code that every automation can call |
| Secrets | API keys and tokens stored once, read by name and kept out of code |
| Organization store | State shared between runs and conversations, with expiry and compare-and-set |
| Python helpers | Built-in functions for conversations, connected platforms, spreadsheets, PDFs, email and AI |
If someone outside Octocom must decide, such as a supplier or a warehouse, follow Get approvals from outside Octocom.
Read the docs as an agent
Every page on this site is written for agents as well as people.
- From an MCP client or Copilot.
list_octocom_docsreturns the index of pages with one-line descriptions.read_octocom_docsreads up to 10 pages per call by slug, the path after/docs/, for exampledevelopers/custom-actions. Each read returns up to 12,000 characters of a page. Continue a long page withcontentSelection. - Over HTTP.
/llms.txtlists every page and/llms-full.txtcontains them all. Add.mdxto any page's URL for its Markdown, for examplehttps://docs.octocom.ai/docs/developers/mcp.mdx. - REST contracts.
list_rest_api_groups,list_rest_api_operationsandget_rest_api_operationread the published API specification. See REST API.
How agents should work
Teammates, Octocom staff and other agents work on the same organization. These steps keep your changes correct, and let the team see what you did and why.
Start a work session
Over MCP, call start_work_session with one objective before your first change. Pass the returned workSessionId to every write tool; writes without it are rejected. In Copilot, the Copilot session plays this role. See Work sessions and context notes.
Learn what is already there
Call get_organization_context for the organization's shared facts. Before changing a resource, call search_sessions with its ID to see earlier work and the reasons behind it.
Read the playbook before authoring
Read the page for a feature before you create or edit it. Workflows, actions, condition providers, event handlers, HTTP endpoints, sidebar widgets, comment workflows, phone line routers and product sync parsers each have rules the tool schema alone does not show. For small changes to code or instructions, use targeted edits.
Test before going live
Run code with its test_* tool, then run test conversations against the AI agent before customers see the change. Tests of saved code run for real and can change external systems, so test against safe records. Use a read-only connection for audits and analysis.
Record what you learned
Add session notes with your findings and the outcome (add_session_note). Give each write a short note explaining why, and save lasting facts as context notes (create_context_note). Changes are recorded, and most configuration keeps versions you can restore. See Change history and restore.
For complex setups, Octocom's solution engineers can review the configuration, test it and help design it with you.
Start here
Octocom MCP
Connect Claude, ChatGPT, Codex or any MCP client to Octocom.
Octocom Copilot
The AI agent in your dashboard, and how it asks before sensitive changes.
Custom actions
Let the AI agent do anything your systems allow.
Integration patterns
The right building block for each kind of external system.
REST API
Authentication, scopes, conventions and the main endpoint groups.
Webhooks
Signed event deliveries to your own endpoints.
Python helpers
Built-in functions for conversations, integrations, files and more.
Public files
Host images and documents at permanent public URLs.