AI Agents

How to Build Your First AI Agent in 15 Minutes (No Coding Required)

A step-by-step tutorial for building your first AI agent in AI Magicx, where the chat is the agent. Choose tools, write the instructions, run your first task, and iterate—all in 15 minutes.

AI Magicx Team10 min read

AI agents sound complicated—reasoning loops, tool orchestration, memory systems, multi-step execution. The technology underneath is complex. But building one doesn't have to be.

This tutorial walks you through creating your first AI agent in AI Magicx, where the chat itself is the agent. No coding. No API keys to manage. No infrastructure to set up. By the end of these 15 minutes, you'll have a working agent that can search the web, analyze information, generate images, and deliver structured results.

We'll build a Competitor Analysis Agent as our example—an agent that researches competitors, summarizes their offerings, and creates a comparison report. You can adapt the same steps to build agents for content research, lead qualification, market analysis, or any multi-step workflow.

What You'll Need

  • An AI Magicx account (the Free plan works for this tutorial)
  • 15 minutes of uninterrupted time
  • A competitor or topic you want the agent to research (for testing)

That's it. No downloads, no installations, no developer environment.

Step 1: Create a Project (1 Minute)

Log into AI Magicx, open Projects in the sidebar, and click New project. A project keeps everything for one job together:

  • Name: What the agent is for
  • Instructions: How it should behave (the system prompt)
  • Knowledge: Reference files every chat in the project can read
  • Chats: Each run of the agent is a chat inside the project

Let's set each one up.

Step 2: Name and Describe Your Agent (1 Minute)

Give your project a clear, descriptive name, and start its instructions with a one-line description:

Name: Competitor Analysis Agent

Description: Researches competitors, analyzes their products and positioning, and generates structured comparison reports.

The description isn't just for you—it helps the AI model understand its purpose. A well-written description improves the agent's performance because it provides context for every interaction.

Quick Tip: Be Specific in Descriptions

Bad: "Research agent" Good: "Researches competitors in the SaaS industry by analyzing their websites, pricing pages, and recent news, then produces structured comparison reports with strengths, weaknesses, and strategic insights."

The more specific your description, the better your agent performs from the first interaction.

Step 3: Choose Your AI Model (1 Minute)

AI Magicx gives you access to 39 models. For an agent that needs to reason through multiple steps, research accurately, and write clear reports, here are good choices from the model menu in the composer:

ModelBest ForCost
Claude Sonnet 5.5Balanced reasoning + excellent writingMedium
GPT-5.6 TerraStrong all-around performanceMedium
Claude Opus 5.5Complex reasoning, highest quality outputHigher
Gemini 3.1 ProResearch tasks with large context needsMedium

For this tutorial, select Claude Sonnet 5.5. It offers a strong balance of reasoning quality, writing clarity, and cost for research-oriented agents. The menu shows the price before you send.

You can always change the model later. Switching models doesn't require rebuilding anything—the same project instructions and tools work immediately with the new model.

Step 4: Select Your Tools (2 Minutes)

Tools are what transform a chatbot into an agent. Without tools, the AI can only respond with what it already knows. With tools, it can take action—search the internet, generate images, create charts, process documents, and more.

For our Competitor Analysis Agent, switch these on in the composer's Tools menu (or leave them on Auto and let the AI decide):

What it does: Lets the agent search the internet for real-time information.

Why we need it: Competitor analysis requires current data—pricing changes, new product launches, recent news, customer reviews. The agent can't analyze competitors using only its training data.

Web Browsing

What it does: Lets the agent visit specific URLs and read webpage content.

Why we need it: After finding relevant pages through search, the agent needs to read pricing pages, feature lists, and about pages in detail.

Image Generation

What it does: Lets the agent create visual assets.

Why we need it: Our agent will generate comparison charts, feature matrix visuals, or competitor logo-style mood boards for the final report.

Chart Creation

What it does: Generates data visualizations from structured data.

Why we need it: Visual comparison of pricing tiers, feature counts, or market positioning makes the report more useful.

Common Mistake: Adding Too Many Tools

It's tempting to enable every available tool. Don't. Each tool adds complexity to the agent's decision-making. An agent with 3-5 focused tools outperforms one with 15 tools because:

  • The model spends less reasoning capacity deciding which tool to use
  • Fewer tools mean fewer potential failure points
  • The system prompt can provide clearer guidance for a smaller tool set

