Quickstart
Deploy your Python AI agent in under 5 minutes with Itura
What is Itura?
Itura is a serverless platform designed to simplify the deployment of Python-based agentic applications. Focus on building your agent, and let Itura handle the infrastructure, scaling, and monitoring.
Deploy Your First Agent
This guide assumes you have already created and tested your agent code locally. Itura is agnostic to the framework you use to build your agent, so this could be a simple Python script making some LLM API calls, or a more complex application using any agentic framework like LangChain, LangGraph, or even a custom implementation.
Get your agent running on Itura in 5 minutes by following the steps below ✨
Prepare Your Agent Code
Add a Flask endpoint that will be used to trigger your agent. The endpoint will be triggered by an HTTP POST request to the /run
endpoint.
Create a requirements.txt file
Create a requirements.txt
file to specify the dependencies for your agent (for example, by running pip freeze > requirements.txt
).
For example, if your agent needs and OpenAI, LangChain, and Flask, your requirements.txt
file should look like this:
Push your code to GitHub
Push your agent code (including the Flask endpoint and the requirements.txt
file) to a GitHub repository.
Connect Your GitHub Repository
Go to the app.itura.ai and connect your GitHub account. Select the repository containing your agent code. Itura will use this repository to build and deploy your agent.
Configure Environment Variables
Still from app.itura.ai, navigate to your agent’s settings and configure your environment variables. There you should add any API keys, database credentials, or other secrets that your agent needs to run.
Do not store secrets in your code repository. Instead, configure your environment variables in the Itura UI, and they will be injected into your agent’s runtime environment when it executes.
Done ✨ Itura will automatically build and deploy your agent, providing you with a unique endpoint URL (like https://your-agent-name-12345.agent.itura.ai
) and a secret API key that you can use to initiate your agent and monitor its execution.
Pushing new commits to the connected branch of your GitHub repository will automatically trigger a new deployment.
Invoke Your Agent
Interact with your deployed agent by sending an HTTP POST request to its unique URL.
- Get your Endpoint URL and API Key: Find these in the Itura UI after your first deployment.
- Send the Request: Use
curl
or any HTTP client. Include your API key in theAuthorization: Bearer
header.
Itura handles invocations asynchronously. A 202 Accepted
response means your request is queued.
Monitor Execution
You can track the status (PENDING
, RUNNING
, COMPLETED
, FAILED
) and view logs for each run directly in the Itura UI.