English
Get started

← All templates · AI and agents

Deploy Octop in one click

A self-hosted AI assistant for a team or a family: several users, expert agents, Telegram, Discord and more

A self-hosted alternative to ChatGPT.

What is Octop?

Octop is an open-source AI assistant from Tencent Cloud, a ChatGPT alternative for a household or a small team. Each person has their own account and builds experts: agents with their own model, persona, skills and memory. You talk to them in the web dashboard or from Telegram, Discord, WeChat and other messengers. Experts run scheduled jobs described in plain words, answer from a knowledge base of your documents, and use tools like Notion or Obsidian through connectors.

People self-host Octop so that chats, workspaces and credentials stay on a machine they control, and to pick the model for each expert, a local one included. Risky shell commands wait for approval, and sensitive data is redacted before it leaves the workspace. The catch is that Octop brings no model of its own: it needs an API key from a provider, paid by use, or an Ollama server strong enough to run one.

Hosting Octop on Pethost

  1. You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
  2. New project opens at Octop. You fill in what it asks for and click Create project: Admin password.
  3. In a minute or two Octop is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
  4. It is a project like any other: you or your agent can change it, roll it back or restore it.

Questions about Octop

Is Octop free and open source?

Yes. Octop is open source under the MIT license, and the software has no per-user price. What you pay for is the AI model behind it, unless you run local models through Ollama.

Octop vs ChatGPT: what is the difference?

ChatGPT is OpenAI's hosted service with its own models. Octop is an assistant you run yourself: it calls whichever model you choose, OpenAI's included, and every user sets up their own experts.

Which AI models does Octop support?

Octop has presets for OpenAI, Anthropic's Claude, DeepSeek, Zhipu GLM, Kimi and Ollama, and takes any OpenAI-compatible, Anthropic or AWS Bedrock endpoint as a custom provider. Each expert can use a different model.

Can multiple users share one Octop?

Yes. The admin manages accounts and roles under Settings, and each user's experts and workspaces are kept apart from the others'. Octop can also sign people in through LDAP or Active Directory.

Does Octop have a mobile app?

Not yet: native mobile apps are in closed beta. Until they ship, connect Octop to Telegram, Discord or WeChat and talk to your experts from the phone. Desktop apps exist for Windows, macOS and Linux.

How much memory and disk does Octop need?

Octop is light: about 350 MB of memory, as the models run at your provider; a family's chats take little disk. On Pethost the Starter plan is enough for it, with room for other apps beside it.

Octop Docker Compose file

The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.

Containers: octop (ghcr.io/tencentcloud/octop:1.0.2b8).

Volumes, in the nightly backup: data.

services:
  octop:
    image: ghcr.io/tencentcloud/octop:1.0.2b8
    restart: unless-stopped
    environment:
      HOME: /data
      OCTOP_BIND_HOST: 0.0.0.0
      OCTOP_PORT: 8088
      # The admin is made at the first start from this password, when it has at least
      # 8 characters with letters and digits; else the setup asks for the code it
      # writes to /data/octop-login.txt.
      OCTOP_ADMIN_USERNAME: admin
      OCTOP_DEFAULT_PASSWORD: ${ADMIN_PASSWORD}
      LANGFUSE_TRACING_ENABLED: "false"
    # SQLite, the agents, their workspaces and the settings.
    volumes:
      - data:/data/.octop

volumes:
  data:

More in AI and agents