{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://inquir.org/serverless-for-ai-agents#webpage","url":"https://inquir.org/serverless-for-ai-agents","name":"Serverless for AI agents","headline":"Serverless for AI agents","description":"Run AI agents on a serverless backend: tool calls, background jobs, and workflow steps as functions behind the gateway—with auth, secrets off the model path, pipelines, jobs, and isolated Node, Python, or Go containers.","inLanguage":"en-US","isPartOf":{"@id":"https://inquir.org/#website"},"author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","citation":"https://inquir.org/docs"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://inquir.org"},{"@type":"ListItem","position":2,"name":"Serverless for AI agents","item":"https://inquir.org/serverless-for-ai-agents"}]},{"@type":"TechArticle","@id":"https://inquir.org/serverless-for-ai-agents#article","headline":"Serverless for AI agents","description":"Run AI agents on a serverless backend: tool calls, background jobs, and workflow steps as functions behind the gateway—with auth, secrets off the model path, pipelines, jobs, and isolated Node, Python, or Go containers.","inLanguage":"en-US","author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","isPartOf":{"@id":"https://inquir.org/serverless-for-ai-agents#webpage"}},{"@type":"FAQPage","@id":"https://inquir.org/serverless-for-ai-agents#faq","url":"https://inquir.org/serverless-for-ai-agents","isPartOf":{"@id":"https://inquir.org/serverless-for-ai-agents#webpage"},"mainEntity":[{"@type":"Question","name":"Do agents have to use HTTP?","acceptedAnswer":{"@type":"Answer","text":"HTTP is a simple contract for tools; your orchestrator can wrap local calls during dev and remote calls in production."}},{"@type":"Question","name":"How are secrets handled?","acceptedAnswer":{"@type":"Answer","text":"Bind secrets to the workspace or function in the product UI. They appear as environment variables at runtime, so API keys never belong in prompts, client bundles, or committed files."}},{"@type":"Question","name":"Can I mix languages per tool?","acceptedAnswer":{"@type":"Answer","text":"Yes. Different functions can target Node.js, Python, or Go depending on library support."}},{"@type":"Question","name":"What about long-running jobs?","acceptedAnswer":{"@type":"Answer","text":"Return quickly from the tool’s HTTP handler when you can, then continue with a pipeline or async job so the user-facing path stays responsive and retries stay predictable."}},{"@type":"Question","name":"Do I need Kubernetes to run AI agents in production?","acceptedAnswer":{"@type":"Answer","text":"No. Inquir runs your tools and workflows as managed serverless functions with gateway routing, containers, and observability—you ship handlers and routes without operating a cluster for this pattern."}},{"@type":"Question","name":"Can I run AI agent tools with no cold starts?","acceptedAnswer":{"@type":"Answer","text":"Hot containers reduce latency for steady tool traffic, but the first deploy or idle recycle can still be a cold path—plan timeouts and warm pools for the calls that matter most."}}]}]}