Apache OpenServerless is a complete serverless environment, not just a function engine, running in any Kubernetes and even in linux servers and local docker. It is an excellent foundation for building AI applications and agents and indeed we built an AI platform including GPU access for Serverless functions on top of it.
https://openserverless.apache.org