Mastra推出Knowledge智能体知识库
Mastra宣布推出Knowledge,用于将公司文档、政策和决策组织成可供智能体访问的页面。Mastra称,Signals可将相关知识引入智能体上下文并保持更新,带权限范围的工具则允许智能体搜索、读取和写入页面。该功能目前处于alpha阶段,要求使用@mastra/core 1.82.0或更高版本;Mastra计划在后续版本中增加对Notion、Confluence等数据源的导入支持。
Knowledge为Mastra智能体增加了可写入且受权限范围控制的上下文层,区别于通常只读的指令、检索、技能和API工具上下文。
You can now give your agents company-wide context using Knowledge, a shared store of documents, policies, or decisions organized as pages. Knowledge works directly with signals, Mastra's context engineering primitive. Signals bring the right knowledge into an agent's context and keep it current while the agent runs. Agents can also search, read, and write Knowledge with tools, in the scopes they have access to.
Your browser does not support the video tag.A Knowledge scope in Studio, where an agent answers from its pages and a coding agent turns a pinned proposal into a pull request, recorded back on the page as a note.
LLMs know a lot, but they don't know everything. When agents are asked questions, they fall back on training data — which is often wrong. The real answers are usually spread across multiple systems, or in one person's head: why a feature was built a certain way, which policy applies, or what the team has already tried. Giving agents a knowledge base to read and learn from makes them more capable of understanding and answering questions that are specific to you, your business, or product.
#Mastra#Mastra Knowledge#Mastra Signals#Mastra Studio#Mastra Connect