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

Simplify examples for building multi-agent apps with Docker/Kubernetes #150

Open
nerdai opened this issue Jul 21, 2024 · 0 comments
Open
Labels
enhancement New feature or request P2

Comments

@nerdai
Copy link
Contributor

nerdai commented Jul 21, 2024

The pattern for building multi-agent apps to be orchestrated by Docker Compose or Kubernetes involves the following steps:

  1. Build a multi-agent app Python package containing three modules: core_services, agent_services, additional_services
  2. Any service built in those modules also contain its launch() logic and gets executed if __name__ == "__main__"
  3. This allows for a single Docker image for all of the services, and we just need to use a command that points to the correct service in order to build that service in Docker Compose or Kubernetes.

The code in the examples: kafka/pig-latin-translation or rabbitmq/multi-agent-app-rabbitmq utilize this pattern and feel a tad heavy. The point of this issue is to slim down the process/code for these examples and generally our method for building multi-agent apps for deployment.

@nerdai nerdai added enhancement New feature or request P2 labels Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant