Motivation
Agents that call external systems directly bypass governance, create hidden dependencies, and cannot be tested in isolation. Every external call is a governance boundary — it must be verified, logged, and policy-checked before execution.
The connector layer enforces policy at the boundary, abstracts the protocol, and makes external dependencies explicit and testable.
Structure
- BaseMCPAgent provides the governed agent contract for tool-using agents
- MCPHttpConnector handles HTTP/HTTPS MCP tool servers
- MCPStdioConnector handles stdio-based MCP tool servers
- Connector type is config-driven — swap without changing agent code
- Governance hooks fire before and after every external call