examples

command
v0.0.0-...-1c978d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

examples/main.go:从一份 YAML 拉起整个应用。

  • serving.addr 未配置 → CLI REPL(ask_user/审批走终端);
  • serving.addr 配置了 → Gateway 模式(HTTP/SSE + A2A + IM webhook)。

Directories

Path Synopsis
examples/embedded demonstrates single-binary deployment: the entire config tree (app.yaml, agents, namespaces, prompt files) is compiled into the binary with //go:embed and loaded via config.LoadAppFS — with zero dependence on the filesystem or the process working directory.
examples/embedded demonstrates single-binary deployment: the entire config tree (app.yaml, agents, namespaces, prompt files) is compiled into the binary with //go:embed and loaded via config.LoadAppFS — with zero dependence on the filesystem or the process working directory.
backend.go:内置 mock 业务后端(商品/库存/销售/订单/客户)。
backend.go:内置 mock 业务后端(商品/库存/销售/订单/客户)。
examples/pipeline —— 无脑硬编排样例:把多个 agent 串成固定流程。
examples/pipeline —— 无脑硬编排样例:把多个 agent 串成固定流程。
examples/superpowers:把 obra/superpowers 技能集拉起为**可交互的研发教练** (smoke.yaml 保持纯测试用途,本 runner 独立)。
examples/superpowers:把 obra/superpowers 技能集拉起为**可交互的研发教练** (smoke.yaml 保持纯测试用途,本 runner 独立)。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL