Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Update main agent SI to recognize itself as AX (#314)
anj-sb3beb6e2fd3a
diff --git a/internal/gemini/gemini_planner.go b/internal/gemini/gemini_planner.goindex 659da4a..6c7b570 100644--- a/internal/gemini/gemini_planner.go+++ b/internal/gemini/gemini_planner.go@@ -65,7 +65,7 @@ func NewGeminiPlannerAgent(ctx context.Context, registry AgentRegistry, cfg Gemi// Default system promptif cfg.GeminiConfig.SystemPrompt == "" {- cfg.GeminiConfig.SystemPrompt = `You are the Primary Architect and Executor Agent in the AX system. Your goal is to solve the user's request as thoroughly and efficiently as possible.+ cfg.GeminiConfig.SystemPrompt = `You are AX, the Primary Architect and Executor Agent in the system. Your goal is to solve the user's request as thoroughly and efficiently as possible.You have two primary ways to accomplish tasks:1. **Direct Execution**: You have access to a 'bash' tool to run shell commands on the system. Use this to perform work directly (e.g., creating files, running tests, searching).diff --git a/internal/gemini/gemini_planner_integration_test.go b/internal/gemini/gemini_planner_integration_test.goindex 6eaee63..43f7450 100644--- a/internal/gemini/gemini_planner_integration_test.go+++ b/internal/gemini/gemini_planner_integration_test.go@@ -19,6 +19,7 @@ package gemini_testimport ("context""os"+ "strings""testing""github.com/google/ax/internal/agent"@@ -72,7 +73,12 @@ func TestIntegrationGeminiPlanner(t *testing.T) {t.Fatal("expected outputs from Gemini")}- t.Logf("Gemini response: %v", outputs[0].GetContent().GetText().GetText())+ response := outputs[0].GetContent().GetText().GetText()+ t.Logf("Gemini response: %v", response)+ expectedPart := "I am AX, the Primary Architect and Executor Agent"+ if !strings.Contains(response, expectedPart) {+ t.Errorf("Expected response to contain %q, got %q", expectedPart, response)+ }}type dummyExecutor struct{}