SuperAPIAI Directory

cloud-agent vs ArkClaw

Metrics & specs comparison

cloud-agent

cloud-agent is a TypeScript agent runtime and multi-protocol LLM client for multi-replica cloud services, open-sourced by nia-teams. It primarily addresses the problems of session mutual exclusion, streaming reconnection, and crash recovery when agents run across multiple service replicas: the same session executes on only one replica at a time, and messages received by other replicas enter a pending queue; openSnapshotStream first sends a session snapshot, then pushes real-time incremental events; upon receiving SIGTERM it waits for in-progress turns to finish, and after an abnormal crash another replica takes over the session once the lease expires and recovers unfinished sub-agents from checkpoints. The project also uses MediaStore and MediaRef to separate media storage from model transmission for multimodal tool outputs; session history retains only lightweight references, which are resolved before each request according to the current model's mediaInput transport method, and base64 media has a 20 MiB raw byte budget. The repository contains two packages, @nia-teams/agent-core and @nia-teams/ai, and provides quick examples of the single-process AgentRuntime and the HTTP service AgentHost. Running requires Node.js 20 or above (ESM); examples must be run with tsx or built with tsc first; the project does not bundle a database, cache, or HTTP framework driver, multi-process deployment requires integrating a shared adapter yourself, and it does not manage model aliases, billing, or credentials; HTTP authentication, session ownership validation, and rate limiting must be implemented at the service layer.

Dimensioncloud-agentArkClaw
CategoryAI agentsAI agents
Monthly visits—
5.7M
MoM—-21.7%
Global rank—#7,105
Avg. visit—6m 14s
AI referrals—0.6%
Pricing开源项目(可免费自部署)开源项目(可免费自部署)
Platforms—Web · API
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools