Deploying Your AI Agent › From Script to Service
AI Agent HandbookAll chapters Deploying Your AI Agent › From Script to ServiceOne section · Sections in this chapter2 / 10 ↓
Right now, your agent probably looks something like this: you open a terminal, run python assistant.py, type some questions, and get responses. This works great for development, but it has limitations. You can only use it when you're at your computer. If you close the terminal, the agent stops. And sharing it with someone else means sending them your code and hoping they can set it up correctly.
A deployed agent, by contrast, runs continuously on a server. It waits for requests, processes them, and sends back responses. You can interact with it through a web interface, a mobile app, or even a messaging platform like Slack. The agent's state persists between sessions, and multiple people can use it simultaneously.
Let's look at what this transformation involves.