
基于LLM结构生成(BAML)、MCP工具和12因素代理原则的构建代理
概览
本仓库分享了我在使用 BAML 时使用的实用模式。注意:API 可能会在未来的小版本中意外发生变化;因此,安装时应有特定的版本约束: 觉得有用吗?在GitHub上给仓库点星以显示支持并关注更新。如果你有问题或想加入讨论,也可以在Discord上找到我! 该项目由Elijas独立维护,与官方BAML项目无关。 * /notebooks:包含精选的Jupyter笔记本,展示关键功能和推荐模式。从这里开始学习baml-agents。* /explorations:包含针对特定或高级用例的原型、测试和示例。内容可能不够精致或不够稳定。请参见探索README。* /baml_agents/devtools:包含用于项目维护、开发工作流和自动化任务(例如更新BAML生成器版本)的辅助脚本。详见开发工具README。
概述(AI 翻译)
基于LLM结构生成(BAML)、MCP工具和12因素代理原则构建代理
本仓库分享了我在使用 BAML 时使用的实用模式。注意:API 可能会在未来的小版本中意外发生变化;因此,安装时应有特定的版本约束:
觉得有用吗?在GitHub上给仓库点星以显示支持并关注更新。如果你有问题或想加入讨论,也可以在Discord上找到我!
免责声明
该项目由Elijas独立维护,与官方BAML项目无关。
仓库结构
/notebooks:核心教程与示例。 包含精选的Jupyter笔记本,展示关键功能和推荐模式。从这里开始学习baml-agents。/explorations:实验性及细分内容。 包含针对特定或高级用例的原型、测试和示例。内容可能不够精致或不够稳定。详见探索README。/baml_agents/devtools:开发工具。 包含项目维护、开发工作流和自动化任务(如更新 BAML 生成器版本)的辅助脚本。详见开发工具 README。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
baml‑agents
Building Agents with LLM structured generation (BAML), MCP Tools, and 12-Factor Agents principles
This repository shares useful patterns I use when working with BAML. Note: The API may unexpectedly change with future minor versions; therefore, install with specific version constraints:
pip install "baml-agents>=0.46.1,<0.47.0"
Found this useful? Star the repo on GitHub to show support and follow for updates. Also, find me on Discord if you have questions or would like to join a discussion!
Disclaimer
This project is maintained independently by Elijas and is not affiliated with the official BAML project.
Repository Structure
/notebooks: Core Tutorials & Examples. Contains curated Jupyter notebooks demonstrating key features and recommended patterns. Start here to learnbaml-agents./explorations: Experimental & Niche Content. Holds prototypes, tests, and examples for specific or advanced use cases. Content may be less polished or stable. See the explorations README./baml_agents/devtools: Developer Utilities. Contains helper scripts for project maintenance, development workflows, and automating tasks (e.g., updating baml generator versions). See the devtools README.
Contents (Core Tutorials)
The primary tutorials are located in the /notebooks directory:
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →