Skip to content

Agent Messaging & Usage #26

@MarcoMetaMask

Description

@MarcoMetaMask

Note: Throughout this text, agents <> services

If an agent with an A2A endpoint is loaded with myFriend = getAgent(...), it would be great to directly enable messaging with:

myFriend.message("How are you today? Any stock I should absolutely consider buying?")

If an agent with an MCP endpoint is loaded as myAgent = getAgent(...), it would be great to load functions with custom names directly based on the capabilities of the agent.

If we just want to support tools, there is no risk of name collision, so we could enable:

return = myAgent.ToolName(param1, param2);

If we also want to support resources and prompts, to avoid name collision:

return = myAgent.tools.ToolName(param1, param2);
return = myAgent.resources.ResourceName;

etc.

Important open point: how to handle authentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Scoping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions