Skip to main content
Xano Agent is an AI assistant built into Xano that can create, modify, and manage your backend through natural language. Describe what you want — database tables, API endpoints, middleware, functions — and Xano Agent builds it for you in XanoScript, ready to review and publish. Everything Xano Agent creates is standard Xano — you can open it in the visual editor, edit it as XanoScript in your IDE, or refine it with the AI assistants. These are all different ways to work with the same underlying resources, so you’re never locked into one approach.
Looking for AI Agents you can build and deploy as part of your backend? See AI Agents instead.

How it works

Xano Agent operates directly inside your workspace. You chat with it, it proposes a plan, writes the XanoScript, and presents the changes for your review before anything goes live.
1

Open Xano Agent

Open Xano Agent from inside your workspace. You’ll see a chat interface with a file browser on the left showing your workspace contents.
2

Describe what you want to build

Type a prompt describing your backend requirements. Xano Agent works best with detailed, specific requests. For example:
Build a backend for a simple Instagram clone that supports both image and video uploads, threaded comments, likes, follows, private accounts, “close friends” lists for private / limited posts, and direct messaging.
Xano Agent will analyze your request and present a proposed plan — including the database schema, API groups, and endpoints it intends to create.
Xano Agent chat interface
3

Review the generated code

As Xano Agent builds, you can view the generated XanoScript in the code editor. The file browser updates in real-time as new tables, APIs, and other resources are created.Toggle between Canvas, Stack, and XanoScript views to inspect the logic from different angles.
Xano Agent code view
4

Review changes

Click Review Changes to see a full diff of everything Xano Agent created or modified. This view shows each file side-by-side — original vs. modified — so you can verify the changes before applying them.
Xano Agent review changes

Publishing

When you’re satisfied with what you have built using the Xano Agent, click Push to Draft to stage your changes. Sometimes, you may be asked to Publish now for items that don’t support draft states. Currently, this includes:
  • Database tables
  • API groups
Xano will show you exactly which items will be published directly so there are no surprises.
Xano Agent publish dialog

What Xano Agent can build

Xano Agent has full access to your workspace and can create or modify:
  • Database tables — schema design, field types, relationships, and indexes
  • API endpoints — full CRUD, authentication, input validation, and custom logic
  • Custom functions — reusable logic blocks
  • Middleware — authentication checks, rate limiting, request preprocessing
  • Background tasks — scheduled or event-driven workflows

Tips for effective prompts

  • Be specific — include field names, data types, relationships, and business rules when possible.
  • Describe the domain — a sentence of context about your app helps Xano Agent make better schema decisions.
  • Iterate — start with a broad request, review the output, then ask for refinements in follow-up messages.
  • Reference existing resources — if you already have tables or APIs, mention them so Xano Agent builds on top of what’s there.

Other ways to build in Xano

Xano Agent is one of several ways to build your backend. They all produce the same output and work with the same resources — pick whichever fits the task at hand, or combine them.
Xano AgentVisual editorAI AssistantsCLI + IDE
WhereInside XanoInside XanoInside XanoLocal IDE (VS Code, Cursor, etc.)
ScopeFull workspace — tables, APIs, functions, middlewareFull workspaceIndividual features (logic, database, SQL, etc.)Full workspace via XanoScript files
InteractionChat-based, multi-stepPoint-and-clickSingle-purpose per assistantAI agent writes .xs files locally
Review flowBuilt-in diff view + push to draftLive editingInline suggestionsGit diff + CLI push