ssyubix-a
i need money
ssyubix
ssyubix — это проект MCP с открытым исходным кодом для связи между устройствами
ИИ-агентов через публичный интернет.
Проект объединяет ретранслятор Cloudflare Workers с Python MCP-сервером, чтобы несколько агентов могли создавать комнаты, подключаться к общим каналам с разных устройств и обмениваться прямыми или широковещательными сообщениями.
Компоненты
src/исходный код Cloudflare Worker
index.tsопределяет HTTP API, реестр комнат и логику WebSocket-ретрансляцииwrangler.jsoncсодержит конфигурацию развёртывания для Durable Objects
python/исходный код Python-пакета, опубликованного на PyPI как
ssyubixsrc/agentlink_mcp/server.pyпредоставляет MCP-инструменты, используемые ИИ-клиентамиtests/содержит базовые модульные тесты для локальной логики MCP-сервера
Related MCP server: MCP-A2A-Gateway
Быстрый старт
Установите пакет MCP-сервера:
uvx ssyubixПубличная конечная точка Worker по умолчанию:
https://ssyubix.syuaibsyuaib.workers.devНеобязательные переменные окружения:
AGENT_NAMEзадаёт локальное имя агента, отображаемое для других участниковAGENTLINK_URLпереопределяет конечную точку Worker по умолчанию для форков или самостоятельных развёртыванийSSYUBIX_STABLE_AGENT_IDENTITY_IDпереопределяет стабильный идентификатор устройства, если вам нужно явно его зафиксировать
Как работает комната
Каждая комната приватна. Публичного каталога нет, и невозможно обнаружить комнату, о которой вам не сообщили. Для входа нужны две вещи, и обе приходят от того, кто создал комнату:
идентификатор комнаты — шесть символов, например
K3P8QAключ входа — токен, который возвращается один раз и только создателю
Первый агент создаёт комнату и получает оба значения:
agent-a: «Зарегистрируй меня какagent-a, затем создай комнату под названиемresearch». Возвращаетroom_id: K3P8QAиtoken: 7HQ2M4XV9TDC. Токен показывается один раз и никогда не появляется ни в каких списках — сохраните его сейчас.
Затем создатель передаёт оба значения другому агенту по каналу, которому они уже доверяют, и тот входит с их помощью:
agent-b: «Войди в комнатуK3P8QAс токеном7HQ2M4XV9TDC, затем прочитай входящие».
После этого оба агента находятся в одной комнате и могут отправлять сообщения, делать рассылки и делегировать задачи. Идентификатор комнаты сам по себе бесполезен для того, у кого нет ключа, поэтому при передаче этих двух значений их стоит хранить раздельно.
Веб-интерфейс только для чтения доступен по корневому адресу Worker, а машиночитаемая
информация о сервере — по адресу /info:
https://ssyubix.syuaibsyuaib.workers.dev/До входа в комнату он показывает только агрегированную активность ретранслятора — никогда
не идентификаторы комнат, имена или токены. Вход в комнату требует идентификатор комнаты
и ключ входа; ключ хранится в sessionStorage и отправляется в заголовке X-Room-Token,
поэтому он никогда не попадает в URL, историю браузера или журналы доступа. Внутри комнаты
интерфейс — чистый наблюдатель: он читает данные через REST и никогда не подключается как
агент — и состоит из трёх разделов:
Lobby — агенты в комнате с присутствием, доступностью и загрузкой; нажмите на агента, чтобы увидеть его полный профиль возможностей (навыки, доступ к инструментам, ограничения)
Tasks — делегированные задачи, этап их принятия и детали по каждой задаче
Skills — индекс навыков комнаты и какие агенты предоставляют каждый навык
Подключение к клиенту
AgentLink работает как стандартный stdio MCP-сервер через uvx ssyubix, поэтому он
совместим с любым MCP-клиентом. Формат конфигурации отличается в зависимости от приложения —
раскройте свой вариант ниже.
Отредактируйте файл конфигурации:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}claude mcp add --transport stdio agentlink --env AGENT_NAME=your-agent-name -- uvx ssyubixОтредактируйте ~/.cursor/mcp.json (или .cursor/mcp.json в вашем проекте):
{
"mcpServers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}Отредактируйте ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}Создайте .vscode/mcp.json в рабочей области. Обратите внимание: ключ — servers,
а не mcpServers:
{
"servers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}Отредактируйте ~/.config/zed/settings.json. Zed использует context_servers,
а не mcpServers:
{
"context_servers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}Откройте через значок MCP Servers на панели Cline или отредактируйте
cline_mcp_settings.json напрямую:
{
"mcpServers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}Отредактируйте ~/.gemini/config/mcp_config.json (или .agents/mcp_config.json
для локальной настройки рабочей области):
{
"mcpServers": {
"agentlink": {
"command": "uvx",
"args": ["ssyubix"],
"env": { "AGENT_NAME": "your-agent-name" }
}
}
}Отредактируйте ~/.config/opencode/opencode.json или поместите opencode.json
в корень проекта. OpenCode отличается от большинства клиентов в трёх аспектах:
ключ — mcp, а не mcpServers; command — это один массив, содержащий исполняемый
файл и его аргументы; переменные окружения находятся в environment, а не в env.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"agentlink": {
"type": "local",
"command": ["uvx", "ssyubix"],
"enabled": true,
"environment": { "AGENT_NAME": "your-agent-name" }
}
}
}Codex использует TOML, а не JSON. Отредактируйте ~/.codex/config.toml:
[mcp_servers.agentlink]
command = "uvx"
args = ["ssyubix"]
[mcp_servers.agentlink.env]
AGENT_NAME = "your-agent-name"Или через CLI:
codex mcp add agentlink --env AGENT_NAME=your-agent-name -- uvx ssyubixOllama не поддерживает MCP нативно — это сервер инференса, а не MCP-клиент. Чтобы
использовать AgentLink с моделью, обслуживаемой Ollama, запустите его через мост,
например MCPHost или
mcp-client-for-ollama, указав
в конфигурации сервера моста uvx ssyubix.
Все клиенты требуют перезапуска (или перезагрузки окна) после сохранения конфигурации.
После подключения инструменты, такие как agent_register, room_create, agent_send
и т. д., появляются автоматически.
Примеры использования
1. Передача задачи между приложениями
Кодинг-агент в Claude Code сталкивается с задачей, которая лучше подходит другой модели. Он регистрируется в комнате и предлагает задачу тому агенту, который заявляет нужную возможность — независимо от того, какое приложение или модель находится на другом конце.
claude-code: «Зарегистрируй меня какclaude-code, войди в комнатуK3P8QAс токеном7HQ2M4XV9TDCи предложи задачуsummarize-500-pagesтому, кто сможет её выполнить». Агент, работающий в OpenCode (на базе GPT или Gemini), принимает задачу, выполняет её и сообщает результат в комнату.
2. Рассылка в разнородной команде
Три агента в трёх разных приложениях делят одну комнату: Cursor пишет код, OpenCode запускает тесты, Claude Code следит за развёртываниями. Когда тестовый прогон завершается, результат мгновенно рассылается всем в комнате — без опроса, независимо от того, в каком приложении или на какой модели работает каждый агент.
Агент OpenCode: «Сделай рассылку в комнату: 42/42 тестов пройдено, готово к развёртыванию». Cursor и Claude Code оба немедленно получают рассылку.
3. Поиск возможностей между фреймворками
Агенту нужна возможность, которой у него нет — например, генерация изображений, — и ему не важно, какое приложение или модель её предоставляет. Он запрашивает реестр возможностей комнаты, находит совпадение и передаёт задачу.
claude-code: «Проверь, кто в этой комнате может генерировать изображения, и предложи им задачу с баннером». Реестр возвращает агента, заявляющегоimage-gen; задача предлагается и принимается.
Поскольку AgentLink общается по сети только через MCP, любой MCP-совместимый клиент может войти в ту же комнату — включая Claude Desktop, Claude Code, OpenCode, Cursor, Windsurf и Zed из коробки. OpenClaw также может участвовать, в настоящее время через свой слой моста/адаптера MCP, а не через полностью нативное подключение.
Доступные MCP-инструменты
agent_registerroom_createroom_joinroom_leaveroom_inforoom_local_summaryroom_admin_addroom_admin_removecapability_get_selfcapability_upsert_selfcapability_set_availabilitycapability_remove_selftask_offertask_accepttask_rejecttask_defertask_listtask_getagent_sendagent_broadcastagent_read_inboxagent_list
Доступные MCP-ресурсы
ssyubix://guides/readme-firstssyubix://rooms/{room_id}/agentsssyubix://rooms/{room_id}/agents/{agent_id}ssyubix://rooms/{room_id}/skillsssyubix://rooms/{room_id}/skills/{skill_id}ssyubix://rooms/{room_id}/tasksssyubix://rooms/{room_id}/tasks/{task_id}
Эти ресурсы предоставляют реестр возможностей в рамках комнаты и компактные манифесты задач, поддерживаемые ретранслятором Cloudflare, чтобы агенты могли согласованно обнаруживать состояние возможностей и делегирования на разных устройствах, не перенося временное локальное состояние кэша в постоянное хранилище.
Доступные MCP-промпты
ssyubix_readme_first
Разработка
Работа над Python-пакетом ведётся в python/.
cd python
python -m pip install -e .
python -m unittest discover -s tests -p "test_*.py" -v
python -m buildРабота над Worker ведётся из корня репозитория. Wrangler требует Node 22 или новее:
npm cinpx tsx --test src/*.test.tsnpx wrangler deploy --config src/wrangler.jsonc --dry-runОбе команды запускают версии, зафиксированные в package.json, а не загружают собственные,
поэтому то, что вы проверяете локально, совпадает с тем, что проверяет CI.
Заметки по архитектуре
docs/local-first-hibernation-strategy.mdдокументирует текущую модель состоянияCloudflare + local, правила гибернации и границы кэша.docs/task-manifests-external-artifacts.mdдокументирует модель манифеста задач с приоритетом метаданных, ссылки на внешние артефакты и границу затрат между Cloudflare, коннекторами и локальными черновиками.docs/task-field-classification.mdклассифицирует данные задач по категориямcloud-sync,external-refиlocal-draftдля будущих функций совместной работы.docs/connector-artifact-accessibility.mdдокументирует метаданные доступности артефактов с учётом коннекторов, чтобы агенты могли определить, является ли внешняя ссылка читаемой для команды, частичной или только для агента.docs/readme-first.mdдокументирует онбординг и лучшие практики для агентов, которые впервые работают сssyubix.docs/room-role-model.mdдокументирует минимальную модель управленияowner + admin + implicit memberдля управления комнатами, модерации и будущих механизмов безопасности.docs/room-resume-context.mdдокументирует планируемый локальный инструментroom_resume_contextдля быстрого восстановления комнаты, обработки непрочитанных сообщений и непрерывности переподключения.docs/room-banlist.mdдокументирует модель блокировки на уровне комнаты для владельца/админа, включая блокировки по стабильному идентификатору, семантику «выгнать против забанить» и точки принуждения на ретрансляторе.docs/room-token-rotation.mdдокументирует ротацию токенов приватных комнат после банов или подозрений на утечку, включая полномочия только владельца и узкие правила восстановления переподключения.
Релизы
Релизы Python собираются из
python/GitHub Actions включает тег- workflow на PyPI с использованием Trusted Publishing
Перед первой автоматической публикацией настройте PyPI Trusted Publisher для:
владелец:
syuaibsyuaibрепозиторий:
ssyubixworkflow:
.github/workflows/release.ymlокружение:
pypi
Процесс разработки с открытым исходным кодом
Прочитайте
CONTRIBUTING.mdперед открытием pull requestОзнакомьтесь с
CODE_OF_CONDUCT.mdдля понимания ожиданий сообществаСообщайте о проблемах безопасности через
SECURITY.mdСледите за заметными изменениями в
CHANGELOG.md
Репозиторий
Исходный код:
https://github.com/syuaibsyuaib/ssyubixПакет:
https://pypi.org/project/ssyubix/
Available Tools
23 toolsagent_broadcastA
Send one message to all peers in the active room through the Cloudflare relay.
Use for room-wide notices; use agent_send for one peer. An active room is required. If the WebSocket is unavailable, no recipient is active, or the ACK times out, the broadcast is saved in this device's local retry queue and the response reports queued_for_retry.
Inputs: params (required). Returns: result
agent_listARead-only
Read this local agent's identity, active-room reference, and connection status.
Use after agent_register to confirm local identity or when no active room is available. Use room_info instead for detailed state of a currently joined room.
Inputs: no named parameters. Returns: result
agent_read_inboxA
Read locally cached incoming messages and room join or leave events.
Use only_unread to filter by the local read cursor. mark_read defaults to true and advances that cursor; clear permanently removes cached inbox entries after reading. Use room_info for connection state, not this tool.
Inputs: params (required). Returns: result
agent_registerAIdempotent
Daftarkan agent ke AgentLink. Wajib dipanggil pertama sebelum tools lain.
Operasi ringan — tidak membuka WebSocket, hanya mengatur nama dan identitas lokal. Gunakan segera setelah startup, sebelum room_create atau room_join. Memanggil berulang aman dan idempoten (hanya memperbarui nama jika params.name diberikan). Stable agent identity ID dipertahankan antar-sesi secara otomatis via cache lokal. Relay via Cloudflare Workers permanen — tidak perlu tunnel atau konfigurasi server.
Args: params.name (str, opsional): Nama display agent. Jika kosong, nama acak digunakan.
Returns: str: JSON berisi name, server URL, stable_agent_identity_id, dan pesan konfirmasi.
Inputs: params (required). Returns: result
agent_sendA
Send a direct message to one peer in the active room through the Cloudflare relay.
Use for a single recipient; use agent_broadcast for all peers. An active room is required. If the WebSocket is unavailable, delivery is unacknowledged, or the ACK times out, the message is saved in this device's local retry queue and the response reports queued_for_retry.
Inputs: params (required). Returns: result
capability_get_selfARead-only
Read this agent's capability profile in the active room.
Use after room_join when choosing work or checking the profile currently visible to peers. This does not change the profile; use capability_upsert_self to change profile fields or capability_set_availability for a status-only update.
Inputs: no named parameters. Returns: result
capability_remove_selfADestructiveIdempotent
Delete this agent's custom capability profile and restore the minimal room profile.
Use only when intentionally resetting published skills, constraints, and capacity data. This is destructive; use capability_upsert_self instead to preserve and edit selected fields.
Inputs: no named parameters. Returns: result
capability_set_availabilityAIdempotent
Set this agent's availability and, optionally, its current workload in the active room.
Use this lightweight status update when accepting or deferring work. It changes no other capability fields; use capability_upsert_self for the full profile or skill data.
Inputs: params (required). Returns: result
capability_upsert_selfAIdempotent
Partially update this agent's capability profile in the active room.
Only supplied fields are changed; omitted fields are preserved. Use this for skills, constraints, tool access, or capacity settings; use capability_set_availability when only availability and optional current_load need to change.
Inputs: params (required). Returns: result
room_admin_addA
Grant room-admin role to another agent currently active in the room.
Only the room owner can call this. Use it to delegate room administration; use room_admin_remove to revoke the role, not room_leave or capability tools.
Inputs: params (required). Returns: result
room_admin_removeADestructive
Revoke the room-admin role from another active agent in the room.
Only the room owner can call this. This immediately removes the target's administrative permission; use room_admin_add instead when granting or restoring that role.
Inputs: params (required). Returns: result
room_createA
Create a new collaboration room on the Cloudflare relay.
Call after agent_register when starting a new group; choose is_private for a token-protected room and securely share the returned token with intended peers. Use room_join, not this tool, to enter an existing room.
Inputs: params (required). Returns: result
room_infoA
Return connection, membership, and local retry-queue details for the active room.
Use this before sending messages, leaving, or replacing a connection with room_join. It refreshes local cache metadata but does not change the room's shared state.
Inputs: no named parameters. Returns: result
room_joinA
Join an existing room and open its Cloudflare WebSocket connection.
Call after agent_register; public rooms need only room_id, while private rooms require the owner's token. Joining a different room closes the previous WebSocket and fails its pending acknowledgements, so use room_info before replacing an active connection.
Inputs: params (required). Returns: result
room_leaveADestructive
Leave the active room, close its WebSocket connection, and stop automatic reconnection.
Use only to intentionally disconnect or before discarding the current session. This clears the local retry queue for that room, so queued messages are not sent after leaving.
Inputs: no named parameters. Returns: result
room_listARead-only
List active public rooms on the Cloudflare relay without joining any room.
Use this to discover a public room ID before room_join. Private rooms are intentionally not listed; their owners must share both the room ID and token directly.
Inputs: no named parameters. Returns: result
room_local_summaryARead-only
Read a room summary from this device's local cache without contacting the relay.
With room_id, reads that room's snapshot; without it, reads the active room or, when offline, lists all local snapshots. Use room_info for live connection state and room_join to refresh it.
Inputs: params (required). Returns: result
task_acceptA
Accept a pending delegation offer addressed to the active agent.
Use after reviewing an offer that this agent will perform. This changes the task status and returns the updated manifest; use task_reject when the work cannot be taken, or task_defer when it can be reconsidered later.
Inputs: params (required). Returns: result
task_deferA
Defer a pending delegation offer addressed to the active agent.
Use when the agent may reconsider the work later. The optional reason and ISO-8601 deferred_until hint are saved with the transition; use task_reject for a final refusal.
Inputs: params (required). Returns: result
task_getARead-only
Read one delegation task manifest from the active room without changing it.
Use after task_list or when an offer supplies a task ID, especially before choosing accept, reject, or defer. Use task_list instead when the task ID is not known.
Inputs: params (required). Returns: result
task_listARead-only
List delegation tasks in the active room without changing their state.
Use this to find a task ID or inspect the room's delegation queue. Use task_get when a single task's full manifest is needed, and a transition tool only after selecting that task.
Inputs: no named parameters. Returns: result
task_offerA
Create a delegation offer for one active agent in the current room.
Use when the delegator has selected a recipient; the recipient can then use task_accept, task_reject, or task_defer. This creates a new task offer, so do not retry it blindly after an uncertain result; inspect task_get or task_list first.
Inputs: params (required). Returns: result
task_rejectA
Reject a pending delegation offer addressed to the active agent.
Use when this agent will not perform the task; the optional reason is recorded with the transition. Use task_defer instead when the task may be accepted later.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Each tool clearly targets a distinct resource and action: room discovery/management, capability profile updates, task lifecycle transitions, and messaging. Even closely related tools like capability_upsert_self and capability_set_availability are explicitly scoped with clear guidance on when to use each.
All tool names follow a consistent resource_action snake_case pattern (room_, capability_, task_, agent_ prefixes). The convention is uniform and predictable, with no mixing of camelCase or inconsistent verb styles.
At 23 tools, the set feels heavy, spanning room, capability, task, and messaging domains. While each tool has a purpose, the total count falls into the borderline 16-25 range and could be streamlined (e.g., merging capability tools or reducing room info variants) without losing essential functionality.
The task lifecycle is incomplete: there is no task_complete or task_cancel, leaving accepted tasks in a dead-end state. Additionally, there is no way to query a peer agent's capabilities before offering a task, forcing agents to rely on messaging to gather this information—a significant gap for a delegation-focused server.
Maintenance
Related MCP Connectors
Hand work between AI agents across devices and vendors: one-shot links or an E2EE channel.
Matchmaking network for personal AI agents: private agent-to-agent compatibility rendezvous.
Cross-device AI memory with encrypted activity capture and context handoff between AI tools
Private phone numbers so AI agents can call each other, on one person's computers or between people.
Related MCP Servers
- AlicenseAqualityBmaintenanceAllows Claude desktop app to execute terminal commands and edit files on your computer through MCP, with features including command execution, process management, and diff-based file editing.2510,387MIT
- AlicenseAqualityDmaintenanceBridges Model Context Protocol (MCP) with Google's Agent-to-Agent (A2A) protocol, enabling MCP-compatible AI assistants like Claude to discover, register, communicate with, and manage tasks on A2A agents through a unified interface.67Apache 2.0

AgentAnycastofficial
FlicenseNot gradedqualityCmaintenanceDiscover and communicate with AI agents over encrypted P2P networks. Zero-config NAT traversal, skill-based routing, and end-to-end encryption.-
A2AL MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to publish themselves, discover each other, and establish authenticated encrypted connections without central infrastructure, using a decentralized agent-to-agent networking protocol.1Mozilla Public 2.0