Overview of agent microservice examples
mainThe examples/microservices/ directory contains four distinct patterns for implementing distributed agents:
- Basic Microservice (
basic_microservice/): Demonstrates creating a local agent and wrapping it as a gRPC microservice on a specific port. - Remote Agent Client (
remote_client/): Shows how to connect to a remote agent service via URL and use it like a local agent, including handling connection errors and retries. - Mixed Local and Remote (
mixed_agents/): Illustrates building a distributed system by using both local and remote agents together as subagents. - Microservice Manager (
service_manager/): Demonstrates programmatic management of multiple microservices, including starting/stopping services and monitoring health.