Skip to content

armgit / ax

Public Imported from GitHub
0

Agent Executor (AX) is Google's open agentic orchestration runtime

Go

Differentiate example agents from each other (#119)

Jaana Dogan576ad4b47d39
diff --git a/README.md b/README.md
index d563949..6e1dc7c 100644
--- a/README.md
+++ b/README.md
@@ -102,9 +102,9 @@ cat ax.yaml
# ...
registry:
remote_agents:
- - id: "uppercase"
- name: "Upper Case Agent"
- description: "Converts text to uppercase."
+ - id: "lowercase"
+ name: "Lowercase Agent"
+ description: "Converts text to lowercase."
address: "localhost:50051"
ax serve
@@ -276,7 +276,7 @@ registry:
version: "1.0"
k8s_sandbox_agents:
- id: "uppercase"
- name: "Upper Case Agent"
+ name: "Uppercase Agent"
description: "Converts text to uppercase."
sandbox_template_ref: "uppercase-agent-template"
container_port: 8494
diff --git a/ax.yaml b/ax.yaml
index e477531..4e94e94 100644
--- a/ax.yaml
+++ b/ax.yaml
@@ -55,14 +55,14 @@ planner:
# List of remote or sandbox agents to register on startup.
registry:
# remote_agents:
- # - id: "uppercase"
- # name: "Upper Case Agent"
- # description: "Converts text to uppercase."
+ # - id: "lowercase"
+ # name: "Lower Case Agent"
+ # description: "Converts text to lowercase."
# address: "localhost:50051"
# k8s_sandbox_agents:
# - id: "uppercase"
- # name: "Upper Case Agent"
+ # name: "Uppercase Agent"
# description: "Converts text to uppercase."
# sandbox_template_ref: "uppercase-agent-template"
# container_port: 8494
diff --git a/examples/remote_agent/main.go b/examples/remote_agent/main.go
index 1ed2b30..ff547d1 100644
--- a/examples/remote_agent/main.go
+++ b/examples/remote_agent/main.go
@@ -66,7 +66,7 @@ func (s *server) Process(stream proto.AgentService_ProcessServer) error {
last := contents[len(contents)-1]
last.Content = &proto.Content_Text{
Text: &proto.TextContent{
- Text: strings.ToUpper(last.GetText().Text),
+ Text: strings.ToLower(last.GetText().Text),
},
}