执行场 Compute

智能体的物理手脚——本机、远端 SSH 与 Cloudflare Sandbox 隔离容器电脑,按转子粒度挂载。

以 Markdown 查看

Compute 是 Kernuq 的「器」,把物理执行环境抽象为独立资源 compute://,再编排进 Harness。

三种底座

本机 local_host

uri: "compute://builtin/local-host"
substrate_kind: "local_host"
declared_capabilities: ["exec", "fs_rw", "pty"]
local_host_config:
  workspace_root: "~/.kernuq/workspaces"
  isolate_subprocess: true

远端 SSH remote_ssh

私钥存放在金库,执行时由内核盲注入:

uri: "compute://ssh/prod-order-01"
substrate_kind: "remote_ssh"
remote_ssh_config:
  ssh_vault_uri: "vault://infra/ssh/prod-order-01"
  remote_workdir: "/var/kernuq-ops"
  read_only_guard: true

Cloudflare Sandbox cloudflare_sandbox

基于 Cloudflare Containers 毫秒级拉起隔离 Linux 电脑,支持进程流、/workspace 快照水合、PTY、端口预览与 GUI / CDP 浏览器操控:

uri: "compute://cloudflare/desktop-computer-01"
substrate_kind: "cloudflare_sandbox"
declared_capabilities: ["exec", "fs_rw", "pty", "code_interpreter", "computer_gui", "port_preview"]
cloudflare_sandbox_config:
  gateway_url: "https://kernuq-sandbox-gw.example.workers.dev"
  auth_vault_uri: "vault://secret/cf-sandbox-gateway"
  gateway_contract_version: "kcg_v1"
  image_profile: "desktop-computer"
  idle_sleep_sec: 300

挂载到转子

在 Harness 中通过 compute_binding.compute_uri 选择执行场。同一个 Agent 的不同转子可以运行在不同的机器上。

kernuq schema compute

kernuq 1.0 发布倒计时

—天
—小时
—分钟
—秒

告开发者:

kernuq还在打磨中,我希望发布一个 1.0 版本出来并且开源共享,后续即使版本不升级,用户也能自完善,并且每个运行的 kernuq 实例都是独一无二的生命体。

kernuq 发布以后 Agent开发这行也基本完蛋了,你截止目前看到的所有 Agent 形态,Chatbot,Coding Agent,Working Agent,Cloud Agent, Personal Agent,Swarm Agent 等等的形态都包含,并且实现更轻量更干净,都是一句话的事情,不是吹牛,此话保真,AI 真的是太强大了。

是的,没错,软件行业已经完蛋了, 前端、后端都完蛋了,Agent 开发行业也完蛋了,AI 寄生人类这个说法很游戏很科学,人类还乐此不彼的被 AI 驱使,没办法,这是宿命啊,无法阻挡。

你如果丢给 AI 这个网站的链接,然后许个愿,支付些许 token 费,接下来若干小时 AI 就会造出另外一个 kernuq.

但是,这除了浪费你的 Token,没有什么意义,赶在我的开源之前做出来发布,没意义,除了浪费 Token,喂养 AI,毫无意义,后面还要浪费时间精力来打磨,验证,审核,不如一起完善周边开源生态。当然,如果你要创建一个平行 kernuq,也欢迎一起交流,咱们肯定可以做一些生态共享的合作。

有了 REA,不开源也变开源,所以没必要违抗趋势,等等吧,就几天时间,多刷点红果,几天就过去了。

如果你有 Agent 开发的想法需要交流或者是中转站资源大佬,可以加微信联系,或加体验用户群交流

体验用户群
体验用户群
个人微信
个人微信