Overview

This guide will help you get started with Julep in just 5 minutes. You’ll learn how to create your first AI agent and execute a simple task.

What we’ll build

We’ll build a simple agent that uses tasks to write a short story.

Agent
name: Story Generator
model: claude-3.5-sonnet
about: A helpful AI assistant that specializes in writing and editing.
Task
name: Write a short story
description: Write a short story about a magical garden
main:
- prompt:
  - role: system
    content: You are a creative story writer.
  - role: user
    content: Write a short story about {{inputs[0].topic}}

Prerequisites

Step 1: Install Julep

Choose your preferred language:

Step 2: Initialize the Client

Step 3: Create Your First Agent

Let’s create a simple AI agent that can help with writing tasks:

Step 4: Create a Simple Task

Let’s create a task that generates a short story based on a given topic:

Step 5: Execute the Task

Now let’s run the task with a specific topic:

Next Steps

Congratulations! You’ve created your first Julep agent and executed a task. Here’s what you can explore next: