Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove ununsed Type from Agent configs (#80)
Jaana Dogan209c0a8b8d49
diff --git a/README.md b/README.mdindex 87a9349..85b20a7 100644--- a/README.md+++ b/README.md@@ -226,16 +226,14 @@ health_check:# Agents to register on startupagents:- - type: "remote"- remote:+ - remote:id: "text-processing-agent"name: "Text Processing Agent"description: "An agent for text processing"address: "localhost:50051"metadata:version: "1.0"- - type: "sandbox"- sandbox:+ - sandbox:id: "uppercase-sandbox-agent"name: "Sandbox Uppercase Agent"description: "A secure, ephemeral cloud container for executing uppercase transformations"@@ -343,8 +341,7 @@ To use a Sandbox Agent, specify it in your `gar.yaml` configuration using the `s```yamlagents:- - type: "sandbox"- sandbox:+ - sandbox:id: "my-sandbox-agent"name: "Sandbox Worker"description: "An ephemeral sandbox processor"@@ -379,7 +376,6 @@ Ensure your `gar.yaml` references this sandbox agent:```yamlagents:- id: "uppercase-agent"- type: "sandbox"sandbox:sandbox_template_ref: "uppercase-agent-template"container_port: 8494diff --git a/gar.yaml b/gar.yamlindex 445a54d..9a53b3e 100644--- a/gar.yaml+++ b/gar.yaml@@ -58,28 +58,17 @@ planner:skills_dir: "./examples/skills"# Remote agents configuration (optional)-# List of remote agents to register on startup.-# Remote agents run as separate gRPC servers.-# agents:-# - type: "remote"-# id: "text-processing-agent"-# name: "Text Processing Agent"-# description: "An agent for text processing"-# address: "localhost:50051"-# metadata:-# version: "1.0"+# List of remote or sandbox agents to register on startup.agents:- - type: "remote"- remote:+ - remote:id: "remote-text-processor"name: "Remote Text Processor"description: "Converts text to lowercase."address: "localhost:50051"metadata:version: "1.0"- - type: "sandbox"- sandbox:+ - sandbox:id: "uppercase"name: "Upper Case Agent"description: "Converts text to uppercase."diff --git a/internal/config/config.go b/internal/config/config.goindex e18eeb5..0360df3 100644--- a/internal/config/config.go+++ b/internal/config/config.go@@ -35,7 +35,6 @@ type Config struct {}type Agent struct {- Type string `yaml:"type,omitempty"` // local, remote, sandboxRemoteAgentConfig *RemoteAgentConfig `yaml:"remote,omitempty"`SandboxAgentConfig *SandboxAgentConfig `yaml:"sandbox,omitempty"`}@@ -89,15 +88,15 @@ type RemoteAgentConfig struct {// SandboxAgentConfig configures a Kubernetes Sandbox agent to register on startup.type SandboxAgentConfig struct {- ID string `yaml:"id"` // Unique agent identifier- Name string `yaml:"name"` // Human-readable name- Description string `yaml:"description"` // Description of agent capabilities- SandboxTemplateRef string `yaml:"sandbox_template_ref"` // Name of the SandboxTemplate CR to use+ ID string `yaml:"id"` // Unique agent identifier+ Name string `yaml:"name"` // Human-readable name+ Description string `yaml:"description"` // Description of agent capabilities+ SandboxTemplateRef string `yaml:"sandbox_template_ref"` // Name of the SandboxTemplate CR to use// TODO: implement shutdown_time for automatic sandbox shutdown- ContainerPort int `yaml:"container_port,omitempty"`// Optional container port, defaults to 8494- WarmPoolSize int `yaml:"warm_pool_size,omitempty"`// Optional warm pool size for sandbox agents- UseRouter bool `yaml:"use_router,omitempty"` // Override port-forwarding to use Sandbox Router- Metadata map[string]string `yaml:"metadata,omitempty"` // Optional metadata+ ContainerPort int `yaml:"container_port,omitempty"` // Optional container port, defaults to 8494+ WarmPoolSize int `yaml:"warm_pool_size,omitempty"` // Optional warm pool size for sandbox agents+ UseRouter bool `yaml:"use_router,omitempty"` // Override port-forwarding to use Sandbox Router+ Metadata map[string]string `yaml:"metadata,omitempty"` // Optional metadata}type LocalAgentConfig struct {