Skip to content

Skills - #73

Merged
Iamsdt merged 3 commits into
mainfrom
skills
Mar 30, 2026
Merged

Skills#73
Iamsdt merged 3 commits into
mainfrom
skills

Conversation

@Iamsdt

@Iamsdt Iamsdt commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

This pull request removes the agent-to-agent (A2A) communication functionality from the agentflow/communication module. Specifically, it deletes the main A2A communication manager, the agent communicator mixin, and the module's public API definitions. These changes indicate a significant refactor or deprecation of the A2A communication subsystem.

The most important changes are:

Removal of A2A Communication Core:

  • Deleted the entire implementation of A2ACommunicationManager from a2a.py, which handled agent registration, messaging, broadcasting, pub-sub, and agent registry management.
  • Removed the AgentCommunicator mixin/wrapper from agent_communicator.py, which provided agent classes with easy access to A2A communication features.

Module API Cleanup:

  • Removed the public API exports from communication/__init__.py, eliminating references to A2ACommunicationManager, AgentRegistry, AgentRegistryEntry, and MessageRouter from the module's __all__.

Iamsdt added 3 commits March 30, 2026 23:14
… server helpers

- Added `agentflow.a2a_integration` module to bridge agentflow with A2A protocol.
- Introduced `AgentFlowExecutor` to handle execution of agentflow graphs as A2A agents.
- Created client helpers for calling remote A2A agents, including `delegate_to_a2a_agent` and `create_a2a_client_node`.
- Developed server helpers to expose agentflow graphs as A2A-compliant HTTP endpoints, including `create_a2a_server` and `make_agent_card`.
- Enhanced message handling in `Message` class to support various content types.
- Added tests for handling malformed tool messages and ensuring robustness in message conversion.
- Implemented stricter validation for SkillMeta fields including name, description, triggers, resources, tags, and priority using Pydantic field validators.
- Added path traversal protection for resource paths in discover_skills and load_resource functions.
- Improved error handling and logging for skill discovery and loading processes.
- Introduced a new unregister method in SkillsRegistry to allow removal of skills.
- Added comprehensive tests for SkillMeta validation, loader functions, and SkillsRegistry operations to ensure robustness and correctness.
@Iamsdt
Iamsdt merged commit a4a106f into main Mar 30, 2026
1 check failed
@Iamsdt
Iamsdt deleted the skills branch March 30, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant