Skip to main content
This guide will walk you through creating your first AI agent in Xorafin. Agents in Xorafin can be created either using the AI Builder or by manually defining an agent configuration file.

Method 1: Create an Agent with AI Builder

The easiest way to create an agent is by using the AI Builder.

Step 1: Open the Agent Builder

Go to the Agents section in the Xorafin dashboard and click Create Agent.

Step 2: Describe Your Agent

Provide a description of what you want your agent to do. Example:Create an agent that researches a topic and generates a short summary. The AI Builder will generate the agent configuration automatically.

Step 3: Review the Generated Agent

Once the configuration is generated, review the agent settings such as:
  • agent name
  • description
  • model used
  • inputs
  • outputs
You can edit these settings before saving the agent.

Step 4: Save the Agent

Click Save Agent to create the agent. Your agent will now be available in your workspace.

Method 2: Create an Agent Manually

Developers can also create agents manually by defining an agent configuration file. Example:
{
  "name": "research-agent",
  "description": "Research a topic and generate a summary",
  "model": "gpt-4",
  "input": "topic",
  "output": "summary"
}