Deployment & operations

Listener tiers, LAN multi-user, outbound Magic Link tunnels, hot-reloaded prompts, GitOps export and backups.

View as Markdown

Three listener tiers

listeners:
  unix_socket: "~/.kernuq/run/kernuq.sock"   # L1: local pipe bound to the real OS user (0600)
  http:
    bind: "127.0.0.1:7680"                   # loopback only by default
    lan_mdns:
      enabled: false                         # L2: advertise kernuq-studio.local for LAN sign-in
  outbound_scoped_tunnel:
    enabled: false                           # L3: project scoped approval / form Magic Links on demand
    magic_link_ttl_minutes: 120
  • L1 local — the owner needs no login.
  • L2 LAN — multi-user office sign-in; enable mDNS and bind to a LAN address.
  • L3 internet — no inbound ports; an outbound tunnel projects read-only / scoped Magic Links with the control plane hard-isolated.

When serving the console over HTTPS, set KERNUQ_CONSOLE_ORIGIN to the full public origin (passkeys depend on it).

Prompts are resources

Kernel prompts live in prompts/system/*.prompt.md and are embedded at compile time as a fallback. At runtime they load by priority — SQLite tuned version → config override → embedded — with fsnotify hot reload:

prompts:
  hot_reload: true
  keep_last_known_good_on_error: true
  override_dir: "~/.kernuq/prompts"

GitOps

kernuq export --db ~/.kernuq/data/kernuq.db --dir ./exported-bundle
git -C ./exported-bundle add -A && git -C ./exported-bundle commit -m "snapshot"
kernuq import --config ./exported-bundle/kernuq.yaml --dry-run --json

Storage and backup

Data lives in ~/.kernuq/data/kernuq.db (SQLite WAL). The authoritative track uses synchronous=FULL for zero loss on power failure. Back up with SQLite’s online backup, or stop the daemon before copying the file.

Proxy

Outbound traffic can be routed through SOCKS5 with bypass rules:

network:
  socks5_proxy:
    enabled: true
    url: "socks5h://127.0.0.1:1080"
    bypass: ["127.0.0.0/8", "10.0.0.0/8", "192.168.0.0/16"]

kernuq 1.0 Release Countdown

—Days
—Hours
—Minutes
—Seconds

告开发者:

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 开发的想法需要交流或者是中转站资源大佬,可以加微信联系,或加体验用户群交流

WeChat user group
WeChat user group
Personal WeChat
Personal WeChat