Deco Chat
Deco Chat — это открытая AI-платформа для самостоятельного развёртывания, предназначенная для создания, развёртывания и масштабирования интеллектуальных AI-агентов и приложений. Используйте TypeScript, Cloudflare и встроенные инструменты для создания надёжных AI-решений.
Deco Chat — это открытая платформа для создания AI-native приложений, которая предоставляет разработчикам, инженерам и энтузиастам ИИ мощные инструменты для быстрого прототипирования, разработки и развёртывания приложений на базе искусственного интеллекта. Её основная цель — дать командам возможность использовать генеративный ИИ, предоставляя необходимые строительные блоки для создания устойчивых, управляемых AI-native приложений, масштабируемых от начального прототипа до крупных производственных сред с тысячами пользователей.
Ключевые возможности
Варианты использования
deco.chat is an open-source foundation for building AI-native software.
We equip developers, engineers, and AI enthusiasts with robust tools to rapidly
prototype, develop, and deploy AI-powered applications.
Official docs: https://docs.deco.chat
- Vibecoders prototyping ideas
- Agentic engineers deploying scalable, secure, and sustainable production systems
Our goal is simple: empower teams to embrace Generative AI by giving builders the tools to create sustainable, governed AI-native applications — from prototype to production, and from one user to thousands.
- Open-source Runtime – Easily compose tools, workflows, and views within a single codebase
- MCP Mesh (Model Context Protocol) – Securely integrate models, data sources, and APIs, with observability and cost control
- Unified TypeScript Stack – Combine backend logic and custom React/Tailwind frontends seamlessly using typed RPC
- Global, Modular Infrastructure – Built on Cloudflare for low-latency, infinitely scalable deployments. Self-host with your Cloudflare API Key
- Visual Workspace – Build agents, connect tools, manage permissions, and orchestrate everything built in code
A Deco project extends a standard Cloudflare Worker with our building blocks and
defaults for MCP servers.
It runs a type-safe API out of the box and can also serve views — front-end apps
deployed alongside the server.
Currently, views can be any Vite app that outputs a static build. Soon, they’ll
support components declared as tools, callable by app logic or LLMs.
Views can call server-side tools via typed RPC.
- Deno 2.x.x (temporary — will be optional after CLI migration)
- Your preferred JavaScript runtime:
- Install the CLI
deno install -Ar -g -n deco jsr:@deco/cli
-
Log in to deco.chat. Don’t have an account? Sign up first.
-
Create a new project
deco create # create new project, select workspace and choose a template
cd my-project
npm install # or bun, deno, pnpm
- Start the dev server
npm run dev # → http://localhost:8787 (hot reload)
Need pre‑built MCP integrations? Explore deco-cx/apps.
my-project/
├── server/ # MCP tools & workflows (Cloudflare Workers)
│ ├── main.ts
│ ├── deco.gen.ts # Typed bindings (auto-generated)
│ └── wrangler.toml
├── view/ # React + Tailwind UI (optional)
│ └── src/
├── package.json # Root workspace scripts
└── README.md
Skip
view/if you don’t need a frontend.
| Command | Purpose |
|---|---|
deco dev |
Run server & UI with hot reload |
deco deploy |
Deploy to Cloudflare Workers |
deco gen |
Generate types for external integrations |
deco gen:self |
Generate types for your own tools |
For full command list:
deco --helpor see the CLI README
A Deco project is built using tools and workflows — the core primitives for connecting integrations, APIs, models, and business logic.
Atomic functions that call external APIs, databases, or AI models. All templates include the necessary imports from the Deco Workers runtime.
import { createTool, Env, z } from "deco/mod.ts";
const createMyTool = (env: Env) =>
createTool({
id: "MY_TOOL",
description: "Describe what it does",
inputSchema: z.object({ query: z.string() }),
outputSchema: z.object({ answer: z.string() }),
execute: async ({ context }) => {
const res = await env.OPENAI.CHAT_COMPLETIONS({
model: "gpt-4o",
messages: [{ role: "user", content: context.query }],
});
return { answer: res.choices[0].message.content };
},
});Tools can be used independently or within workflows. Golden rule: one tool call per step — keep logic in the workflow.
Orchestrate tools using Mastra operators like .then, .parallel,
.branch, and .dountil.
Tip: Add Mastra docs to your AI code assistant for autocomplete and examples.
import { createStepFromTool, createWorkflow } from "deco/mod.ts";
return createWorkflow({
id: "HELLO_WORLD",
inputSchema: z.object({ name: z.string() }),
outputSchema: z.object({ greeting: z.string() }),
})
.then(createStepFromTool(createMyTool(env)))
.map(({ inputData }) => ({ greeting: `Hello, ${inputData.answer}!` }))
.commit();Build React + Tailwind frontends served by the same Cloudflare Worker.
- Routing with TanStack Router
- Typed RPC via
@deco/workers-runtime/client - Preconfigured with
shadcn/uiandlucide-react
-
Add an integration via the deco.chat dashboard (improved UX coming soon)
-
Run
npm run gen→ updatesdeco.gen.tswith typed clients -
Write tools in
server/main.ts -
Compose workflows using
.map,.branch,.parallel, etc. -
(Optional) Run
npm run gen:self→ typed RPC clients for your tools -
Build views in
/viewand call workflows via the typed client -
Run locally
npm run dev # → http://localhost:8787 -
Deploy to Cloudflare
npm run deploy
We welcome contributions! Check out CONTRIBUTING.md for
guidelines and tips.
Made with ❤️ by the Deco community — helping teams build AI-native systems that scale.
Deco Chat — открытая платформа для AI-native приложений
Deco Chat — это open-source фреймворк для быстрого прототипирования, разработки и развёртывания AI-приложений. Он предоставляет TypeScript-стек, встроенную поддержку MCP (Model Context Protocol), визуальный редактор агентов и готовую инфраструктуру на базе Cloudflare.
Официальная документация: docs.deco.chat
Для кого это?
- Vibecoders — те, кто хочет быстро проверить идею с AI.
- Agentic-инженеры — разработчики, которым нужно масштабировать AI-системы в production.
Возможности
- Open-source Runtime — объединяет инструменты, воркфлоу и UI в одном коде.
- MCP Mesh — безопасная интеграция моделей, данных и API с контролем затрат.
- Единый TypeScript-стек — бэкенд и React/Tailwind-фронтенд через типизированный RPC.
- Глобальная инфраструктура — на Cloudflare: низкая задержка, бесконечное масштабирование.
- Визуальное рабочее пространство — сборка агентов, управление правами и оркестрация.
Создание нового проекта
Проект Deco расширяет стандартный Cloudflare Worker, добавляя строительные блоки и настройки для MCP-серверов. Из коробки он предоставляет типобезопасное API и может также отдавать фронтенд (Vite-приложение).
Требования
- Deno 2.x.x (временно, после миграции CLI станет опциональным)
- Bun (рекомендуется), Node.js или Deno
Быстрый старт
-
Установите CLI:
deno install -Ar -g -n deco jsr:@deco/cli -
Зарегистрируйтесь на deco.chat и войдите.
-
Создайте проект:
deco create cd my-project npm install # или bun, deno, pnpm -
Запустите dev-сервер:
npm run dev # → http://localhost:8787 с hot reload
Готовые MCP-интеграции ищите в deco-cx/apps.
Структура проекта
my-project/
├── server/ # MCP-инструменты и воркфлоу (Cloudflare Workers)
│ ├── main.ts
│ ├── deco.gen.ts # автосгенерированные типы
│ └── wrangler.toml
├── view/ # React + Tailwind UI (опционально)
│ └── src/
├── package.json
└── README.md
Если фронтенд не нужен, удалите папку view/.
Основные команды CLI
| Команда | Назначение |
|---|---|
deco dev |
Запуск сервера и UI с hot reload |
deco deploy |
Деплой на Cloudflare Workers |
deco gen |
Генерация типов для внешних интеграций |
deco gen:self |
Генерация типов для собственных инструментов |
Полный список: deco --help или CLI README.
Строительные блоки
Инструменты (Tools)
Атомарные функции, вызывающие внешние API, базы данных или AI-модели. Пример:
import { createTool, Env, z } from "deco/mod.ts";
const createMyTool = (env: Env) =>
createTool({
id: "MY_TOOL",
description: "Describe what it does",
inputSchema: z.object({ query: z.string() }),
outputSchema: z.object({ answer: z.string() }),
execute: async ({ context }) => {
const res = await env.OPENAI.CHAT_COMPLETIONS({
model: "gpt-4o",
messages: [{ role: "user", content: context.query }],
});
return { answer: res.choices[0].message.content };
},
});
Правило: один вызов инструмента на шаг — логику оставляйте в воркфлоу.
Воркфлоу (Workflows)
Оркестрация инструментов с помощью операторов Mastra: .then, .parallel, .branch, .dountil.
import { createStepFromTool, createWorkflow } from "deco/mod.ts";
return createWorkflow({
id: "HELLO_WORLD",
inputSchema: z.object({ name: z.string() }),
outputSchema: z.object({ greeting: z.string() }),
})
.then(createStepFromTool(createMyTool(env)))
.map(({ inputData }) => ({ greeting: `Hello, ${inputData.answer}!` }))
.commit();
Подсказка: добавьте документацию Mastra в AI-ассистент для автодополнения.
Представления (Views)
React + Tailwind-фронтенд, развёртываемый тем же Cloudflare Worker. Использует TanStack Router, типизированный RPC через @deco/workers-runtime/client, предустановлены shadcn/ui и lucide-react.
Процесс разработки
- Добавьте интеграцию через дашборд deco.chat.
- Выполните
npm run gen— обновитсяdeco.gen.tsс типизированными клиентами. - Напишите инструменты в
server/main.ts. - Соберите воркфлоу с
.map,.branch,.parallelи т.д. - (Опционально)
npm run gen:self— типизированный RPC для ваших инструментов. - Создайте представления в
/viewи вызывайте воркфлоу через типизированный клиент. - Запустите локально:
npm run dev. - Разверните:
npm run deploy.
Как внести вклад
Мы приветствуем вклад! См. CONTRIBUTING.md.
Сделано с ❤️ сообществом Deco — помогаем командам создавать масштабируемые AI-native системы.
Что такое Deco Chat?
Deco Chat — это открытое, самостоятельно размещаемое AI-рабочее пространство, созданное для разработчиков, чтобы быстро создавать, прототипировать и развертывать интеллектуальные, UI-насыщенные AI-агенты и приложения, интегрируемые с внутренними системами.
Для кого предназначен Deco Chat?
Он идеально подходит для «Vibecoders», прототипирующих новые AI-системы, и «Agentic engineers», сосредоточенных на развертывании масштабируемых, безопасных и устойчивых производственных систем на базе AI.
Каковы ключевые технические возможности Deco Chat?
Основные функции включают среду выполнения с открытым исходным кодом, MCP Mesh для безопасной интеграции моделей/данных/API, унифицированный стек TypeScript (React/Tailwind, типизированный RPC) и глобальную инфраструктуру на базе Cloudflare для масштабируемых самостоятельно размещаемых развертываний.
Как Deco Chat упрощает разработку AI-агентов?
Он предоставляет «Tools» для атомарных функций (вызов API, баз данных, AI-моделей) и «Workflows» для оркестрации этих инструментов с помощью операторов Mastra, что позволяет легко объединять сложную AI-логику в агентов.
Test Tool
A test tool
My Tool
Test
Double
Double a number
Set Name Tool
Test tool
Traced Tool
Test tool
Metric Tool
Test tool
Counter Tool
Test tool
Error Tool
Test tool
Audit Tool
Test tool
Safe Tool
Test tool
No Audit Tool
Test tool
Exception Tool
Test tool
My Tool
Does something useful
Connection Create
Create a new MCP connection in the organization
Connection Delete
Delete a connection
Connection Get
Get connection details by ID
Connection List
List all connections in the organization
Connection Test
Test connection health and latency
Connection Update
Update an existing MCP connection in the organization
Organization Create
Create a new organization
Organization Delete
Delete an organization
Organization Get
Get organization details by slug or ID
Organization List
List all organizations user has access to
Organization Member Add
Add a member to an organization
Organization Member List
List all members in an organization
Organization Member Remove
Remove a member from an organization
Organization Member Update Role
Update a member
Organization Update
Update an existing organization
$${R.Name.Touppercase()} List
List views exposed by this MCP
Agents List
List all agents
Agents Get
Get an agent by id
Agents Create
Create a new agent
Ai Generate
Generate text using AI models directly without agent context (stateless)
Ai Generate Object
Generate structured objects using AI models with JSON schema validation
Api Keys List
List all stored API keys in the vault (does not expose actual key values)
Api Keys Create
Store a new third-party service API key in the vault with access control policies
Api Keys Reissue
Generate a new encrypted token for an existing stored API key (e.g., after key rotation or policy updates)
Api Keys Get
Retrieve metadata for a stored API key (does not expose the actual key value)
Api Keys Update
Update the name, enabled status, or access policies for a stored API key
Api Keys Delete
Remove a stored API key from the vault (soft delete - can be recovered)
Api Keys Enable
Enable a stored API key to allow it to be used
Api Keys Disable
Disable a stored API key to prevent it from being used
Api Keys Check Access
Check which tools an API key has permission to access based on its policies
Api Keys Validate
Check if a stored API key is valid and enabled
Channels List
List all channels
Channels Create
Create a channel
Channels Join
Invite an agent to a channel
Channels Leave
Remove an agent from a channel
Channels Get
Get a channel by ID
Channels Delete
Delete a channel
Deco Chat Oauth Start
Start the OAuth flow for the contract app.
Contract Register
Register a contract with the registry.
Fs List
List files from a given bucket given a prefix
Fs Read
Get a secure temporary link to read a file
Fs Read Metadata
Get metadata about a file
Fs Write
Get a secure temporary link to upload a file
Fs Delete
Delete a file
Hosting Apps List
List all apps for the current tenant
Hosting Apps Promote
Promote a specific deployment to an existing route pattern and update routing cache
Hosting App Deploy
App ${scriptSlug} by deco workers for workspace ${workspace}
Hosting App Delete
Delete an app and its worker
Hosting App Info
Get info/metadata for an app (including endpoint)
Hosting App Deployments List
List all deployments for a specific app
Hosting App Workflows List Names
List all unique workflow names in the workspace
Hosting App Workflows Status
Get the status of a workflow instance
Knowledge Base Delete
Delete a knowledge base
Knowledge Base Create
Create a knowledge base
Team Members Get
Get all members of a team
Team Members Update
Update a team member. Usefull for updating admin status.
Team Member Activity Register
Register that the user accessed a team
Project Activity Register
Register that the user accessed a project
My Invites List
List all team invites for the current logged in user
Team Members Invite
Invite users to join a team via email. When no specific roles are provided, use default role: { id: 1, name:
Team Invite Delete
Delete a team invitation
Team Roles List
Get all roles available for a team, including basic deco roles
Team Members Update Role
Update a member
Team Report Issue Create
Report a bug or idea within a team/project context
Models Create
Create a new model
Models Update
Update an existing model
Models Delete
Delete a model by id
Models List
List models for the current user
Models Get
Get a model by id
Oauth Code Create
Create an OAuth code for a given API key
Profiles Get
Get the current user
Profiles Update
Update the current user
Prompts Create
Create a new prompt
Prompts Update
Update an existing prompt
Prompts Delete
Delete a prompt by id
Prompts List
List prompts for the current workspace
Prompts Get
Get a prompt by id
Prompts Get Versions
Get the versions of a prompt
Prompts Rename Version
Rename a prompt version
Registry List Scopes
List all registry scopes
Registry Get App
Get an app from the registry
Registry List Apps
List all apps in the registry for the current workspace
Registry List Published Apps
List published apps by the current workspace
Registry Publish App
Publish an app to the registry (automatically claims scope on first use)
Teams Get
Get a team by slug
Teams Create
Create a new team
Teams Delete
Delete a team by id
Teams List
List teams for the current user
Get Org Theme
Get the theme for an organization
Team Role Create
Create a new team role with associated policies and permissions
Team Role Delete
Delete a team role and its associated policies (only team-specific roles)
Team Role Update
Update a team role and its associated policies
Team Role Get
Get detailed information about a specific team role
Teams Add View
Add a custom view or resource to a team
Teams Remove View
Remove a custom view or resource from a team
Projects List
List projects for an organization
Projects Recent
List recent projects for the current user based on activity
Projects Import From Github
Import a project from a GitHub repository URL. The repository must contain a deco.mcp.json manifest file.
Projects Export Zip
Export a project as a zip file containing all project resources (tools, views, workflows, documents, database schemas, and agents)
Projects Create
Create a new project in an organization
Projects Update
Update an existing project
Projects Delete
Delete a project by id
Update Org Theme
Update the organization-level theme in database. Merges with existing theme. Uses current organization in context.
Threads List
List all threads in a workspace with cursor-based pagination and filtering
Threads Get Messages
Get only the messages for a thread by thread id
Threads Get
Get a thread by thread id (without messages)
Threads Update Title
Update a thread
Threads Update Metadata
Update a thread
Triggers List
List all triggers
Triggers Upsert
Create or update a trigger
Triggers Create
Create a trigger
Triggers Update
Update a trigger
Triggers Create Cron
Create a cron trigger
Triggers Create Webhook
Create a webhook trigger
Triggers Delete
Delete a trigger
Triggers Get Webhook Url
Get the webhook URL for a trigger
Triggers Get
Get a trigger by ID
Triggers Activate
Activate a trigger
Triggers Deactivate
Deactivate a trigger
Deco View Render ${Name.Touppercase()}
Render ${name} view
Get Wallet Account
Get the wallet account for the current tenant
Get Threads Usage
Get the threads usage for the current tenant
Get Agents Usage
Get the agents usage for the current tenant
Get Billing History
Get the billing history for the current tenant
Get Contracts Commits
Get the contracts commits for the current tenant
Create Checkout Session
Create a checkout session for the current tenant
Create Voucher
Create a voucher with money from the current tenant
Redeem Voucher
Redeem a voucher for the current tenant
Get Workspace Plan
Get the plan for the current tenant
Pre Authorize Amount
Pre-authorize an amount of money for the current tenant
Commit Pre Authorized Amount
Commit a pre-authorized amount of money for the current tenant
Deco Workflow Run Step
Run a step in a workflow
Deco Workflow Create Step
Create a new step in a workflow
Deco Workflow Edit Step
Edit specific fields of a step in a workflow. Only the provided fields will be updated, all other fields remain unchanged.
Deco Workflow Read Step
Read a step in a workflow
Источник: https://mcpmarket.com/server/deco-chat
Комментарии
Комментариев пока нет. Будьте первым.