修改了nanobot,往Hermes agent的风格走,进度1/3

This commit is contained in:
2026-04-20 18:11:14 +08:00
parent cdfc222c9f
commit 36882a7d7b
261 changed files with 12659 additions and 604 deletions

View File

@ -0,0 +1,2 @@
"""Multi-agent coordination layer."""

View File

@ -0,0 +1,2 @@
"""Pluggable multi-agent backends."""

View File

@ -0,0 +1,20 @@
"""Backend interfaces for multi-agent execution."""
from dataclasses import dataclass
from typing import Protocol
@dataclass(slots=True)
class BackendResult:
"""Normalized result returned by a coordination backend."""
success: bool
summary: str
class CoordinationBackend(Protocol):
"""Protocol implemented by pluggable coordination backends."""
def run(self, task: str) -> BackendResult:
"""Execute a team task and return a normalized result."""

View File

@ -0,0 +1,6 @@
"""Swarms backend wrapper for Beaver.
This package is intentionally local to Beaver's coordinator layer.
There is no `third_party/` directory in the new backend layout.
"""

View File

@ -0,0 +1,2 @@
"""Delegation orchestration."""

View File

@ -0,0 +1,2 @@
"""Execution control, retry, and aggregation."""

View File

@ -0,0 +1,2 @@
"""Team planning and execution-plan generation."""

View File

@ -0,0 +1,2 @@
"""Agent registry and descriptors."""

View File

@ -0,0 +1,2 @@
"""Team models and orchestration objects."""