Site AI Agent Settings: enable toggle bubble palette size position
Frontend Site AI Agent

Appifio Creator · Lesson G06 · Intermediate

Frontend AI Agent:
how it works & the visitor chatbot

See how the Frontend Agent answers visitors from a custom prompt + website info + published products + indexes - then enable the live bubble.

Learning goals: Understand Frontend AI Agent mechanics (knowledge sources → visitor answers), tell it apart from CMS Agent / Creator AI, and enable the live bubble.

Reading time: about 15 minutes

Prerequisites: Can open Aura CMS (G01); site saved at least once; published products help catalog answers (G03).

Previous → next: G05 → G06 → G07 (CMS Agent · Build prompt · History)

1. Two agents inside Site AI Agent

CMS nav → AI Agent
├─ Frontend AI Agent (this lesson) - bubble on the public site
└─ CMS AI Agent (G07) - bubble in the CMS panel for admins
Master switch: Enable Site AI Agent (Config)
→ Shows the visitor bubble; CMS Agent is on by default (can disable in G07)
→ Tokens bill the site owner’s monthly AI quota

Both differ from Creator AI Agent (edits HTML/CSS/JS) and from MCP (IDE - H02).

2. How the Frontend AI Agent works

When a visitor opens the bubble and asks, the agent combines knowledge in this order:

1. Custom system prompt (Build prompt) - required; role, tone, language
2. Website info (optional) - name, brand, slogan, email, org, socials from Website settings
3. Index list - labels like [Tag] Title; Markdown body loads when the question matches
4. Published products - live catalog (name, price, description…)
→ Answers on the site bubble · session history saved for admins (G07)
SourceUsed forNot included
Custom promptReply rules, style, scopeEmpty prompt → chat will not run
Website infoHours/address/phone/brand from SettingsBlank fields are skipped
Knowledge indexesFAQ, policies, hand-written service notesBlog posts not added as indexes
Published productsPrice, stock, product descriptionsDrafts · contacts · orders · unpublished posts

3. What Frontend Agent does

  • 24/7 visitor help on the live site - no CMS login.
  • Answers from knowledge you build: prompt + site info + indexes + published catalog.
  • Multi-turn chat in one open bubble; close/F5 may clear client context - sessions still appear under Chat history (G07).
  • No CMS writes: visitors cannot create/edit posts, products, or orders here.
  • Look & feel: Markdown welcome, palette, size, position, model (DeepSeek / OpenAI) - shared theme with CMS Agent.

4. Glossary

TermMeaningWhere in the UI
Frontend AI AgentPublic visitor chatbot (one half of Site AI Agent)Live-site corner bubble
Enable Site AI AgentMaster switch for the visitor bubbleConfig tab
Build promptSystem prompt + site-info insert + indexes - the Frontend Agent’s “brain”Build prompt tab
Welcome messageFirst bubble visitors see; MarkdownConfig tab
CMS AI AgentAdmin assistant that reads/writes content by permission (G07)CMS Agent tab

5. Enable Frontend Agent - steps

  1. CMS → AI AgentConfig → turn on Enable Site AI Agent.
  2. Build prompt: write a required System prompt.
  3. (Recommended) Enable auto-insert website info if Website settings are filled (G05).
  4. Add FAQ/policy indexes if needed (details in G07) → Save Build prompt.
  5. Publish products you want the bot to discuss (G03).
  6. Config: welcome, palette, size, position, model → save.
  7. Open the live site (incognito) → ask about hours / a product / shipping policy.

6. Quick comparison

CriterionFrontend AgentCMS Agent (G07)Creator AI
WhoSite visitorsCMS adminsApp builders
JobQ&A answersOverview + read/write contentEdit VDisk code
PromptYour Build promptBuilt-in CMS promptCreator Prompt & skills
Writes dataNoDrafts if enabledDraft files (until Save)

7. Technical limits

You can

  • Answer from prompt + site info + indexes + published products
  • Tune welcome, palette, size, position, model
  • Keep sessions for admin history

Limits

  • Empty system prompt → chat will not run
  • No contacts / orders / drafts for visitors
  • Visitor tokens bill the owner quota

8. Common issues

SituationFix
No bubbleEnable + save; open live URL; hard refresh
Missing prompt / no replyBuild prompt → System prompt → Save
Product prices unknownPublish products (G03) or add indexes
No address/phone answersFill Website settings + enable site-info insert

9. Self-check

  1. Can you list the four knowledge sources Frontend Agent uses?
  2. Can you tell Frontend vs CMS Agent vs Creator AI apart?
  3. Does the live bubble answer from prompt / site info / published products?

Next lesson

G07 - CMS AI Agent: manage content with AI + history

Site overview, read contacts/orders, create-edit posts / products / custom types (drafts), and manage all chat sessions.

Appifio Creator · User guide · G06