Start with the minimum tools needed for your use case. Add more later if the agent needs them.

Step 5: Write the System Prompt (5 Minutes)

This is the most important step. The system prompt is your agent's instruction manual—it defines personality, methodology, output format, and guardrails. Invest time here and you'll get dramatically better results.

Here's the system prompt for our Competitor Analysis Agent:

You are a thorough and analytical competitor research agent. Your job is to research competitors and produce structured, actionable comparison reports.

## Research Methodology

When asked to analyze a competitor or set of competitors:

1. **Search Phase**: Use web search to find each competitor's website, pricing page, recent news, and customer reviews. Search for "[company name] pricing," "[company name] reviews 2026," and "[company name] vs alternatives."

2. **Deep Dive Phase**: Visit each competitor's website to extract:
   - Core product/service offering
   - Pricing tiers and structure
   - Key features and differentiators
   - Target audience
   - Recent product updates or news

3. **Analysis Phase**: Compare competitors across consistent dimensions:
   - Product capabilities
   - Pricing and value proposition
   - Market positioning
   - Strengths and weaknesses
   - Customer sentiment (from reviews)

4. **Report Phase**: Produce a structured report with:
   - Executive summary (3-4 sentences)
   - Individual competitor profiles
   - Side-by-side comparison table
   - Key insights and strategic recommendations
   - Visual charts comparing key metrics

## Output Guidelines

- Use clear headings and bullet points
- Include specific data points (pricing numbers, feature counts, review scores)
- Distinguish between facts (from research) and analysis (your assessment)
- Flag any information you couldn't verify
- Always note the date of your research so the reader knows how current the data is

## Guardrails

- Do not fabricate data. If you can't find information, say so
- Do not present opinions as facts
- If a competitor's pricing is not publicly available, note this rather than guessing
- Maintain a neutral, analytical tone—this is research, not marketing

Why This System Prompt Works

Notice the structure:

  1. Identity statement: Tells the agent who it is and what it does
  2. Methodology: Step-by-step process the agent should follow (this is crucial for multi-step agents)
  3. Output format: Specifies exactly what the final deliverable looks like
  4. Guardrails: Prevents common failure modes like hallucination and bias

System Prompt Mistakes to Avoid

Too vague: "You are a helpful research assistant." This gives the agent no direction on methodology, format, or quality standards.

Too rigid: Specifying every possible scenario creates a brittle agent that fails when it encounters anything you didn't anticipate. Give methodology and principles, not exhaustive rules.

No output format: Without specifying what the final deliverable should look like, the agent will produce inconsistent output every time. Define structure, not exact wording.

No guardrails: Without explicit instructions about what NOT to do, agents default to being helpful at the expense of accuracy. Tell them not to fabricate data, not to guess, and to admit uncertainty.

Step 6: Set Your Spending Limits (1 Minute)

Research tasks can take many steps, so decide how much the agent may spend before it asks you. In Settings → Usage:

Ask First Above

Set the amount above which a task stops and asks you before continuing. A research run like this one usually costs a few mana; anything unusual will wait for your yes.

Daily Limit

Set a daily cap so a runaway task can never surprise you.

Memory

Chats in the project keep their history, so you can ask follow-up questions like "Now compare their pricing models in more detail" without re-explaining the context. Facts you want remembered across all chats go in Customize → Memory.

Step 7: Run Your First Task (3 Minutes)

Start a new chat inside the project. Time to test.

Type your first prompt:

Research and compare these three project management tools: Asana, Monday.com, and ClickUp. Focus on their pricing, key features, and what type of team each is best for. Include a comparison table and a pricing chart.

Watch what happens:

  1. The agent identifies the three competitors and plans its research approach
  2. It searches the web for each competitor's pricing and features
  3. It visits their websites to extract detailed information
  4. It analyzes the findings and identifies patterns
  5. It generates a structured report with comparison tables
  6. It creates a visual pricing comparison chart

This multi-step execution—searching, reading, analyzing, synthesizing, visualizing—is what makes this an agent rather than a chatbot. A chatbot would answer from memory. An agent goes out, gathers current information, and produces an informed deliverable.

What If Something Goes Wrong?

Common first-run issues and fixes:

Agent doesn't search the web: Check that the web search tool is enabled. Also verify that your prompt clearly implies research is needed (asking for current data usually triggers search behavior).

