Prerequisites:
- Python 3.9 or higher (3.10+ recommended for deployment)
- Docker (Required for local runtime) - Install Docker
Step 1: Install Cycls
Install Cycls SDK:Step 2: Create a Simple Agent
Create a file namedapp.py with the following code. This creates a simple agent that replies with a static message.
app.py
Step 3: Run your Agent
Make sure Docker Desktop is running before starting your agent.
http://localhost:8080 to see your agent in action.
Success! You’ve created and run your first Agent locally.
Next: Cloud Deployment (OpenAI Agent)
Now let’s build a simple AI agent powered by OpenAI LLMs and deploy it to the cloud.Get Your Keys
- Get your Cycls API Key.
- Get your OpenAI API Key.
- Create a
.envfile in your project root:
.env
You can use any model of your choice, such as OpenAI, Anthropic, or Gemini, etc.
Next Steps
Configure Your Agent
Explore configuration options like dependencies, secrets, and custom UI.
Work with Context
Learn how to use context to store user data and conversation history.
Customize UI
Tailor the chat interface to match your brand.