Skip to main content

AgentLink MCP for cross-device AI agent communication via Cloudflare Workers

Project description

ssyubix

ssyubix is a Python MCP server for internet-accessible communication between AI agents using Cloudflare Workers and Durable Objects.

Install

uvx ssyubix

Claude Desktop Example

{
  "mcpServers": {
    "agentlink": {
      "command": "uvx",
      "args": ["ssyubix"],
      "env": {
        "AGENT_NAME": "my-agent"
      }
    }
  }
}

Environment Variables

  • AGENT_NAME: optional display name for the current agent
  • AGENTLINK_URL: optional override for the default Worker endpoint
  • SSYUBIX_LOCAL_STATE_DIR: optional override for local cache/checkpoint storage
  • SSYUBIX_LOCAL_INBOX_LIMIT: optional max cached inbox entries per room (default 200)
  • SSYUBIX_LOCAL_RETRY_LIMIT: optional max queued outbound retry entries per room (default 50)
  • SSYUBIX_LOCAL_RETRY_MAX_ATTEMPTS: optional max replay attempts for one queued action (default 5)
  • SSYUBIX_LOCAL_RETRY_TTL_SECONDS: optional local retry retention in seconds (default 21600)
  • SSYUBIX_LOCAL_SUMMARY_STALE_SECONDS: optional staleness threshold for local room snapshots (default 900)
  • SSYUBIX_LOCAL_ROOM_CACHE_TTL_SECONDS: optional retention window for one room cache file before it is dropped instead of restored (default 604800)
  • SSYUBIX_LOCAL_ROOM_CACHE_LIMIT: optional max number of room cache files kept per server endpoint (default 50)
  • SSYUBIX_LOCAL_CORRUPT_CACHE_LIMIT: optional max number of quarantined corrupt cache files kept for recovery/debugging (default 20)

Default Worker endpoint:

https://agentlink.syuaibsyuaib.workers.dev

Available Tools

  • agent_register
  • room_create
  • room_join
  • room_leave
  • room_list
  • room_info
  • room_local_summary
  • agent_send
  • agent_broadcast
  • agent_read_inbox
  • agent_list

agent_read_inbox supports local unread tracking with:

  • only_unread: return only entries above the local per-device read cursor
  • mark_read: advance the local per-device read cursor without clearing cloud state

agent_send and agent_broadcast also keep a local retry queue for transient disconnects or zero-recipient deliveries, then replay those actions after reconnect when possible.

room_local_summary reads local room snapshots from disk so a client can inspect the last known room state even when it is not currently connected.

Local room cache files are also compacted and pruned automatically:

  • duplicate inbox entries are compacted on load/save
  • stale room cache files are dropped instead of restored after the retention TTL
  • corrupt cache files are quarantined locally so recovery can continue safely

Development

python -m pip install -e .
python -m unittest discover -s tests -p "test_*.py" -v
python -m build

Source Repository

https://github.com/syuaibsyuaib/ssyubix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssyubix-2.1.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssyubix-2.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file ssyubix-2.1.0.tar.gz.

File metadata

  • Download URL: ssyubix-2.1.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ssyubix-2.1.0.tar.gz
Algorithm Hash digest
SHA256 95a71926f2a506b14852688e37c602da7ff308db627a51bed7c1a5807828fd5e
MD5 9e1ec9686b93fe2f07b4c3ac9cff3b92
BLAKE2b-256 e56dc1cdb5362060348efd37252dec8be8a25cde8974c56b52e1b90877762bc2

See more details on using hashes here.

File details

Details for the file ssyubix-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: ssyubix-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ssyubix-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b93c06ab96a1c0604b5b29b6872f7f2a3c4b33760c0674dc8e2d570d04a8ffd1
MD5 52b1520bdb093c33c7dc0cabc90c1bc4
BLAKE2b-256 01c3b363c2878f44397115d20e1e4ea901cd7a7a6fd19de9fd2343a1d59ee559

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page