Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Remote Agent

Remote agents run as gRPC servers implementing the AXAgentService interface defined in proto/ax.proto. The controller executes remote agents by calling their Connect RPC with bidirectional streaming.

See examples/remote_agent/main.go for a complete implementation.

Workflow:

  1. Remote agent starts as gRPC server on a port (e.g., :50051)
  2. Declare the remote agent in ax.yaml under registry.remote_agents
  3. Start the server: ax serve
  4. When the server executes, it calls the agent's Connect RPC
  5. AX streams input content → Agent processes → Agent streams output back

See examples/remote_agent/main.go for a complete implementation.