You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Description**: Decorator to create and register an agent. Args: name: Name of the agent instruction: Base instruction for the agent servers: List of server names the agent should connect to
1808
-
- **Parameters**
1809
-
- `self`
1810
-
- `name` (str): Name of the agent
1811
-
- `instruction` (str): Base instruction for the agent
1812
-
- `servers` (List[str]): List of server names the agent should connect to
- **Description**: Send a message to a specific agent and get the response. Args: agent_name: Name of the agent to send message to message: Message to send Returns: Agent's response
1834
-
- **Parameters**
1835
-
- `self`
1836
-
- `agent_name` (str): Name of the agent to send message to
1837
-
- `message` (str): Message to send
1838
-
- **Returns**
1839
-
- `Any`: Agent's response
1840
-
1841
1762
### src/mcp_agent/core/exceptions.py
1842
1763
1843
1764
**Module Description**: Custom exceptions for the mcp-agent library. Enables user-friendly error handling for common issues.
0 commit comments