關於這個工具
Dawn AI 是 LangGraph.js 的 TypeScript 元框架,用於建構 TypeScript 代理應用。
核心能力
- 檔案系統路由:路由基於檔案系統結構定義,支援動態區段(如
[tenant]、[segment]),動態區段會保留在路由 ID 中並暴露在生成的路由參數裡。 - 路由本地工具:工具與代理放在一起(例如
tools/greet),Dawn 在建置時將它們接入生成的圖。 - 自動生成的型別:路由與工具的型別自動生成,工具上下文
DawnToolContext來自@dawn-ai/sdk,攜帶signal、middleware?和fs。 - 持久化執行緒:支援持久化執行緒,
dawn run會將路由解析為<routeId>#<kind>助手 ID,為呼叫建立執行緒 ID,透過 Agent Protocol 發送輸入並列印最終狀態。 - 多代理協作:父代理可透過任務工具呼叫子代理,並接收子代理的最終文字作為工具結果。
- 記憶儲存:
@dawn-ai/memory-pgvector提供共享的 Postgres 儲存和向量候選檢索。 - 協議支援:暴露 Agent Protocol 和 AG-UI。
快速開始
npm create dawn-ai-app@latest my-agent
技術特性
- 內建 OpenAI 整合作為預設路徑。
- 支援推理配置(
ReasoningConfig從@dawn-ai/sdk匯出),例如reasoning: { effort: "high" }。 - 支援工具呼叫的人工審批(human approval per call)。
- 提供
--dry-run選項,不建立模型也不執行寫入。 - 開源,提供公共 API。
功能與使用情境
- **research** - Find relevant policy and product documentation before a support reply- /research (agent) - /research/subagents/researcher (agent) bash npm test Runs both packages' suites--dry-run creates no model and performs no write;, where ctx is DawnToolContext from @dawn-ai/sdk — carrying signal, middleware?, and fs: src/app/(public)/hello/[tenant]/tools/greet" } } return true } export default agent({ model: "gpt-5-mini", systemPrompt: "Coordinate support work", }) // child export default agent({ model: "gpt-5-mini", reasoning: { effort: "high" }, systemPrompt: "Analyze the evidence carefully", }) Dawn includes the OpenAI integration for the default path", }) ReasoningConfig is exported from @dawn-ai/sdk", }) The parent receives the child's final text as the tool result", }) Tools live next to the agent — index", }) When the parent route runs, Dawn exposes a task tool) A minimal tool src/app/(public)/hello/[tenant]/tools/greet
使用分析
資訊來源
每筆檔案都保留來源與最近驗證時間。暫無資訊來源