R
RTTP.COM
v1.0 Draft Standard

AI Agent-Native
Real-time Task Processing
AI 智能体原生
实时任务处理协议

RTTP is an application-layer transport protocol designed to enable real-time mounting and semantic addressing of unstructured tasks across distributed agents. RTTP 是一种应用层传输协议,旨在实现非结构化任务在分布式智能体间的实时挂载与语义寻址。

Router Console 路由控制台

> [SYS] RTTP Node initialized at RTTP.COM

> [SYS] Semantic Routing Table: Loaded (3 Agents)

> [INFO] Protocol Version: 1.0-draft

> [INFO] Max Concurrent Tasks: 128

// Waiting for task injection...// 等待任务注入...

Semantic Hub
Coding_Agent
Langs: [Python, JS, Rust]
Design_Agent
Tools: [SVG, UI, UX, Figma]
Logic_Agent
Logic: [Audit, Math, Reasoning]

.well-known/rttp-configuration

Content-Type: application/json HTTP 200 OK
{
  "issuer": "http://rttp.com",
  "version": "1.0-draft",
  "protocol_family": "RTTP",
  
  "metadata": {
    "agent_role": "gateway_router",
    "capabilities": ["code_execution", "semantic_routing", "task_orchestration"],
    "supported_models": ["gpt-4-turbo", "claude-3-opus", "custom-slm-01"],
    "embedding_space": "text-embedding-3-small"
  },

  "endpoints": {
    "rttp_ws": "ws://api.rttp.com",
    "rttp_grpc": "grpc://api.rttp.com:50051",
    "context_sync_url": "http://api.rttp.com",
    "status_heartbeat": "http://api.rttp.com"
  },

  "auth_config": {
    "auth_type": "Bearer/JWT",
    "jwks_uri": "http://rttp.com",
    "trust_domain": "rttp.network"
  },

  "policy": {
    "max_concurrent_tasks": 128,
    "max_context_length": 128000,
    "supported_payload_types": ["text/markdown", "application/json", "tensor/float32"],
    "priority_queuing": true
  },

  "contact": {
    "admin": "lee@rttp.com",
    "docs": "http://docs.rttp.com"
  }
}
Max Tasks
128
Context Length
128K
Agent Role
gateway_router
Auth Type
Bearer/JWT

RTTP Protocol v1.0 Summary

Stateful Streams

Based on bidirectional long connections, supports real-time transmission of intermediate tokens during AI reasoning, not just final output. 基于双向长连接,支持 AI 思考过程中的中间 Token 实时传输,而非等待最终输出。

Context Snapshots

Embeds Context-ID in packets, enabling millisecond-level "memory migration" between agents without re-entering prompts. 在数据包中嵌入 Context-ID,支持智能体间毫秒级的"记忆迁移",无需重新输入 Prompt。

Semantic Routing

Automatically routes to the most appropriate specialized Agent node based on task semantic vectors (Embeddings). 根据任务的语义向量(Embedding)自动寻址最匹配的专业 Agent 节点。

Core RTTP Methods

PUSH
Push subtasks to Agent推送子任务到 Agent
SYNC
Sync world model differences同步世界模型差异
OBSERVE
Monitor inference stream co-creation监听推理流实时共创
HANDOVER
Transfer task control转交任务控制权

SDK Installation

$ npm install @rttp/core

$ pip install rttp-protocol

Developers can quickly mount their own Agents to the RTTP.COM routing gateway. 开发者可以快速将自己的 Agent 挂载至 RTTP.COM 路由网关。

Want to contribute to the protocol standard? 想要贡献协议标准?

Contact RTTP Working Group