Skip to main content
Cycls provides the complete infrastructure to build, run, and ship your agents:
  • Open-source SDK that manages dependencies, context, and UI directly in Python, auto-compiling everything into a portable Docker container. Zero Dockerfiles, YAML, or config required.
  • Agent Runtime that wraps your code in a pre-built FastAPI app. Includes a secure REST API, web interface, and OpenAI-compatible endpoint out of the box.
  • Serverless Cloud to build and deploy your agents instantly. Just call app.deploy() and we handle the remote build, serverless hosting, and auto-scaling, giving you a live public link (e.g., agent.cycls.ai) with built-in authentication and monetization.

Example

Here is an example of an Agent that defines its own environment, connects to OpenAI, and serves a secure chat interface—all in one file.
import cycls

# Define your app with dependencies declared in the decorator
@cycls.app(pip=["openai"])
async def app(context):
    from openai import AsyncOpenAI

    client = AsyncOpenAI()
    response = await client.chat.completions.create(
        model="gpt-4o-mini",
        messages=context.messages,
        stream=True
    )
    async for chunk in response:
        content = chunk.choices[0].delta.content
        if content:
            yield content

# Run locally for development
app.local()
Here is how the agent looks in action:

The AI Distribution Layer

Building agents is easy; distributing them is hard. Cycls handles the four pillars of distribution so you can focus on your code:
  1. Instant Interfaces: Cycls auto-generates responsive web UIs with native UI components (thinking bubbles, code blocks, tables, callouts, images) that stream progressively.
  2. Zero-Config Auth: Enterprise-grade user management is enabled by default. Secure login, session management, and user gating are built-in.
  3. Serverless Hosting: From localhost to a global URL in one command. We handle the scaling, the SSL, and the server management.
  4. Native Monetization: Monetize your agent with Cycls Pass subscription integration.
Cycls is Framework Agnostic: It works seamlessly with LangChain, CrewAI, Agno, OpenAI, Anthropic, Groq, and any other Python library.

Start Building

Ready to build your first agent? Check out our Quickstart guide to create your first AI agent in under 5 minutes.