Flezi AgentBox

Quickstart Guide

Build and run your first AI agent in 5 minutes with this step-by-step tutorial

Quickstart Guide

This guide walks you through creating your first AI agent on Flezi AgentBox — from sign-up to execution. You'll have a working agent in under 5 minutes.

Local Setup (CLI)

Want to run Flezi AgentBox locally and connect it to your IDE? The agentbox CLI sets everything up in one command:

bash
curl -fsSL https://raw.githubusercontent.com/agentbox/cli/main/install.sh | bash
agentbox init

This handles Docker, config, LLM keys, and MCP IDE auto-connect. See the full CLI Local Setup Guide.

Web Platform Setup

To use the hosted web platform instead, follow the steps below.

Prerequisites

  • A modern web browser (Chrome, Firefox, Edge, or Safari)
  • An email address for registration
  • An API key from a supported LLM provider (OpenAI, Anthropic, or Google)

Don't have an API key yet? You can still explore the platform and use agents created by other users. API keys are only required for creating and running your own agents.

Step 1: Create Your Account

Navigate to the registration page

Go to the Flezi AgentBox platform and click Sign Up in the top navigation.

Fill in your details

Enter your email address and create a secure password. Passwords must be at least 8 characters with a mix of letters, numbers, and symbols.

Verify your email

Check your inbox for a verification email and click the confirmation link to activate your account.

Step 2: Set Up Your API Key

To create and run agents, you need to configure at least one LLM provider API key.

Navigate to Settings

Click the Settings icon in the sidebar, then select the API Keys tab.

Add a new key

Click Add Key and select your provider (OpenAI, Anthropic, or Google).

Enter your API key

Paste your key into the secure input field. Keys are encrypted with AES-256-GCM before storage — they are never stored in plain text.

Verify the key

Click Verify to confirm the key is valid. You'll see a green checkmark when the key is accepted.

API keys are stored using server-side encryption. Only you can use your keys — they are never shared with other users or agent creators.

Step 3: Open the Builder Lab

Navigate to Builder Lab

Click Builder Lab in the sidebar navigation. You'll see the phase stepper showing three phases: Discovery, Logic, and Output.

Choose your starting point

You can either start from scratch or use a template. For this quickstart, click Start from Template and select a template like "Code Review" to get started quickly.

Configure agent metadata

Give your agent a name (e.g., "BMAD Code Reviewer"), write a brief description, and select a category. These help others discover your agent on the marketplace.

Step 4: Build Your Agent

The Builder Lab guides you through three phases. Here's an example building a Code Review Agent based on the BMAD methodology:

Phase 1: Discovery

The Discovery phase defines what your agent does using categorized sticky notes:

| Note Category | Example Content | |---------------|----------------| | Goal (Blue) | Find security vulnerabilities and code quality issues | | Risk (Red) | SQL injection, XSS, missing error handling | | Constraint (Amber) | Output must include file paths and severity levels | | Persona (Pink) | Senior SE, analytical, ultra-succinct |

Review and customize your notes, then click Continue to Logic.

Phase 2: Logic

The Logic phase defines how your agent processes information using a visual DAG editor:

  • Service nodes (hexagon) — Load context: "Load Code Context"
  • Function nodes (rounded rectangle) — Process: "Analyze Quality Facets"
  • Gate nodes (diamond) — Filter: "Severity Filter"
  • Data nodes (cylinder) — Output: "Review Report"

Connect nodes with edges to define execution flow. Validation ensures no cycles or disconnected nodes.

yaml
# Example: Code Review Agent DAG
dag:
  nodes:
    - { id: "n1", type: "service", label: "Load Code Context" }
    - { id: "n2", type: "function", label: "Analyze Quality Facets" }
    - { id: "n3", type: "gate", label: "Severity Filter" }
    - { id: "n4", type: "data", label: "Review Report" }
  edges:
    - { source: "n1", target: "n2" }
    - { source: "n2", target: "n3" }
    - { source: "n3", target: "n4" }

Click Continue to Output when ready.

Phase 3: Synthesis

The Output phase generates your agent's final blueprint:

  • Review the synthesized agent configuration
  • Verify the execution pipeline
  • Preview sample input/output

Click Publish to make your agent available.

Step 5: Run Your Agent

Find your agent

Navigate to the Marketplace and search for your agent by name, or use the My Agents section in your dashboard.

Try the sample first

Click your agent to open its detail page. If sample I/O is configured, click Try with Sample to preview the agent's behavior before running your own query.

Open the Execution Sandbox

Click Run Agent to open the execution sandbox. The system provisions a Docker container and creates a session.

Send a message

Type a message and press Enter. For example, paste a code snippet and ask for a review. The agent streams its response in real-time via SSE.

Review the output

Here's what a real execution looks like (BMAD Code Reviewer, Gemini 2.0 Flash, 2.9 seconds):

Input:  "Review this function for security issues:
        function getUserData(userId) {
          const query = `SELECT * FROM users WHERE id = ${userId}`;
          return db.execute(query);
        }"

Output: ## Findings
        ### [CRITICAL] Security: SQL Injection Vulnerability
        **File:** src/index.ts:2
        **Fix:** Use parameterized queries: db.execute(query, [userId])

        ### [LOW] Correctness: Missing Error Handling
        **File:** src/index.ts:3
        **Fix:** Add try-catch for database errors

Use keyboard shortcuts in the sandbox for faster interaction: Ctrl+Enter to send, Ctrl+L to clear, Esc to cancel.

Step 6: Share and Iterate

Congratulations! You've built and run your first agent. Here's what you can do next:

  • Publish to Marketplace: Make your agent discoverable by other users
  • Set Pricing: Configure execution pricing in the agent settings
  • Add Version Notes: Document changes as you improve your agent
  • Create Collections: Group related agents into themed bundles
  • Explore BMAD Agents: Check out the BMAD Code Reviewer, Architect Winston, and QA Engineer Quinn on the marketplace for inspiration

Next Steps

Now that you have a working agent, explore these guides to learn more:

Need help? Use the feedback widget (bottom-right corner) to report issues or request features.