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

InterfaceWho uses itWhat it makes possible
Octocom MCPYour own AI agent: Claude, ChatGPT, Codex or any MCP clientConfigure, debug and test your setup from the agent you already use, together with your other tools
CopilotPeople in the dashboardThe same tools inside Octocom, with no setup, plus file analysis, charts and PDF reports
REST APIYour backend, scripts and data pipelinesA stable HTTP contract for reading data, managing configuration and running integrations
WebhooksYour endpointsSigned 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 blockWhat it makes possible
Custom actionsThe AI agent looks up or changes anything in your systems during a conversation
Condition providersA workflow picks its variant from live data, such as a plan or an order's state
Prompt sectionsThe AI agent gets per-conversation context before every reply
Event handlersYour code runs when a conversation closes, a call ends, a tag changes or an alert fires
Recurring jobsPython on a schedule: syncs, polling, retries and digests, with no server to run
Custom HTTP endpointsA URL backed by your Python, for forms, callbacks and decisions from outside Octocom
Browser automationSystems with no usable API, through guarded and audited browser steps
Chat UI from actionsCards, confirmations, tracking and products in web chat
Human-in-the-loop decisionsA teammate decides while the AI agent keeps the conversation
Sidebar widgetsLive data and buttons from your systems next to each conversation
Product sync parsersA searchable product catalog from any XML, CSV or JSON feed
Python modulesShared code that every automation can call
SecretsAPI keys and tokens stored once, read by name and kept out of code
Organization storeState shared between runs and conversations, with expiry and compare-and-set
Python helpersBuilt-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_docs returns the index of pages with one-line descriptions. read_octocom_docs reads up to 10 pages per call by slug, the path after /docs/, for example developers/custom-actions. Each read returns up to 12,000 characters of a page. Continue a long page with contentSelection.
  • Over HTTP. /llms.txt lists every page and /llms-full.txt contains them all. Add .mdx to any page's URL for its Markdown, for example https://docs.octocom.ai/docs/developers/mcp.mdx.
  • REST contracts. list_rest_api_groups, list_rest_api_operations and get_rest_api_operation read 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

On this page