It can be written in Golang but interaction libraries are very limited and with sharp edges.
There's Google's genkit, charmbracelet's fantasy and LangChainGo. Each has ugly hacks and omissions. Then handling slice streaming of data into Elm architecture (bubbletea) is also complex.
So in theory nothing stand against but in practice one has to get quite low to the ground to get anything done.
Also: Golang agent exist! It's called crush and is developed by charmbracelet people. It's so-so though I prefer Pi myself.