agentpool 2.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agentpool-2.1.3/LICENSE +22 -0
- agentpool-2.1.3/PKG-INFO +342 -0
- agentpool-2.1.3/README.md +211 -0
- agentpool-2.1.3/pyproject.toml +463 -0
- agentpool-2.1.3/src/acp/README.md +64 -0
- agentpool-2.1.3/src/acp/__init__.py +172 -0
- agentpool-2.1.3/src/acp/__main__.py +10 -0
- agentpool-2.1.3/src/acp/acp_requests.py +285 -0
- agentpool-2.1.3/src/acp/agent/__init__.py +6 -0
- agentpool-2.1.3/src/acp/agent/connection.py +255 -0
- agentpool-2.1.3/src/acp/agent/implementations/__init__.py +6 -0
- agentpool-2.1.3/src/acp/agent/implementations/debug_server/__init__.py +1 -0
- agentpool-2.1.3/src/acp/agent/implementations/debug_server/cli.py +78 -0
- agentpool-2.1.3/src/acp/agent/implementations/debug_server/debug.html +234 -0
- agentpool-2.1.3/src/acp/agent/implementations/debug_server/debug_server.py +495 -0
- agentpool-2.1.3/src/acp/agent/implementations/testing.py +91 -0
- agentpool-2.1.3/src/acp/agent/protocol.py +65 -0
- agentpool-2.1.3/src/acp/bridge/README.md +162 -0
- agentpool-2.1.3/src/acp/bridge/__init__.py +6 -0
- agentpool-2.1.3/src/acp/bridge/__main__.py +90 -0
- agentpool-2.1.3/src/acp/bridge/bridge.py +246 -0
- agentpool-2.1.3/src/acp/bridge/py.typed +0 -0
- agentpool-2.1.3/src/acp/bridge/settings.py +15 -0
- agentpool-2.1.3/src/acp/client/__init__.py +7 -0
- agentpool-2.1.3/src/acp/client/connection.py +250 -0
- agentpool-2.1.3/src/acp/client/implementations/__init__.py +7 -0
- agentpool-2.1.3/src/acp/client/implementations/default_client.py +185 -0
- agentpool-2.1.3/src/acp/client/implementations/headless_client.py +266 -0
- agentpool-2.1.3/src/acp/client/implementations/noop_client.py +110 -0
- agentpool-2.1.3/src/acp/client/protocol.py +61 -0
- agentpool-2.1.3/src/acp/connection.py +264 -0
- agentpool-2.1.3/src/acp/exceptions.py +46 -0
- agentpool-2.1.3/src/acp/filesystem.py +683 -0
- agentpool-2.1.3/src/acp/notifications.py +832 -0
- agentpool-2.1.3/src/acp/py.typed +0 -0
- agentpool-2.1.3/src/acp/schema/__init__.py +249 -0
- agentpool-2.1.3/src/acp/schema/agent_plan.py +30 -0
- agentpool-2.1.3/src/acp/schema/agent_requests.py +126 -0
- agentpool-2.1.3/src/acp/schema/agent_responses.py +251 -0
- agentpool-2.1.3/src/acp/schema/base.py +39 -0
- agentpool-2.1.3/src/acp/schema/capabilities.py +230 -0
- agentpool-2.1.3/src/acp/schema/client_requests.py +230 -0
- agentpool-2.1.3/src/acp/schema/client_responses.py +96 -0
- agentpool-2.1.3/src/acp/schema/common.py +81 -0
- agentpool-2.1.3/src/acp/schema/content_blocks.py +188 -0
- agentpool-2.1.3/src/acp/schema/mcp.py +82 -0
- agentpool-2.1.3/src/acp/schema/messages.py +171 -0
- agentpool-2.1.3/src/acp/schema/notifications.py +82 -0
- agentpool-2.1.3/src/acp/schema/protocol_stuff.md +3 -0
- agentpool-2.1.3/src/acp/schema/session_state.py +81 -0
- agentpool-2.1.3/src/acp/schema/session_updates.py +401 -0
- agentpool-2.1.3/src/acp/schema/slash_commands.py +51 -0
- agentpool-2.1.3/src/acp/schema/terminal.py +15 -0
- agentpool-2.1.3/src/acp/schema/tool_call.py +347 -0
- agentpool-2.1.3/src/acp/stdio.py +310 -0
- agentpool-2.1.3/src/acp/task/__init__.py +53 -0
- agentpool-2.1.3/src/acp/task/debug.py +197 -0
- agentpool-2.1.3/src/acp/task/dispatcher.py +93 -0
- agentpool-2.1.3/src/acp/task/queue.py +69 -0
- agentpool-2.1.3/src/acp/task/sender.py +78 -0
- agentpool-2.1.3/src/acp/task/state.py +87 -0
- agentpool-2.1.3/src/acp/task/supervisor.py +93 -0
- agentpool-2.1.3/src/acp/terminal_handle.py +30 -0
- agentpool-2.1.3/src/acp/tool_call_reporter.py +199 -0
- agentpool-2.1.3/src/acp/tool_call_state.py +212 -0
- agentpool-2.1.3/src/acp/transports.py +112 -0
- agentpool-2.1.3/src/acp/utils.py +240 -0
- agentpool-2.1.3/src/agentpool/__init__.py +63 -0
- agentpool-2.1.3/src/agentpool/__main__.py +7 -0
- agentpool-2.1.3/src/agentpool/agents/__init__.py +30 -0
- agentpool-2.1.3/src/agentpool/agents/acp_agent/__init__.py +5 -0
- agentpool-2.1.3/src/agentpool/agents/acp_agent/acp_agent.py +764 -0
- agentpool-2.1.3/src/agentpool/agents/acp_agent/acp_converters.py +293 -0
- agentpool-2.1.3/src/agentpool/agents/acp_agent/client_handler.py +315 -0
- agentpool-2.1.3/src/agentpool/agents/acp_agent/session_state.py +44 -0
- agentpool-2.1.3/src/agentpool/agents/agent.py +1207 -0
- agentpool-2.1.3/src/agentpool/agents/agui_agent/__init__.py +24 -0
- agentpool-2.1.3/src/agentpool/agents/agui_agent/agui_agent.py +630 -0
- agentpool-2.1.3/src/agentpool/agents/agui_agent/agui_converters.py +421 -0
- agentpool-2.1.3/src/agentpool/agents/agui_agent/chunk_transformer.py +204 -0
- agentpool-2.1.3/src/agentpool/agents/agui_agent/event_types.py +83 -0
- agentpool-2.1.3/src/agentpool/agents/agui_agent/helpers.py +192 -0
- agentpool-2.1.3/src/agentpool/agents/architect.py +71 -0
- agentpool-2.1.3/src/agentpool/agents/base_agent.py +148 -0
- agentpool-2.1.3/src/agentpool/agents/claude_code_agent/__init__.py +11 -0
- agentpool-2.1.3/src/agentpool/agents/claude_code_agent/claude_code_agent.py +1001 -0
- agentpool-2.1.3/src/agentpool/agents/claude_code_agent/converters.py +290 -0
- agentpool-2.1.3/src/agentpool/agents/context.py +105 -0
- agentpool-2.1.3/src/agentpool/agents/events/__init__.py +53 -0
- agentpool-2.1.3/src/agentpool/agents/events/builtin_handlers.py +131 -0
- agentpool-2.1.3/src/agentpool/agents/events/event_emitter.py +320 -0
- agentpool-2.1.3/src/agentpool/agents/events/events.py +561 -0
- agentpool-2.1.3/src/agentpool/agents/interactions.py +419 -0
- agentpool-2.1.3/src/agentpool/agents/slashed_agent.py +243 -0
- agentpool-2.1.3/src/agentpool/agents/sys_prompts.py +178 -0
- agentpool-2.1.3/src/agentpool/agents/tool_wrapping.py +184 -0
- agentpool-2.1.3/src/agentpool/base_provider.py +28 -0
- agentpool-2.1.3/src/agentpool/common_types.py +226 -0
- agentpool-2.1.3/src/agentpool/config_resources/__init__.py +16 -0
- agentpool-2.1.3/src/agentpool/config_resources/acp_assistant.yml +20 -0
- agentpool-2.1.3/src/agentpool/config_resources/agents.yml +109 -0
- agentpool-2.1.3/src/agentpool/config_resources/agents_template.yml +18 -0
- agentpool-2.1.3/src/agentpool/config_resources/agui_test.yml +18 -0
- agentpool-2.1.3/src/agentpool/config_resources/claude_code_agent.yml +16 -0
- agentpool-2.1.3/src/agentpool/config_resources/claude_style_subagent.md +30 -0
- agentpool-2.1.3/src/agentpool/config_resources/external_acp_agents.yml +77 -0
- agentpool-2.1.3/src/agentpool/config_resources/opencode_style_subagent.md +19 -0
- agentpool-2.1.3/src/agentpool/config_resources/tts_test_agents.yml +78 -0
- agentpool-2.1.3/src/agentpool/delegation/__init__.py +8 -0
- agentpool-2.1.3/src/agentpool/delegation/base_team.py +503 -0
- agentpool-2.1.3/src/agentpool/delegation/message_flow_tracker.py +39 -0
- agentpool-2.1.3/src/agentpool/delegation/pool.py +1116 -0
- agentpool-2.1.3/src/agentpool/delegation/team.py +324 -0
- agentpool-2.1.3/src/agentpool/delegation/teamrun.py +343 -0
- agentpool-2.1.3/src/agentpool/docs/__init__.py +1 -0
- agentpool-2.1.3/src/agentpool/docs/gen_examples.py +42 -0
- agentpool-2.1.3/src/agentpool/docs/utils.py +240 -0
- agentpool-2.1.3/src/agentpool/functional/__init__.py +20 -0
- agentpool-2.1.3/src/agentpool/functional/py.typed +0 -0
- agentpool-2.1.3/src/agentpool/functional/run.py +80 -0
- agentpool-2.1.3/src/agentpool/functional/structure.py +136 -0
- agentpool-2.1.3/src/agentpool/hooks/__init__.py +20 -0
- agentpool-2.1.3/src/agentpool/hooks/agent_hooks.py +247 -0
- agentpool-2.1.3/src/agentpool/hooks/base.py +119 -0
- agentpool-2.1.3/src/agentpool/hooks/callable.py +140 -0
- agentpool-2.1.3/src/agentpool/hooks/command.py +180 -0
- agentpool-2.1.3/src/agentpool/hooks/prompt.py +122 -0
- agentpool-2.1.3/src/agentpool/jinja_filters.py +132 -0
- agentpool-2.1.3/src/agentpool/log.py +218 -0
- agentpool-2.1.3/src/agentpool/mcp_server/__init__.py +17 -0
- agentpool-2.1.3/src/agentpool/mcp_server/client.py +430 -0
- agentpool-2.1.3/src/agentpool/mcp_server/constants.py +32 -0
- agentpool-2.1.3/src/agentpool/mcp_server/conversions.py +172 -0
- agentpool-2.1.3/src/agentpool/mcp_server/helpers.py +47 -0
- agentpool-2.1.3/src/agentpool/mcp_server/manager.py +231 -0
- agentpool-2.1.3/src/agentpool/mcp_server/message_handler.py +164 -0
- agentpool-2.1.3/src/agentpool/mcp_server/registries/__init__.py +1 -0
- agentpool-2.1.3/src/agentpool/mcp_server/registries/official_registry_client.py +345 -0
- agentpool-2.1.3/src/agentpool/mcp_server/registries/pulsemcp_client.py +88 -0
- agentpool-2.1.3/src/agentpool/mcp_server/tool_bridge.py +461 -0
- agentpool-2.1.3/src/agentpool/messaging/__init__.py +58 -0
- agentpool-2.1.3/src/agentpool/messaging/compaction.py +931 -0
- agentpool-2.1.3/src/agentpool/messaging/connection_manager.py +319 -0
- agentpool-2.1.3/src/agentpool/messaging/context.py +66 -0
- agentpool-2.1.3/src/agentpool/messaging/event_manager.py +426 -0
- agentpool-2.1.3/src/agentpool/messaging/events.py +39 -0
- agentpool-2.1.3/src/agentpool/messaging/message_container.py +209 -0
- agentpool-2.1.3/src/agentpool/messaging/message_history.py +490 -0
- agentpool-2.1.3/src/agentpool/messaging/messagenode.py +377 -0
- agentpool-2.1.3/src/agentpool/messaging/messages.py +655 -0
- agentpool-2.1.3/src/agentpool/messaging/processing.py +76 -0
- agentpool-2.1.3/src/agentpool/mime_utils.py +95 -0
- agentpool-2.1.3/src/agentpool/models/__init__.py +21 -0
- agentpool-2.1.3/src/agentpool/models/acp_agents/__init__.py +22 -0
- agentpool-2.1.3/src/agentpool/models/acp_agents/base.py +308 -0
- agentpool-2.1.3/src/agentpool/models/acp_agents/mcp_capable.py +790 -0
- agentpool-2.1.3/src/agentpool/models/acp_agents/non_mcp.py +842 -0
- agentpool-2.1.3/src/agentpool/models/agents.py +450 -0
- agentpool-2.1.3/src/agentpool/models/agui_agents.py +89 -0
- agentpool-2.1.3/src/agentpool/models/claude_code_agents.py +238 -0
- agentpool-2.1.3/src/agentpool/models/file_agents.py +116 -0
- agentpool-2.1.3/src/agentpool/models/file_parsing.py +367 -0
- agentpool-2.1.3/src/agentpool/models/manifest.py +658 -0
- agentpool-2.1.3/src/agentpool/observability/__init__.py +9 -0
- agentpool-2.1.3/src/agentpool/observability/observability_registry.py +97 -0
- agentpool-2.1.3/src/agentpool/prompts/__init__.py +1 -0
- agentpool-2.1.3/src/agentpool/prompts/base.py +27 -0
- agentpool-2.1.3/src/agentpool/prompts/builtin_provider.py +75 -0
- agentpool-2.1.3/src/agentpool/prompts/conversion_manager.py +95 -0
- agentpool-2.1.3/src/agentpool/prompts/convert.py +96 -0
- agentpool-2.1.3/src/agentpool/prompts/manager.py +204 -0
- agentpool-2.1.3/src/agentpool/prompts/parts/zed.md +33 -0
- agentpool-2.1.3/src/agentpool/prompts/prompts.py +582 -0
- agentpool-2.1.3/src/agentpool/py.typed +0 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/README.md +7 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/arduino-tags.scm +5 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/c-tags.scm +9 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/chatito-tags.scm +16 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/clojure-tags.scm +7 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/commonlisp-tags.scm +122 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/cpp-tags.scm +15 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/csharp-tags.scm +26 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/d-tags.scm +26 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/dart-tags.scm +92 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/elisp-tags.scm +5 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/elixir-tags.scm +54 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/elm-tags.scm +19 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/gleam-tags.scm +41 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/go-tags.scm +42 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/java-tags.scm +20 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/javascript-tags.scm +88 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/lua-tags.scm +34 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/matlab-tags.scm +10 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/ocaml-tags.scm +115 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/ocaml_interface-tags.scm +98 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/pony-tags.scm +39 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/properties-tags.scm +5 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/python-tags.scm +14 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/r-tags.scm +21 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/racket-tags.scm +12 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/ruby-tags.scm +64 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/rust-tags.scm +60 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/solidity-tags.scm +43 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/swift-tags.scm +51 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-language-pack/udev-tags.scm +20 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/README.md +24 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/c-tags.scm +9 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/c_sharp-tags.scm +46 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/cpp-tags.scm +15 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/dart-tags.scm +91 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/elisp-tags.scm +8 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/elixir-tags.scm +54 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/elm-tags.scm +19 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/fortran-tags.scm +15 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/go-tags.scm +30 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/haskell-tags.scm +3 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/hcl-tags.scm +77 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/java-tags.scm +20 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/javascript-tags.scm +88 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/julia-tags.scm +60 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/kotlin-tags.scm +27 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/matlab-tags.scm +10 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/ocaml-tags.scm +115 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/ocaml_interface-tags.scm +98 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/php-tags.scm +26 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/python-tags.scm +12 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/ql-tags.scm +26 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/ruby-tags.scm +64 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/rust-tags.scm +60 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/scala-tags.scm +65 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/typescript-tags.scm +41 -0
- agentpool-2.1.3/src/agentpool/queries/tree-sitter-languages/zig-tags.scm +3 -0
- agentpool-2.1.3/src/agentpool/repomap.py +1022 -0
- agentpool-2.1.3/src/agentpool/resource_providers/__init__.py +17 -0
- agentpool-2.1.3/src/agentpool/resource_providers/aggregating.py +54 -0
- agentpool-2.1.3/src/agentpool/resource_providers/base.py +172 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/__init__.py +9 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/code_executor.py +213 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/default_prompt.py +19 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/helpers.py +83 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/progress_executor.py +211 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/provider.py +150 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/remote_mcp_execution.py +143 -0
- agentpool-2.1.3/src/agentpool/resource_providers/codemode/remote_provider.py +170 -0
- agentpool-2.1.3/src/agentpool/resource_providers/filtering.py +42 -0
- agentpool-2.1.3/src/agentpool/resource_providers/mcp_provider.py +244 -0
- agentpool-2.1.3/src/agentpool/resource_providers/plan_provider.py +196 -0
- agentpool-2.1.3/src/agentpool/resource_providers/pool.py +69 -0
- agentpool-2.1.3/src/agentpool/resource_providers/static.py +289 -0
- agentpool-2.1.3/src/agentpool/running/__init__.py +20 -0
- agentpool-2.1.3/src/agentpool/running/decorators.py +56 -0
- agentpool-2.1.3/src/agentpool/running/discovery.py +101 -0
- agentpool-2.1.3/src/agentpool/running/executor.py +282 -0
- agentpool-2.1.3/src/agentpool/running/injection.py +111 -0
- agentpool-2.1.3/src/agentpool/running/py.typed +0 -0
- agentpool-2.1.3/src/agentpool/running/run_nodes.py +87 -0
- agentpool-2.1.3/src/agentpool/server.py +122 -0
- agentpool-2.1.3/src/agentpool/sessions/__init__.py +13 -0
- agentpool-2.1.3/src/agentpool/sessions/manager.py +302 -0
- agentpool-2.1.3/src/agentpool/sessions/models.py +71 -0
- agentpool-2.1.3/src/agentpool/sessions/session.py +239 -0
- agentpool-2.1.3/src/agentpool/sessions/store.py +163 -0
- agentpool-2.1.3/src/agentpool/skills/__init__.py +5 -0
- agentpool-2.1.3/src/agentpool/skills/manager.py +120 -0
- agentpool-2.1.3/src/agentpool/skills/registry.py +210 -0
- agentpool-2.1.3/src/agentpool/skills/skill.py +36 -0
- agentpool-2.1.3/src/agentpool/storage/__init__.py +17 -0
- agentpool-2.1.3/src/agentpool/storage/manager.py +419 -0
- agentpool-2.1.3/src/agentpool/storage/serialization.py +136 -0
- agentpool-2.1.3/src/agentpool/talk/__init__.py +13 -0
- agentpool-2.1.3/src/agentpool/talk/registry.py +128 -0
- agentpool-2.1.3/src/agentpool/talk/stats.py +159 -0
- agentpool-2.1.3/src/agentpool/talk/talk.py +604 -0
- agentpool-2.1.3/src/agentpool/tasks/__init__.py +20 -0
- agentpool-2.1.3/src/agentpool/tasks/exceptions.py +25 -0
- agentpool-2.1.3/src/agentpool/tasks/registry.py +33 -0
- agentpool-2.1.3/src/agentpool/testing.py +129 -0
- agentpool-2.1.3/src/agentpool/text_templates/__init__.py +39 -0
- agentpool-2.1.3/src/agentpool/text_templates/system_prompt.jinja +30 -0
- agentpool-2.1.3/src/agentpool/text_templates/tool_call_default.jinja +13 -0
- agentpool-2.1.3/src/agentpool/text_templates/tool_call_markdown.jinja +25 -0
- agentpool-2.1.3/src/agentpool/text_templates/tool_call_simple.jinja +5 -0
- agentpool-2.1.3/src/agentpool/tools/__init__.py +16 -0
- agentpool-2.1.3/src/agentpool/tools/base.py +264 -0
- agentpool-2.1.3/src/agentpool/tools/exceptions.py +9 -0
- agentpool-2.1.3/src/agentpool/tools/manager.py +255 -0
- agentpool-2.1.3/src/agentpool/tools/tool_call_info.py +87 -0
- agentpool-2.1.3/src/agentpool/ui/__init__.py +2 -0
- agentpool-2.1.3/src/agentpool/ui/base.py +89 -0
- agentpool-2.1.3/src/agentpool/ui/mock_provider.py +81 -0
- agentpool-2.1.3/src/agentpool/ui/stdlib_provider.py +150 -0
- agentpool-2.1.3/src/agentpool/utils/__init__.py +44 -0
- agentpool-2.1.3/src/agentpool/utils/baseregistry.py +185 -0
- agentpool-2.1.3/src/agentpool/utils/count_tokens.py +62 -0
- agentpool-2.1.3/src/agentpool/utils/dag.py +184 -0
- agentpool-2.1.3/src/agentpool/utils/importing.py +206 -0
- agentpool-2.1.3/src/agentpool/utils/inspection.py +334 -0
- agentpool-2.1.3/src/agentpool/utils/model_capabilities.py +25 -0
- agentpool-2.1.3/src/agentpool/utils/network.py +28 -0
- agentpool-2.1.3/src/agentpool/utils/now.py +22 -0
- agentpool-2.1.3/src/agentpool/utils/parse_time.py +87 -0
- agentpool-2.1.3/src/agentpool/utils/result_utils.py +35 -0
- agentpool-2.1.3/src/agentpool/utils/signatures.py +305 -0
- agentpool-2.1.3/src/agentpool/utils/streams.py +97 -0
- agentpool-2.1.3/src/agentpool/utils/tasks.py +182 -0
- agentpool-2.1.3/src/agentpool/vfs_registry.py +250 -0
- agentpool-2.1.3/src/agentpool_cli/__init__.py +34 -0
- agentpool-2.1.3/src/agentpool_cli/__main__.py +66 -0
- agentpool-2.1.3/src/agentpool_cli/agent.py +175 -0
- agentpool-2.1.3/src/agentpool_cli/cli_types.py +23 -0
- agentpool-2.1.3/src/agentpool_cli/common.py +175 -0
- agentpool-2.1.3/src/agentpool_cli/create.py +175 -0
- agentpool-2.1.3/src/agentpool_cli/history.py +212 -0
- agentpool-2.1.3/src/agentpool_cli/log.py +78 -0
- agentpool-2.1.3/src/agentpool_cli/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_cli/run.py +84 -0
- agentpool-2.1.3/src/agentpool_cli/serve_acp.py +177 -0
- agentpool-2.1.3/src/agentpool_cli/serve_api.py +69 -0
- agentpool-2.1.3/src/agentpool_cli/serve_mcp.py +74 -0
- agentpool-2.1.3/src/agentpool_cli/serve_vercel.py +234 -0
- agentpool-2.1.3/src/agentpool_cli/store.py +171 -0
- agentpool-2.1.3/src/agentpool_cli/task.py +84 -0
- agentpool-2.1.3/src/agentpool_cli/utils.py +104 -0
- agentpool-2.1.3/src/agentpool_cli/watch.py +54 -0
- agentpool-2.1.3/src/agentpool_commands/__init__.py +180 -0
- agentpool-2.1.3/src/agentpool_commands/agents.py +199 -0
- agentpool-2.1.3/src/agentpool_commands/base.py +45 -0
- agentpool-2.1.3/src/agentpool_commands/commands.py +58 -0
- agentpool-2.1.3/src/agentpool_commands/completers.py +110 -0
- agentpool-2.1.3/src/agentpool_commands/connections.py +175 -0
- agentpool-2.1.3/src/agentpool_commands/markdown_utils.py +31 -0
- agentpool-2.1.3/src/agentpool_commands/models.py +62 -0
- agentpool-2.1.3/src/agentpool_commands/prompts.py +78 -0
- agentpool-2.1.3/src/agentpool_commands/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_commands/read.py +77 -0
- agentpool-2.1.3/src/agentpool_commands/resources.py +210 -0
- agentpool-2.1.3/src/agentpool_commands/session.py +48 -0
- agentpool-2.1.3/src/agentpool_commands/tools.py +269 -0
- agentpool-2.1.3/src/agentpool_commands/utils.py +189 -0
- agentpool-2.1.3/src/agentpool_commands/workers.py +163 -0
- agentpool-2.1.3/src/agentpool_config/__init__.py +53 -0
- agentpool-2.1.3/src/agentpool_config/builtin_tools.py +266 -0
- agentpool-2.1.3/src/agentpool_config/commands.py +237 -0
- agentpool-2.1.3/src/agentpool_config/conditions.py +301 -0
- agentpool-2.1.3/src/agentpool_config/converters.py +30 -0
- agentpool-2.1.3/src/agentpool_config/durable.py +331 -0
- agentpool-2.1.3/src/agentpool_config/event_handlers.py +683 -0
- agentpool-2.1.3/src/agentpool_config/events.py +153 -0
- agentpool-2.1.3/src/agentpool_config/forward_targets.py +251 -0
- agentpool-2.1.3/src/agentpool_config/hook_conditions.py +331 -0
- agentpool-2.1.3/src/agentpool_config/hooks.py +241 -0
- agentpool-2.1.3/src/agentpool_config/jinja.py +206 -0
- agentpool-2.1.3/src/agentpool_config/knowledge.py +41 -0
- agentpool-2.1.3/src/agentpool_config/loaders.py +350 -0
- agentpool-2.1.3/src/agentpool_config/mcp_server.py +243 -0
- agentpool-2.1.3/src/agentpool_config/nodes.py +202 -0
- agentpool-2.1.3/src/agentpool_config/observability.py +191 -0
- agentpool-2.1.3/src/agentpool_config/output_types.py +55 -0
- agentpool-2.1.3/src/agentpool_config/pool_server.py +267 -0
- agentpool-2.1.3/src/agentpool_config/prompt_hubs.py +105 -0
- agentpool-2.1.3/src/agentpool_config/prompts.py +185 -0
- agentpool-2.1.3/src/agentpool_config/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_config/resources.py +33 -0
- agentpool-2.1.3/src/agentpool_config/session.py +119 -0
- agentpool-2.1.3/src/agentpool_config/skills.py +17 -0
- agentpool-2.1.3/src/agentpool_config/storage.py +288 -0
- agentpool-2.1.3/src/agentpool_config/system_prompts.py +190 -0
- agentpool-2.1.3/src/agentpool_config/task.py +162 -0
- agentpool-2.1.3/src/agentpool_config/teams.py +52 -0
- agentpool-2.1.3/src/agentpool_config/tools.py +112 -0
- agentpool-2.1.3/src/agentpool_config/toolsets.py +996 -0
- agentpool-2.1.3/src/agentpool_config/workers.py +86 -0
- agentpool-2.1.3/src/agentpool_prompts/__init__.py +1 -0
- agentpool-2.1.3/src/agentpool_prompts/braintrust_hub.py +235 -0
- agentpool-2.1.3/src/agentpool_prompts/fabric.py +75 -0
- agentpool-2.1.3/src/agentpool_prompts/langfuse_hub.py +80 -0
- agentpool-2.1.3/src/agentpool_prompts/promptlayer_provider.py +60 -0
- agentpool-2.1.3/src/agentpool_prompts/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_server/__init__.py +9 -0
- agentpool-2.1.3/src/agentpool_server/a2a_server/__init__.py +5 -0
- agentpool-2.1.3/src/agentpool_server/a2a_server/a2a_types.py +41 -0
- agentpool-2.1.3/src/agentpool_server/a2a_server/server.py +190 -0
- agentpool-2.1.3/src/agentpool_server/a2a_server/storage.py +81 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/__init__.py +22 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/acp_agent.py +788 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/acp_tools.py +43 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/__init__.py +18 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/acp_commands.py +594 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/debug_commands.py +376 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/__init__.py +39 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/fetch_repo.py +169 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/get_schema.py +176 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/get_source.py +110 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/git_diff.py +111 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/helpers.py +33 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/docs_commands/url_to_markdown.py +90 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/commands/spawn.py +210 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/converters.py +235 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/input_provider.py +338 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/server.py +288 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/session.py +880 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/session_manager.py +301 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/syntax_detection.py +250 -0
- agentpool-2.1.3/src/agentpool_server/acp_server/zed_tools.md +90 -0
- agentpool-2.1.3/src/agentpool_server/aggregating_server.py +309 -0
- agentpool-2.1.3/src/agentpool_server/agui_server/__init__.py +11 -0
- agentpool-2.1.3/src/agentpool_server/agui_server/server.py +128 -0
- agentpool-2.1.3/src/agentpool_server/base.py +189 -0
- agentpool-2.1.3/src/agentpool_server/http_server.py +164 -0
- agentpool-2.1.3/src/agentpool_server/mcp_server/__init__.py +6 -0
- agentpool-2.1.3/src/agentpool_server/mcp_server/server.py +314 -0
- agentpool-2.1.3/src/agentpool_server/mcp_server/zed_wrapper.py +110 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/__init__.py +5 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/completions/__init__.py +1 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/completions/helpers.py +81 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/completions/models.py +98 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/responses/__init__.py +1 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/responses/helpers.py +74 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/responses/models.py +96 -0
- agentpool-2.1.3/src/agentpool_server/openai_api_server/server.py +243 -0
- agentpool-2.1.3/src/agentpool_server/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_storage/__init__.py +9 -0
- agentpool-2.1.3/src/agentpool_storage/base.py +310 -0
- agentpool-2.1.3/src/agentpool_storage/file_provider.py +378 -0
- agentpool-2.1.3/src/agentpool_storage/formatters.py +129 -0
- agentpool-2.1.3/src/agentpool_storage/memory_provider.py +396 -0
- agentpool-2.1.3/src/agentpool_storage/models.py +108 -0
- agentpool-2.1.3/src/agentpool_storage/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_storage/session_store.py +262 -0
- agentpool-2.1.3/src/agentpool_storage/sql_provider/__init__.py +21 -0
- agentpool-2.1.3/src/agentpool_storage/sql_provider/cli.py +146 -0
- agentpool-2.1.3/src/agentpool_storage/sql_provider/models.py +249 -0
- agentpool-2.1.3/src/agentpool_storage/sql_provider/queries.py +15 -0
- agentpool-2.1.3/src/agentpool_storage/sql_provider/sql_provider.py +444 -0
- agentpool-2.1.3/src/agentpool_storage/sql_provider/utils.py +234 -0
- agentpool-2.1.3/src/agentpool_storage/text_log_provider.py +275 -0
- agentpool-2.1.3/src/agentpool_toolsets/__init__.py +15 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/__init__.py +31 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/agent_management.py +239 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/chain.py +287 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/code.py +401 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/execution_environment.py +392 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/file_edit/__init__.py +11 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/file_edit/file_edit.py +747 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/file_edit/fuzzy_matcher/__init__.py +5 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/file_edit/fuzzy_matcher/example_usage.py +311 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/file_edit/fuzzy_matcher/streaming_fuzzy_matcher.py +443 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/history.py +36 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/integration.py +85 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/skills.py +77 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/subagent_tools.py +324 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/tool_management.py +90 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/user_interaction.py +52 -0
- agentpool-2.1.3/src/agentpool_toolsets/builtin/workers.py +128 -0
- agentpool-2.1.3/src/agentpool_toolsets/composio_toolset.py +96 -0
- agentpool-2.1.3/src/agentpool_toolsets/config_creation.py +192 -0
- agentpool-2.1.3/src/agentpool_toolsets/entry_points.py +47 -0
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/__init__.py +7 -0
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/diagnostics.py +115 -0
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/grep.py +337 -0
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/helpers.py +239 -0
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/toolset.py +1061 -0
- agentpool-2.1.3/src/agentpool_toolsets/mcp_run_toolset.py +61 -0
- agentpool-2.1.3/src/agentpool_toolsets/notifications.py +146 -0
- agentpool-2.1.3/src/agentpool_toolsets/openapi.py +118 -0
- agentpool-2.1.3/src/agentpool_toolsets/py.typed +0 -0
- agentpool-2.1.3/src/agentpool_toolsets/search_toolset.py +202 -0
- agentpool-2.1.3/src/agentpool_toolsets/semantic_memory_toolset.py +536 -0
- agentpool-2.1.3/src/agentpool_toolsets/vfs_toolset.py +128 -0
agentpool-2.1.3/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024, Philipp Temminghoff
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
agentpool-2.1.3/PKG-INFO
ADDED
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentpool
|
|
3
|
+
Version: 2.1.3
|
|
4
|
+
Summary: Pydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows & Extended ACP / AGUI integration
|
|
5
|
+
Keywords:
|
|
6
|
+
Author: Philipp Temminghoff
|
|
7
|
+
Author-email: Philipp Temminghoff <philipptemminghoff@googlemail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Framework :: Pydantic
|
|
12
|
+
Classifier: Framework :: Pydantic :: 2
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Topic :: Documentation
|
|
21
|
+
Classifier: Topic :: Internet
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
+
Classifier: Topic :: Software Development
|
|
24
|
+
Classifier: Topic :: Utilities
|
|
25
|
+
Classifier: Typing :: Typed
|
|
26
|
+
Requires-Dist: anyenv[httpx]>=0.3.0
|
|
27
|
+
Requires-Dist: docler>=1.0.3
|
|
28
|
+
Requires-Dist: docstring-parser>=0.17.0
|
|
29
|
+
Requires-Dist: epregistry
|
|
30
|
+
Requires-Dist: evented>=1.0.5
|
|
31
|
+
Requires-Dist: exxec>=0.1.0
|
|
32
|
+
Requires-Dist: fastmcp>=2.12.4
|
|
33
|
+
Requires-Dist: fsspec
|
|
34
|
+
Requires-Dist: httpx
|
|
35
|
+
Requires-Dist: jinja2
|
|
36
|
+
Requires-Dist: jinjarope
|
|
37
|
+
Requires-Dist: llmling-models==1.4.1
|
|
38
|
+
Requires-Dist: logfire
|
|
39
|
+
Requires-Dist: mcp>=1.2.0
|
|
40
|
+
Requires-Dist: platformdirs
|
|
41
|
+
Requires-Dist: promptantic>=0.4.5
|
|
42
|
+
Requires-Dist: psygnal>=0.11.1
|
|
43
|
+
Requires-Dist: pydantic>=2.10.0
|
|
44
|
+
Requires-Dist: pydantic-ai-slim>=1.0.0
|
|
45
|
+
Requires-Dist: pydocket==0.16.1
|
|
46
|
+
Requires-Dist: python-dotenv>=1.0.1
|
|
47
|
+
Requires-Dist: rich
|
|
48
|
+
Requires-Dist: schemez[codegen]
|
|
49
|
+
Requires-Dist: searchly[all]>=2.0.1
|
|
50
|
+
Requires-Dist: slashed>=0.1.0
|
|
51
|
+
Requires-Dist: sqlalchemy[aiosqlite]
|
|
52
|
+
Requires-Dist: sqlmodel>=0.0.22
|
|
53
|
+
Requires-Dist: structlog>=25.5.0
|
|
54
|
+
Requires-Dist: tokonomics>=0.1.2
|
|
55
|
+
Requires-Dist: toprompt>=0.0.1
|
|
56
|
+
Requires-Dist: typer
|
|
57
|
+
Requires-Dist: upathtools>=0.1.0
|
|
58
|
+
Requires-Dist: yamling>=2.0.2
|
|
59
|
+
Requires-Dist: fasta2a ; extra == 'a2a'
|
|
60
|
+
Requires-Dist: starlette ; extra == 'a2a'
|
|
61
|
+
Requires-Dist: ag-ui-protocol>=0.1.10 ; extra == 'ag-ui'
|
|
62
|
+
Requires-Dist: braintrust ; extra == 'braintrust'
|
|
63
|
+
Requires-Dist: autoevals ; extra == 'braintrust'
|
|
64
|
+
Requires-Dist: claude-agent-sdk>=0.1.18 ; extra == 'claude'
|
|
65
|
+
Requires-Dist: clipman ; extra == 'clipboard'
|
|
66
|
+
Requires-Dist: rustworkx>=0.17.1 ; extra == 'coding'
|
|
67
|
+
Requires-Dist: grep-ast ; extra == 'coding'
|
|
68
|
+
Requires-Dist: ast-grep-py>=0.40.0 ; extra == 'coding'
|
|
69
|
+
Requires-Dist: tree-sitter>=0.25.2 ; extra == 'coding'
|
|
70
|
+
Requires-Dist: tree-sitter-python>=0.25.0 ; extra == 'coding'
|
|
71
|
+
Requires-Dist: tree-sitter-c>=0.24.1 ; extra == 'coding'
|
|
72
|
+
Requires-Dist: tree-sitter-javascript>=0.25.0 ; extra == 'coding'
|
|
73
|
+
Requires-Dist: tree-sitter>=0.25.2 ; extra == 'coding'
|
|
74
|
+
Requires-Dist: tree-sitter-typescript>=0.23.0 ; extra == 'coding'
|
|
75
|
+
Requires-Dist: tree-sitter-cpp>=0.23.0 ; extra == 'coding'
|
|
76
|
+
Requires-Dist: tree-sitter-rust>=0.23.0 ; extra == 'coding'
|
|
77
|
+
Requires-Dist: tree-sitter-go>=0.23.0 ; extra == 'coding'
|
|
78
|
+
Requires-Dist: tree-sitter-json>=0.24.0 ; extra == 'coding'
|
|
79
|
+
Requires-Dist: tree-sitter-yaml>=0.6.0 ; extra == 'coding'
|
|
80
|
+
Requires-Dist: composio ; extra == 'composio'
|
|
81
|
+
Requires-Dist: pydantic-ai-slim[openai,google,anthropic,mistral,retries]>=1.0.0 ; extra == 'default'
|
|
82
|
+
Requires-Dist: evented[all] ; extra == 'events'
|
|
83
|
+
Requires-Dist: fsspec[git] ; extra == 'git'
|
|
84
|
+
Requires-Dist: langfuse ; extra == 'langfuse'
|
|
85
|
+
Requires-Dist: markitdown ; python_full_version < '3.14' and extra == 'markitdown'
|
|
86
|
+
Requires-Dist: mcpx-py>=0.7.0 ; extra == 'mcp-run'
|
|
87
|
+
Requires-Dist: typeagent>=0.3.3 ; extra == 'memory'
|
|
88
|
+
Requires-Dist: apprise>=1.9.5 ; extra == 'notifications'
|
|
89
|
+
Requires-Dist: keyring>=25.6.0 ; extra == 'oauth'
|
|
90
|
+
Requires-Dist: promptlayer ; extra == 'promptlayer'
|
|
91
|
+
Requires-Dist: logfire[fastapi] ; extra == 'server'
|
|
92
|
+
Requires-Dist: fastapi ; extra == 'server'
|
|
93
|
+
Requires-Dist: uvicorn[standard] ; extra == 'server'
|
|
94
|
+
Requires-Dist: textual>=1.0.0 ; extra == 'textual'
|
|
95
|
+
Requires-Dist: tiktoken ; extra == 'tiktoken'
|
|
96
|
+
Requires-Dist: openai>=1.0.0 ; extra == 'tts'
|
|
97
|
+
Requires-Dist: sounddevice>=0.5.0 ; extra == 'tts'
|
|
98
|
+
Requires-Dist: numpy>=1.24.0 ; extra == 'tts'
|
|
99
|
+
Requires-Dist: edge-tts>=7.0.0 ; extra == 'tts-edge'
|
|
100
|
+
Requires-Dist: miniaudio>=1.60 ; extra == 'tts-edge'
|
|
101
|
+
Requires-Dist: sounddevice>=0.5.0 ; extra == 'tts-edge'
|
|
102
|
+
Requires-Python: >=3.13
|
|
103
|
+
Project-URL: Code coverage, https://app.codecov.io/gh/phil65/agentpool
|
|
104
|
+
Project-URL: Discussions, https://github.com/phil65/agentpool/discussions
|
|
105
|
+
Project-URL: Documentation, https://phil65.github.io/agentpool/
|
|
106
|
+
Project-URL: Issues, https://github.com/phil65/agentpool/issues
|
|
107
|
+
Project-URL: Source, https://github.com/phil65/agentpool
|
|
108
|
+
Provides-Extra: a2a
|
|
109
|
+
Provides-Extra: ag-ui
|
|
110
|
+
Provides-Extra: braintrust
|
|
111
|
+
Provides-Extra: claude
|
|
112
|
+
Provides-Extra: clipboard
|
|
113
|
+
Provides-Extra: coding
|
|
114
|
+
Provides-Extra: composio
|
|
115
|
+
Provides-Extra: default
|
|
116
|
+
Provides-Extra: events
|
|
117
|
+
Provides-Extra: git
|
|
118
|
+
Provides-Extra: langfuse
|
|
119
|
+
Provides-Extra: markitdown
|
|
120
|
+
Provides-Extra: mcp-run
|
|
121
|
+
Provides-Extra: memory
|
|
122
|
+
Provides-Extra: notifications
|
|
123
|
+
Provides-Extra: oauth
|
|
124
|
+
Provides-Extra: promptlayer
|
|
125
|
+
Provides-Extra: server
|
|
126
|
+
Provides-Extra: textual
|
|
127
|
+
Provides-Extra: tiktoken
|
|
128
|
+
Provides-Extra: tts
|
|
129
|
+
Provides-Extra: tts-edge
|
|
130
|
+
Description-Content-Type: text/markdown
|
|
131
|
+
|
|
132
|
+
# AgentPool
|
|
133
|
+
|
|
134
|
+
[](https://pypi.org/project/agentpool/)
|
|
135
|
+
[](https://pypi.org/project/agentpool/)
|
|
136
|
+
[](https://pypi.org/project/agentpool/)
|
|
137
|
+
[](https://pypi.org/project/agentpool/)
|
|
138
|
+
[](https://github.com/phil65/agentpool/stars)
|
|
139
|
+
|
|
140
|
+
**A unified agent orchestration hub that lets you configure and manage heterogeneous AI agents via YAML and expose them through standardized protocols.**
|
|
141
|
+
|
|
142
|
+
[Documentation](https://phil65.github.io/agentpool/)
|
|
143
|
+
|
|
144
|
+
## The Problem
|
|
145
|
+
|
|
146
|
+
You want to use multiple AI agents together - Claude Code for refactoring, a custom analysis agent, maybe Goose for specific tasks. But each has different APIs, protocols, and integration patterns. Coordinating them means writing glue code for each combination.
|
|
147
|
+
|
|
148
|
+
## The Solution
|
|
149
|
+
|
|
150
|
+
AgentPool acts as a protocol bridge. Define all your agents in one YAML file - whether they're native (PydanticAI-based), external ACP agents (Claude Code, Codex, Goose), or AG-UI agents. Then expose them all through ACP or AG-UI protocols, letting them cooperate, delegate, and communicate through a unified interface.
|
|
151
|
+
|
|
152
|
+
```mermaid
|
|
153
|
+
flowchart TB
|
|
154
|
+
subgraph AgentPool
|
|
155
|
+
subgraph config[YAML Configuration]
|
|
156
|
+
native[Native Agents<br/>PydanticAI]
|
|
157
|
+
acp_agents[ACP Agents<br/>Claude Code, Goose, Codex]
|
|
158
|
+
agui_agents[AG-UI Agents]
|
|
159
|
+
workflows[Teams & Workflows]
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
subgraph interface[Unified Agent Interface]
|
|
163
|
+
delegation[Inter-agent delegation]
|
|
164
|
+
routing[Message routing]
|
|
165
|
+
context[Shared context]
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
config --> interface
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
interface --> acp_server[ACP Server]
|
|
172
|
+
interface --> agui_server[AG-UI Server]
|
|
173
|
+
|
|
174
|
+
acp_server --> clients1[Zed, Toad, ACP Clients]
|
|
175
|
+
agui_server --> clients2[AG-UI Clients]
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Quick Start
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
uv tool install agentpool[default]
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Minimal Configuration
|
|
185
|
+
|
|
186
|
+
```yaml
|
|
187
|
+
# agents.yml
|
|
188
|
+
agents:
|
|
189
|
+
assistant:
|
|
190
|
+
type: native
|
|
191
|
+
model: openai:gpt-4o
|
|
192
|
+
system_prompt: "You are a helpful assistant."
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
# Run via CLI
|
|
197
|
+
agentpool run assistant "Hello!"
|
|
198
|
+
|
|
199
|
+
# Or start as ACP server (for Zed, Toad, etc.)
|
|
200
|
+
agentpool serve-acp agents.yml
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Integrating External Agents
|
|
204
|
+
|
|
205
|
+
The real power comes from mixing agent types:
|
|
206
|
+
|
|
207
|
+
```yaml
|
|
208
|
+
agents:
|
|
209
|
+
# Native PydanticAI-based agent
|
|
210
|
+
coordinator:
|
|
211
|
+
type: native
|
|
212
|
+
model: openai:gpt-4o
|
|
213
|
+
toolsets:
|
|
214
|
+
- type: subagent # Can delegate to all other agents
|
|
215
|
+
system_prompt: "Coordinate tasks between available agents."
|
|
216
|
+
|
|
217
|
+
# Claude Code agent (direct integration)
|
|
218
|
+
claude:
|
|
219
|
+
type: claude
|
|
220
|
+
description: "Claude Code for complex refactoring"
|
|
221
|
+
|
|
222
|
+
# ACP protocol agents
|
|
223
|
+
goose:
|
|
224
|
+
type: acp
|
|
225
|
+
provider: goose
|
|
226
|
+
description: "Goose for file operations"
|
|
227
|
+
|
|
228
|
+
codex:
|
|
229
|
+
type: acp
|
|
230
|
+
provider: codex
|
|
231
|
+
description: "OpenAI Codex agent"
|
|
232
|
+
|
|
233
|
+
# AG-UI protocol agent
|
|
234
|
+
agui_agent:
|
|
235
|
+
type: agui
|
|
236
|
+
url: "http://localhost:8000"
|
|
237
|
+
description: "Custom AG-UI agent"
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
Now `coordinator` can delegate work to any of these agents, and all are accessible through the same interface.
|
|
241
|
+
|
|
242
|
+
## Key Features
|
|
243
|
+
|
|
244
|
+
### Multi-Agent Coordination
|
|
245
|
+
|
|
246
|
+
Agents can form teams (parallel) or chains (sequential):
|
|
247
|
+
|
|
248
|
+
```yaml
|
|
249
|
+
teams:
|
|
250
|
+
review_pipeline:
|
|
251
|
+
mode: sequential
|
|
252
|
+
members: [analyzer, reviewer, formatter]
|
|
253
|
+
|
|
254
|
+
parallel_coders:
|
|
255
|
+
mode: parallel
|
|
256
|
+
members: [claude, goose]
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
```python
|
|
260
|
+
async with AgentPool("agents.yml") as pool:
|
|
261
|
+
# Parallel execution
|
|
262
|
+
team = pool.get_agent("analyzer") & pool.get_agent("reviewer")
|
|
263
|
+
results = await team.run("Review this code")
|
|
264
|
+
|
|
265
|
+
# Sequential pipeline
|
|
266
|
+
chain = analyzer | reviewer | formatter
|
|
267
|
+
result = await chain.run("Process this")
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Rich YAML Configuration
|
|
271
|
+
|
|
272
|
+
Everything is configurable - models, tools, connections, triggers, storage:
|
|
273
|
+
|
|
274
|
+
```yaml
|
|
275
|
+
agents:
|
|
276
|
+
analyzer:
|
|
277
|
+
type: native
|
|
278
|
+
model:
|
|
279
|
+
type: fallback
|
|
280
|
+
models: [openai:gpt-4o, anthropic:claude-sonnet-4-0]
|
|
281
|
+
toolsets:
|
|
282
|
+
- type: subagent
|
|
283
|
+
- type: resource_access
|
|
284
|
+
mcp_servers:
|
|
285
|
+
- "uvx mcp-server-filesystem"
|
|
286
|
+
knowledge:
|
|
287
|
+
paths: ["docs/**/*.md"]
|
|
288
|
+
connections:
|
|
289
|
+
- type: node
|
|
290
|
+
name: reporter
|
|
291
|
+
filter_condition:
|
|
292
|
+
type: word_match
|
|
293
|
+
words: [error, warning]
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Protocol Support
|
|
297
|
+
|
|
298
|
+
- **MCP**: Full support including elicitation, sampling, progress reporting
|
|
299
|
+
- **ACP**: Serve agents to Zed, Toad, and other ACP clients
|
|
300
|
+
- **AG-UI**: Expose agents through AG-UI protocol
|
|
301
|
+
|
|
302
|
+
### Additional Capabilities
|
|
303
|
+
|
|
304
|
+
- **Structured Output**: Define response schemas inline or import Python types
|
|
305
|
+
- **Storage & Analytics**: Track all interactions with configurable providers
|
|
306
|
+
- **File Abstraction**: UPath-backed operations work on local and remote sources
|
|
307
|
+
- **Triggers**: React to file changes, webhooks, or custom events
|
|
308
|
+
- **Streaming TTS**: Voice output support for all agents
|
|
309
|
+
|
|
310
|
+
## Usage Patterns
|
|
311
|
+
|
|
312
|
+
### CLI
|
|
313
|
+
|
|
314
|
+
```bash
|
|
315
|
+
agentpool run agent_name "prompt" # Single run
|
|
316
|
+
agentpool serve-acp config.yml # Start ACP server
|
|
317
|
+
agentpool watch --config agents.yml # React to triggers
|
|
318
|
+
agentpool history stats --group-by model # View analytics
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### Programmatic
|
|
322
|
+
|
|
323
|
+
```python
|
|
324
|
+
from agentpool import AgentPool
|
|
325
|
+
|
|
326
|
+
async with AgentPool("agents.yml") as pool:
|
|
327
|
+
agent = pool.get_agent("assistant")
|
|
328
|
+
|
|
329
|
+
# Simple run
|
|
330
|
+
result = await agent.run("Hello")
|
|
331
|
+
|
|
332
|
+
# Streaming
|
|
333
|
+
async for event in agent.run_stream("Tell me a story"):
|
|
334
|
+
print(event)
|
|
335
|
+
|
|
336
|
+
# Multi-modal
|
|
337
|
+
result = await agent.run("Describe this", Path("image.jpg"))
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
## Documentation
|
|
341
|
+
|
|
342
|
+
For complete documentation including advanced configuration, connection patterns, and API reference, visit [phil65.github.io/agentpool](https://phil65.github.io/agentpool/).
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# AgentPool
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/agentpool/)
|
|
4
|
+
[](https://pypi.org/project/agentpool/)
|
|
5
|
+
[](https://pypi.org/project/agentpool/)
|
|
6
|
+
[](https://pypi.org/project/agentpool/)
|
|
7
|
+
[](https://github.com/phil65/agentpool/stars)
|
|
8
|
+
|
|
9
|
+
**A unified agent orchestration hub that lets you configure and manage heterogeneous AI agents via YAML and expose them through standardized protocols.**
|
|
10
|
+
|
|
11
|
+
[Documentation](https://phil65.github.io/agentpool/)
|
|
12
|
+
|
|
13
|
+
## The Problem
|
|
14
|
+
|
|
15
|
+
You want to use multiple AI agents together - Claude Code for refactoring, a custom analysis agent, maybe Goose for specific tasks. But each has different APIs, protocols, and integration patterns. Coordinating them means writing glue code for each combination.
|
|
16
|
+
|
|
17
|
+
## The Solution
|
|
18
|
+
|
|
19
|
+
AgentPool acts as a protocol bridge. Define all your agents in one YAML file - whether they're native (PydanticAI-based), external ACP agents (Claude Code, Codex, Goose), or AG-UI agents. Then expose them all through ACP or AG-UI protocols, letting them cooperate, delegate, and communicate through a unified interface.
|
|
20
|
+
|
|
21
|
+
```mermaid
|
|
22
|
+
flowchart TB
|
|
23
|
+
subgraph AgentPool
|
|
24
|
+
subgraph config[YAML Configuration]
|
|
25
|
+
native[Native Agents<br/>PydanticAI]
|
|
26
|
+
acp_agents[ACP Agents<br/>Claude Code, Goose, Codex]
|
|
27
|
+
agui_agents[AG-UI Agents]
|
|
28
|
+
workflows[Teams & Workflows]
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
subgraph interface[Unified Agent Interface]
|
|
32
|
+
delegation[Inter-agent delegation]
|
|
33
|
+
routing[Message routing]
|
|
34
|
+
context[Shared context]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
config --> interface
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
interface --> acp_server[ACP Server]
|
|
41
|
+
interface --> agui_server[AG-UI Server]
|
|
42
|
+
|
|
43
|
+
acp_server --> clients1[Zed, Toad, ACP Clients]
|
|
44
|
+
agui_server --> clients2[AG-UI Clients]
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Quick Start
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
uv tool install agentpool[default]
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Minimal Configuration
|
|
54
|
+
|
|
55
|
+
```yaml
|
|
56
|
+
# agents.yml
|
|
57
|
+
agents:
|
|
58
|
+
assistant:
|
|
59
|
+
type: native
|
|
60
|
+
model: openai:gpt-4o
|
|
61
|
+
system_prompt: "You are a helpful assistant."
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Run via CLI
|
|
66
|
+
agentpool run assistant "Hello!"
|
|
67
|
+
|
|
68
|
+
# Or start as ACP server (for Zed, Toad, etc.)
|
|
69
|
+
agentpool serve-acp agents.yml
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Integrating External Agents
|
|
73
|
+
|
|
74
|
+
The real power comes from mixing agent types:
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
agents:
|
|
78
|
+
# Native PydanticAI-based agent
|
|
79
|
+
coordinator:
|
|
80
|
+
type: native
|
|
81
|
+
model: openai:gpt-4o
|
|
82
|
+
toolsets:
|
|
83
|
+
- type: subagent # Can delegate to all other agents
|
|
84
|
+
system_prompt: "Coordinate tasks between available agents."
|
|
85
|
+
|
|
86
|
+
# Claude Code agent (direct integration)
|
|
87
|
+
claude:
|
|
88
|
+
type: claude
|
|
89
|
+
description: "Claude Code for complex refactoring"
|
|
90
|
+
|
|
91
|
+
# ACP protocol agents
|
|
92
|
+
goose:
|
|
93
|
+
type: acp
|
|
94
|
+
provider: goose
|
|
95
|
+
description: "Goose for file operations"
|
|
96
|
+
|
|
97
|
+
codex:
|
|
98
|
+
type: acp
|
|
99
|
+
provider: codex
|
|
100
|
+
description: "OpenAI Codex agent"
|
|
101
|
+
|
|
102
|
+
# AG-UI protocol agent
|
|
103
|
+
agui_agent:
|
|
104
|
+
type: agui
|
|
105
|
+
url: "http://localhost:8000"
|
|
106
|
+
description: "Custom AG-UI agent"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Now `coordinator` can delegate work to any of these agents, and all are accessible through the same interface.
|
|
110
|
+
|
|
111
|
+
## Key Features
|
|
112
|
+
|
|
113
|
+
### Multi-Agent Coordination
|
|
114
|
+
|
|
115
|
+
Agents can form teams (parallel) or chains (sequential):
|
|
116
|
+
|
|
117
|
+
```yaml
|
|
118
|
+
teams:
|
|
119
|
+
review_pipeline:
|
|
120
|
+
mode: sequential
|
|
121
|
+
members: [analyzer, reviewer, formatter]
|
|
122
|
+
|
|
123
|
+
parallel_coders:
|
|
124
|
+
mode: parallel
|
|
125
|
+
members: [claude, goose]
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```python
|
|
129
|
+
async with AgentPool("agents.yml") as pool:
|
|
130
|
+
# Parallel execution
|
|
131
|
+
team = pool.get_agent("analyzer") & pool.get_agent("reviewer")
|
|
132
|
+
results = await team.run("Review this code")
|
|
133
|
+
|
|
134
|
+
# Sequential pipeline
|
|
135
|
+
chain = analyzer | reviewer | formatter
|
|
136
|
+
result = await chain.run("Process this")
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Rich YAML Configuration
|
|
140
|
+
|
|
141
|
+
Everything is configurable - models, tools, connections, triggers, storage:
|
|
142
|
+
|
|
143
|
+
```yaml
|
|
144
|
+
agents:
|
|
145
|
+
analyzer:
|
|
146
|
+
type: native
|
|
147
|
+
model:
|
|
148
|
+
type: fallback
|
|
149
|
+
models: [openai:gpt-4o, anthropic:claude-sonnet-4-0]
|
|
150
|
+
toolsets:
|
|
151
|
+
- type: subagent
|
|
152
|
+
- type: resource_access
|
|
153
|
+
mcp_servers:
|
|
154
|
+
- "uvx mcp-server-filesystem"
|
|
155
|
+
knowledge:
|
|
156
|
+
paths: ["docs/**/*.md"]
|
|
157
|
+
connections:
|
|
158
|
+
- type: node
|
|
159
|
+
name: reporter
|
|
160
|
+
filter_condition:
|
|
161
|
+
type: word_match
|
|
162
|
+
words: [error, warning]
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Protocol Support
|
|
166
|
+
|
|
167
|
+
- **MCP**: Full support including elicitation, sampling, progress reporting
|
|
168
|
+
- **ACP**: Serve agents to Zed, Toad, and other ACP clients
|
|
169
|
+
- **AG-UI**: Expose agents through AG-UI protocol
|
|
170
|
+
|
|
171
|
+
### Additional Capabilities
|
|
172
|
+
|
|
173
|
+
- **Structured Output**: Define response schemas inline or import Python types
|
|
174
|
+
- **Storage & Analytics**: Track all interactions with configurable providers
|
|
175
|
+
- **File Abstraction**: UPath-backed operations work on local and remote sources
|
|
176
|
+
- **Triggers**: React to file changes, webhooks, or custom events
|
|
177
|
+
- **Streaming TTS**: Voice output support for all agents
|
|
178
|
+
|
|
179
|
+
## Usage Patterns
|
|
180
|
+
|
|
181
|
+
### CLI
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
agentpool run agent_name "prompt" # Single run
|
|
185
|
+
agentpool serve-acp config.yml # Start ACP server
|
|
186
|
+
agentpool watch --config agents.yml # React to triggers
|
|
187
|
+
agentpool history stats --group-by model # View analytics
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Programmatic
|
|
191
|
+
|
|
192
|
+
```python
|
|
193
|
+
from agentpool import AgentPool
|
|
194
|
+
|
|
195
|
+
async with AgentPool("agents.yml") as pool:
|
|
196
|
+
agent = pool.get_agent("assistant")
|
|
197
|
+
|
|
198
|
+
# Simple run
|
|
199
|
+
result = await agent.run("Hello")
|
|
200
|
+
|
|
201
|
+
# Streaming
|
|
202
|
+
async for event in agent.run_stream("Tell me a story"):
|
|
203
|
+
print(event)
|
|
204
|
+
|
|
205
|
+
# Multi-modal
|
|
206
|
+
result = await agent.run("Describe this", Path("image.jpg"))
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## Documentation
|
|
210
|
+
|
|
211
|
+
For complete documentation including advanced configuration, connection patterns, and API reference, visit [phil65.github.io/agentpool](https://phil65.github.io/agentpool/).
|