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

Add functionality to run agents as a service #100

Open
psschwei opened this issue Jan 10, 2025 · 2 comments
Open

Add functionality to run agents as a service #100

psschwei opened this issue Jan 10, 2025 · 2 comments
Labels
question Further information is requested

Comments

@psschwei
Copy link
Collaborator

psschwei commented Jan 10, 2025

If I want to run a bee agent as a service, I would like to be able to do that.

There's a variety of ways that could be done:

  • add a function to the agent class
agent = BeeAgent()
agent.serve()
  • via a decorator to make the agent servable
@serve
def my_agent():
   ...
@psschwei psschwei added framework Building, deploying, scaling agents question Further information is requested labels Jan 10, 2025
@psschwei psschwei changed the title Add an agent.serve() method to python framework Add functionality to run agents as a service Jan 15, 2025
@psschwei psschwei removed the framework Building, deploying, scaling agents label Jan 15, 2025
@maximilien
Copy link
Member

I like this a lot since it means agents in a flow could be executing in different hives :)

@psschwei
Copy link
Collaborator Author

I've been playing around in this space a lot, so will assign to myself. Happy for others to help as well

@psschwei psschwei self-assigned this Jan 17, 2025
@psschwei psschwei removed their assignment Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants