oto-dock README

项目的 README,来自 github.com/OtoDock/oto-dock。合并为一个 markdown 文件:README.md。

OtoDock

OtoDock · Collaborative Agents

The self-hosted platform for your company's AI agents.

Your team builds them on Claude Code, Codex or local models, and they work in chats, on schedules, on the phone and on your own machines.

The agentic company OS.

License: FSL-1.1-ALv2 Version CI Docs Website

Install · Video · Docs · Website · Features · Discussions · X · LinkedIn

Download on the App Store    Get it on Google Play

Four views of the OtoDock dashboard: a chat beside the PowerPoint deck it built, an app an agent built and deployed, the 3D company map of departments, and the Claude Code terminal inside the dashboard

Dashboard highlights. Watch the two-minute video, made by an OtoDock agent.


Why OtoDock

OtoDock acts as the brain of your company. You create powerful agents that connect to the tools your company runs on. They work in departments, delegate to each other, and keep working on their own when no one is watching. Your agents can build and deploy internal apps for your team, or even public ones you share with your customers.

OtoDock is multi-tenant by design. Many people work with the same agents, and four modes decide how an agent is shared and where its work lands. You work with your agents on your self-hosted dashboard, or you can even give them a phone line and talk to them. All of it runs on your own Anthropic and OpenAI subscriptions, and on local models.

OtoDock is built, tested and shipped by agents running on OtoDock.

How OtoDock works

One server runs the platform. It keeps your agents, your people, your files and your keys. It runs every Claude Code and Codex session on one of your machines, and you follow the work live.


Work reaches one OtoDock server from the dashboard, the phone, schedules and the API. The server runs each session on the compute machine it comes with, an admin remote machine or your own computer


The same agent works on every machine, headless or in a live terminal.

Quick start

You need:

Then, in its own folder:

mkdir otodock && cd otodock
curl -fsSLO https://raw.githubusercontent.com/OtoDock/oto-dock/main/scripts/install.sh
bash install.sh

The script does fresh installs only, and scripts/upgrade.sh upgrades one later. The installation guide covers the rest: the server's address, HTTPS behind a reverse proxy, the phone service and building from source.

Then open http://localhost:8400, or your server's address on port 8400, and the setup wizard greets you. Create the owner account, and OtoDock installs the Personal Assistant for you, with the tools it needs.

Connect your Claude or ChatGPT subscription under Setup, AI Engines. Then open the Personal Assistant from the Agents page and send it your first message (first run). From there you add agents from the community catalog or build your own, and you add the people who will work with them.

Build your own AI agents

Every agent is a digital employee you give a job. It has its own knowledge, workspace, skills and tools. The Agents page in the docs explains each part.

Four ways to share one agent

Every agent has a mode that decides how people share it, and where its workspace lives: private for each person, shared by the whole team, or both.

Mode What it means
Personal only A private workspace for each person.
Personal + shared A private workspace for each person as the default, and a shared one for the team.
Shared + personal A shared team workspace as the default for everyday work, plus a private one per person.
Shared only Everyone shares one history and one workspace.

Everyone gets the right seat

Each person has a role on every agent they use. The role decides what they can see and do there. Admins add each person to the agents they need.

Three platform roles Four roles on every agent
An Admin runs the platform. A Manager has full control of the agent.
A Creator creates agents. An Editor edits the shared files and automates as the agent.
A Member uses the agents they are given. A Contributor adds files to the shared workspace, nothing more.
A Viewer chats and reads the shared files.

Claude Code or Codex on your subscription, or local models.

Claude Code runs on your Anthropic subscription, and Codex runs on your ChatGPT subscription. Every user connects their own subscription or API key, or an admin shares theirs with the team.

Local models on your own hardware work as well, through Ollama or any OpenAI-compatible server. Each agent can use every engine. A new chat opens on the one you use most, and you can switch it per chat (AI engines).

They work while you are away

Agents run on any schedule, when a webhook event fires, or once at a time you choose. They work in your workspace, where their reports and files land. They notify you when something needs you, from a quiet chime to a persistent danger alarm (tasks, triggers).

Every run is a full chat you can open, read and continue. The checks you attach judge the work at the end of a turn, and send the agent back for another round when it falls short (checks).

Runs on your server. Works on your machines.

The same agent, with the same files, skills and tools, works on any of your machines. By default it runs on the compute machine OtoDock comes with, in an isolated sandbox. An admin adds more of them on other servers with one command.


One agent arrives whole on the compute machine, an admin remote machine and your own computer, with its knowledge, workspace, skills and tools. A chat can move from one machine to another


You pair a laptop, a workstation or a server running macOS, Linux or Windows with one command. It keeps a single outbound connection to your server, so it needs no open ports. The agent's files stay in sync, and there it works with the machine's own files and apps.

A chat can move from one machine to another and continue where it left off. Pick the place in the chat, or ask the agent to move. If your computer goes offline, your next chat starts where the agent usually runs (remote machines).

Your own cloud of agents.

Build and deploy full apps, just by asking your agent.

An agent can build and deploy its own apps. An app is a page with its own address, so you can bookmark it and come back to it any time. It can have buttons that put the agent to work, show live data from the platform and, when it needs one, run its own server and database.

You can share an app or a chat with a teammate, or with anyone by a link. You can also place an app in another agent's apps, or in a whole department's. That agent's chats and tasks then call what the app offers (apps).

Give an agent a phone number

Agents answer and place phone calls, and hand a caller over to you or a colleague when the conversation needs a person. Bring your own Twilio account, or connect the Asterisk or FreePBX server you already run (phone).

The two-minute video

https://github.com/user-attachments/assets/f7bd10dc-d9d8-46b2-b4d6-a375efdea9e2

This entire video was directed, captured and edited by an OtoDock agent. Watch it in full quality on otodock.io.

The company, running

The 3D company map: departments with their agents, and the delegation lines between them A meeting between two agents: one opens it, and the other's work streams live in the chat
Departments. Organize your agents into departments. A department's delegation mode decides who can hand work to whom: Down only, Down and across, All directions or Off. Meetings. Specialist agents discuss a topic together and converge on an answer, live in the dashboard.
A Claude Code terminal running inside the dashboard with the agent's tools loaded A chat beside the PowerPoint deck its agent built, open for editing in the dashboard
Terminal. The Claude Code or Codex terminal opens in the dashboard, with the agent's tools already loaded. Documents. They edit Excel, Word and PowerPoint files right in the chat.

Locked down by default

OtoDock assumes agents cannot be trusted (the security model, SECURITY.md, the advisories).


An agent session sends a request with a placeholder. Outside the session, OtoDock swaps the placeholder for the real key. The real key never enters the session


Everything included

See all features at otodock.io/features.

How it fits together

 proxy/       The platform core (FastAPI): sessions, security, scheduling,
              the agent sandbox and the WebSocket hub the dashboard talks to
 dashboard/   The React dashboard, and android/ and ios/ wrap it in the two apps
 mcps/        The first-party MCP tool servers and the community mirrors
 audio/       The speech package: speech to text, text to speech, voice activity
 phone/       The phone service: live calls over Twilio or Asterisk and FreePBX
 satellite/   The program on every machine that runs agents: the compute
              machines and your paired computers
 scripts/     Install, compose, backup and restore, maintainer tooling

Agents run as Claude Code or Codex processes, in a sandbox on a compute machine or on your paired computers. The direct engine thinks in the server, with its tools on the compute machine. They use their tools over MCP and stream every step to the dashboard. PostgreSQL holds the state.

ARCHITECTURE.md maps the code, CONTRIBUTING.md covers the setup and the tests, AGENTS.md instructs coding agents, and satellite/README.md, satellite/PROTOCOL.md and phone/README.md cover those two services.

Questions people ask

Is my data on my server? Yes. It goes only to the AI providers you connect and the services you integrate. The install's own housekeeping carries none of it: the community catalog, a daily release check you can turn off, and a weekly check-in by a subscription key.

What does the license allow? It allows anything except a competing offering, and each release becomes Apache 2.0 two years after it ships. The License section covers bigger teams and lapsed keys.

Community

Watch this repository's releases to hear about each new version. Every release carries its notes, and the CHANGELOG keeps them all. For news, follow OtoDock on X and LinkedIn.

Contributing

Contributions are welcome. CONTRIBUTING.md takes you from a clone to green tests and explains how a pull request gets merged. Contributions are covered by a contributor agreement, CLA.md: you keep your copyright, OtoDock gets a licence, and every release with your work stays fair source. Ready-made agents, tools and skills live in their own catalogs, and new entries go there: community-agents, community-mcps and community-skills.

License

