Linglong Agent Service:集中式智能体推理与分布式执行的运行时
Linglong Agent Service: A Runtime for Centralized Agent Reasoning and Distributed Execution
AI 导读
Linglong Agent Service(agentsvc)是一个自托管 HTTP 服务与可嵌入 Python 运行时,把执行位置作为与模型、工具、上下文并列的可配置维度。
正文 · 原文
Abstract:LLM agents can use remote tools and cloud sandboxes, but integrating reasoning, session state, and heterogeneous execution sites remains a runtime design problem. We present Linglong Agent Service (agentsvc), a self-hosted HTTP service and embeddable Python runtime that treats execution site as a configurable dimension alongside model, tools, and context. A parent service retains inference orchestration, tool descriptions, and conversation history; each inference request selects one child environment for file, shell, terminal, and MCP operations. Direct HTTP and child-initiated WebSocket tunnels carry the same application interfaces, including portable request context and centrally managed updates. The normal core path requires no third-party Python packages, with an optional Windows pseudo-terminal dependency. We further present online_debugger as the process-scale special case of execution-site separation: an instrumented program submits exception evidence, executes session-scoped inspection tools inside the incident process, and resumes the same diagnostic session. Its default prompt requires failing-then-passing reproduction evidence for source changes, while runtime patch activation and failed-call recovery remain unimplemented. We explain the design through constrained expected-utility reasoning, compare concrete mechanisms with Hermes Agent, Pi, Codex, and Claude Code, and report implementation and regression-test evidence. The current evidence establishes executable contracts, not performance advantages, repair accuracy, or production recovery. The source code is open source under the MIT license at this https URL.
| Subjects: | Robotics (cs.RO); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.21129 [cs.RO] |
| (or arXiv:2611.21129v2 [cs.RO] for this version) | |
| https://doi.org/10.48550/arXiv.2611.21129 arXiv-issued DOI via DataCite |
Submission history
From: Hua Zhang [view email]
[v1]
Mon, 16 Nov 2026 14:07:45 UTC (213 KB)
[v2]
Thu, 26 Nov 2026 09:47:19 UTC (265 KB)
来源:arXiv cs.AI · arxiv.org