Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Agent APIs #898

Open
5 tasks
3rd-Son opened this issue Dec 9, 2024 · 0 comments
Open
5 tasks

[Feature Request]: Agent APIs #898

3rd-Son opened this issue Dec 9, 2024 · 0 comments

Comments

@3rd-Son
Copy link
Contributor

3rd-Son commented Dec 9, 2024

Feature Name

IAgentAPI, AgentApiBase, AgentAPI

Feature Description

This feature adds a standardized API layer to facilitate communication and interaction with agents. The components include:

  • IAgentAPI: An interface defining the core methods for agent invocation and asynchronous invocation.
  • AgentApiBase: A base class implementing shared functionality for agent method invocation, including synchronous and asynchronous support.
  • AgentAPI: A concrete implementation providing direct and abstracted access to agent methods, including support for invoking agents’ tasks and monitoring their execution status.

These APIs act as a wrapper around an agent's exec and aexec methods, providing a consistent and extensible interface for interacting with agents.

Motivation

This feature ensures:

  • A clean abstraction for invoking agent tasks synchronously and asynchronously.
  • Simplified integration of agent capabilities with other MAS components.
  • Enhanced scalability by supporting asynchronous task execution, enabling efficient handling of multiple agents concurrently.
  • A framework to extend agent functionality in the future.

Potential Solutions

No response

Additional Context (optional)

No response

Affected Areas

None

Priority

Low

Required Files

  • Test File
  • Component File
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant