关于这个工具
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
使用分析
信息来源
每条档案都保留来源与最近验证时间。暂无信息来源