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...// 等待任务注入...
.well-known/rttp-configuration
{
"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"
}
}
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
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