Output is too short or superficial: Your system prompt might not emphasize depth enough. Add instructions like "Be thorough. Include specific numbers, dates, and data points."

Agent fabricates information: Strengthen the guardrails in your system prompt. Add "If you cannot find specific data through web search, explicitly state 'data not publicly available' rather than estimating."

Agent gets stuck in a loop: This sometimes happens when an agent can't find information it thinks it needs. Add to your system prompt: "If you cannot find a piece of information after 2 search attempts, move on and note it as unavailable."

Step 8: Iterate and Improve (1 Minute)

Your first run will reveal improvement opportunities. Here's how to iterate:

Review the Output

Ask yourself:

  • Did the agent research all the competitors?
  • Is the data accurate (spot-check a few numbers)?
  • Is the format useful and readable?
  • Are there gaps in the analysis?
  • Did the agent follow the methodology you specified?

Refine the System Prompt

Based on your review, update the system prompt. Common refinements:

  • "Always include the source URL for pricing data" (improves verifiability)
  • "Compare at least 5 features per competitor" (ensures depth)
  • "Start the report with a table summarizing all competitors before diving into details" (improves structure)

Test Again

Run another prompt—maybe a different set of competitors or a different industry. See if your refinements improved the output. Agent building is iterative: build, test, refine, repeat.

Five More Agents You Can Build in 15 Minutes

Now that you understand the process, here are five more agents you can create using the same steps:

1. Content Research Agent

Tools: Web search, web browsing Purpose: Researches a topic and produces a structured content brief with key points, statistics, expert quotes, and source links. Perfect for content marketers who need research before writing.

2. Social Media Caption Agent

Tools: Web search, image generation Purpose: Given a topic or product, generates platform-specific social media captions (LinkedIn, Instagram, X/Twitter) with appropriate hashtags, tone, and length. Can also generate accompanying images.

3. Meeting Prep Agent

Tools: Web search, web browsing Purpose: Given a person's name and company, researches their background, recent company news, social media activity, and industry trends. Produces a one-page briefing document for pre-meeting preparation.

4. Product Description Agent

Tools: Web search, image generation Purpose: Given product details and photos, generates SEO-optimized product descriptions for e-commerce listings. Can create lifestyle-style product images using AI image generation.

5. Email Outreach Agent

Tools: Web search Purpose: Researches a prospect's company, identifies relevant pain points, and drafts a personalized outreach email that references specific details about their business. Much more effective than generic templates.

Tips for Building Better Agents

Start Simple, Add Complexity Later

Your first version should be the minimum viable agent. Get the core workflow right, then add bells and whistles. An agent that does one thing well is more useful than an agent that tries to do everything and fails at most of it.

Use Specific Examples in Your System Prompt

Instead of "produce a well-formatted report," include an example of what a well-formatted report section looks like. Models follow examples better than abstract instructions.

Test Edge Cases

What happens when the agent can't find information? When the user's request is ambiguous? When two sources contradict each other? Test these scenarios and add handling instructions to your system prompt.

Monitor and Adjust Model Selection

If your agent's output quality isn't meeting expectations, try a different model before rewriting your entire system prompt. Sometimes the fix is switching from GPT to Claude or vice versa—different models respond differently to the same instructions.

Save It as a Skill

Once you've refined the instructions, save them as a skill in Customize → Skills. You can then use the same agent in any chat, not just this project.

What's Next

You've built your first AI agent. It searches the web, analyzes information, creates visuals, and delivers structured reports. And it took 15 minutes with zero code.

But this is just the beginning. As you get more comfortable, explore:

  • Connecting your apps: Bring in Notion, Linear, or your own MCP servers as connectors
  • Splitting big jobs: Magicx can hand parts of a task to helpers that work at the same time
  • Running on a schedule: Have the research run every Monday and email you the result
  • Building domain-specific agents: Tax research, legal case analysis, medical literature review—the pattern is the same, the system prompt is different

AI Magicx gives you the foundation: 39 models, built-in tools, projects, skills, and schedules. What you build on that foundation is limited only by the workflows you want to automate.

Start with one agent. Get it right. Then build the next one. In a month, you'll have a team of AI agents handling the repetitive, research-heavy work that used to eat your day—while you focus on the decisions, relationships, and creative thinking that actually grow your business.

Try it in AI Magicx

One chat that picks the tools, a studio for media, and every price shown first. 20 chats a day and 30 mana free.

Start free