Skip to content

armgit / ax

Public Imported from GitHub
0

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

Go

Run gofmt -w

JBD9385046fe5bb
diff --git a/agent/remote.go b/agent/remote.go
index b574b2e..7328c74 100644
--- a/agent/remote.go
+++ b/agent/remote.go
@@ -29,10 +29,10 @@ type RemoteAgent struct {
// RemoteAgentConfig configures a remote agent client.
type RemoteAgentConfig struct {
ID string
- Address string // gRPC server address (e.g., "localhost:50051")
- Reconnect bool // Whether to automatically reconnect on failures
- MaxRetries int // Maximum number of retry attempts (0 = infinite)
- DialOpts []grpc.DialOption // gRPC dial options for customizing the connection
+ Address string // gRPC server address (e.g., "localhost:50051")
+ Reconnect bool // Whether to automatically reconnect on failures
+ MaxRetries int // Maximum number of retry attempts (0 = infinite)
+ DialOpts []grpc.DialOption // gRPC dial options for customizing the connection
}
// NewRemoteAgent creates a new remote agent client.
diff --git a/examples/local_agent/main.go b/examples/local_agent/main.go
index f1203ee..62ad7f1 100644
--- a/examples/local_agent/main.go
+++ b/examples/local_agent/main.go
@@ -6,11 +6,11 @@ import (
"strings"
"time"
- "github.com/google/uuid"
"github.com/google/gar/agent"
"github.com/google/gar/internal/controller"
"github.com/google/gar/internal/eventlog"
"github.com/google/gar/proto"
+ "github.com/google/uuid"
)
func main() {
diff --git a/internal/controller/controller.go b/internal/controller/controller.go
index 02a8e72..aecb892 100644
--- a/internal/controller/controller.go
+++ b/internal/controller/controller.go
@@ -7,8 +7,8 @@ import (
"fmt"
"time"
- "github.com/google/uuid"
"github.com/google/gar/proto"
+ "github.com/google/uuid"
)
// Controller is the main controller that coordinates all components.
diff --git a/internal/controller/session.go b/internal/controller/session.go
index ea5dc26..a8bc0fe 100644
--- a/internal/controller/session.go
+++ b/internal/controller/session.go
@@ -5,9 +5,9 @@ import (
"sync"
"time"
- "github.com/google/uuid"
"github.com/google/gar/internal/eventlog"
"github.com/google/gar/proto"
+ "github.com/google/uuid"
)
// Session represents an agentic loop execution session.