OtoDock is fair source: licensed under the Functional Source License, Version 1.1, ALv2 Future License (FSL-1.1-ALv2). You can use, run, modify, and redistribute it for anything except competing with OtoDock commercially, and each version automatically becomes plain Apache 2.0 two years after its release.

Self-hosting is free for up to 5 users. Growing teams license by seats. Same software, signed key, no feature gates on your data or your agents. If a key lapses, everyone and everything already there keeps working. The install stops adding users, and 30 days past the key's end date, agents too.

Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc., registered in the U.S. and other countries. Google Play and the Google Play logo are trademarks of Google LLC.

oto-dock (OtoDock/oto-dock)

正在搜索数据库…

这是什么?OtoDock 是一个可自托管的平台,用于运行企业自己的 AI 智能体:团队在 Claude Code、Codex 或本地模型上搭建它们,然后让它们在聊天里、按定时任务、通过电话以及在你自己的机器上工作。
这是托管服务,还是我自己部署运行?你在自己的服务器上运行:智能体以隔离沙箱的形式存放在那里,所有人通过网页控制台与它们协作。你还可以把 Mac、Windows 或 Linux 电脑配对接入,让智能体直接使用这些机器。
我该怎么把它跑起来?在一台装有 Docker 的 Linux 服务器上(x86-64 或 arm64 架构,内存至少 4 GB),创建一个文件夹并在其中运行安装脚本:它会生成一个 .env 文件,拉取锁定版本号的 docker-compose.yml 并启动整套服务。随后设置向导会帮你创建管理员账号,并安装第一个私人助理智能体。
我需要 Anthropic 的 API 密钥吗?不需要。Claude Code 使用你的 Anthropic 订阅,Codex 使用你的 ChatGPT 订阅,每位用户各自连接自己的账号;在你自己的硬件上跑本地模型也可以,而且你可以为每个智能体选择引擎,并能在聊天中随时切换。
安装有什么坑吗?安装脚本只支持全新安装——如果检测到已有安装,它会直接停止,不会改动现有环境。如果用户通过域名或 IP 访问服务器,需要在生成的 .env 里设置 DASHBOARDPUBLICURL;如果前面有反向代理,还要设置 TRUSTEDPROXY。
它怎么防止智能体闯祸?每个服务端智能体都运行在内核级沙箱里,网络隔离始终开启:私有网段、你的局域网和云元数据端点都无法访问。凭据静态加密并按会话注入,SSO、双因素认证和按用户的费用预算都是标配。
这种 fair-source 许可证对我的公司意味着什么?它采用 Functional Source License v1.1(FSL-1.1-Apache-2.0):只要不与 OtoDock 竞争,你可以自由使用、修改和再分发;每个版本发布满两年后会自动转为 Apache 2.0 许可。5 名用户以内自托管免费,更大的团队按席位购买许可。
这些智能体开箱即用能做什么?平台内置了不少功能:智能体可以在聊天中创建和编辑 Word、Excel、PowerPoint 及 PDF 文件,生成和编辑图片,剪辑带字幕和配乐的视频,转录音频,浏览实时网页,主持会议,相互委派任务,还能打电话。社区目录提供现成的智能体、工具和技能——包括 GitHub、Notion、Home Assistant、Nextcloud、Prometheus、UniFi 和 Uptime Kuma 等——一键即可安装。
一个智能体由什么组成?六个可编辑的部分:Persona(人格设定,用自然语言写的指令)、跨聊天保留的 Memory(记忆)、存放日常工作的 Workspace(工作区)文件夹、Knowledge(知识,即参考文档)、它学会的 Skills(技能),以及允许它使用的 Tools(工具)。
智能体能直接在我的笔记本或工作站上干活吗?可以。用一行安装命令就能把 macOS、Linux 或 Windows 电脑配对接入:它只与你的服务器保持一条出站连接,无需开放任何端口,文件会保持同步,同一个智能体连同它的全部工具都在那台机器上以完整权限运行。如果机器离线,服务器会接管。
作者为什么要做这个?一切源于 Claude Code:Dimitris Mourtzis 想在终端之外使用它,并把它接入自己的各项服务,于是围绕这个想法搭建了整个平台。OtoDock 的很大一部分就是由运行在 OtoDock 自身上的智能体开发、测试并发布的。
有哪些类似的项目?CompanyOS, hermes-agent, ruflo, qm, omnara, AionUi, omnigent, agentes-chat
作者
OtoDock
大小
69.8 MB
星标
201
时长
4个月
提交 · 90 天