I built BHive: a multi-agent framework for Gemini/OpenAI/Anthropic/Ollama. Tear it apart.
说明与用途
BHive 是一个基于 TypeScript 的多代理框架,统一抽象 Gemini、OpenAI、Anthropic 和 Ollama 等 LLM 提供商,支持任务委派和工具调用。
问题
Developers need a flexible, provider-agnostic framework to orchestrate multi-agent workflows with tool calling and delegation across various LLM providers.
结果
BHive provides a unified, extensible framework for multi‑agent LLM workflows, enabling seamless provider switching and task delegation while maintaining high test coverage.
工作流
- Define LLMAdapter interface to abstract provider APIs.
- Implement ToolCallingParser to normalize tool‑call formats.
- Create Bee agents that can delegate tasks using createDelegationTool.
- Validate tool calls in Bee execution loop with ToolCallValidator.
- Configure timeout resolution via explicit args, env vars, or defaults.
- Run tests to ensure 98% coverage.
- Seek community feedback on security model, delegation abstraction, and repo structure.
证据
BHive is a multi-agent framework in TypeScript. Agents (“Bees”) can delegate tasks to each other, call tools, and it works with any LLM provider — Gemini, OpenAI, Anthropic, or local Ollama — through the same code.
- 记录日期: 2026-09-22T20:45:51.702Z