Create agent.go