Inference Logoinference.sh

Your First Agent

Create an agent in 5 minutes.


Step 1: Open Agents

Go to Agents and click New Agent.


Step 2: Choose an LLM

Pick the AI model that powers your agent:

ModelGood for
GPT-4General purpose, strong reasoning
ClaudeLong context, detailed responses
GPT-3.5Fast, cheaper

Step 3: Write a System Prompt

This tells the agent who it is:

code
1You are a helpful assistant that creates images.2 3When asked to create an image:41. Ask clarifying questions if needed52. Generate the image63. Offer variations

Keep it simple. You can refine later.


Step 4: Add a Tool

Click Add Tool and search for an image generation app like stable-diffusion.

Select it. Done—the agent can now use it.


Step 5: Chat

Open the agent and try:

code
1You: Create an image of a sunset over mountains

Watch the agent:

  1. Plan the task
  2. Call the image tool
  3. Return your image

That's it

You have an agent that can generate images.

Add more tools to expand what it can do.


Next

Core Concepts: Apps

we use cookies

we use cookies to ensure you get the best experience on our website. for more information on how we use cookies, please see our cookie policy.

by clicking "accept", you agree to our use of cookies.
learn more.