DEV Community

Julia for Light Cloud

Posted on Originally published at blog.light-cloud.com on

What Is an AI Agent? Build One in the Console Without Code

What Is an AI Agent? Build One in the Console Without Code

An AI agent is a language model with a job: instructions that say what it does and for whom, guidelines it always keeps, and the data it answers from. On Light Cloud you build one in the console, with no code: fill in a short form, add your help pages, pick a model, and test it in Try it.

My support agent for Rota Planner took about 10 minutes to set up. In my tests it answered in 3 to 4.3 seconds, refused to promise a feature the help pages don't mention, and answered a Spanish question in Spanish.

What you will build

A customer support agent, tested in the console. I build it for Rota Planner, the SaaS from the Start a SaaS on Light Cloud series, but the same steps work for any product with a help page.

Try it with the question Can Rota Planner send SMS reminders to my staff? and the answer that the help pages do not mention it, with the support email

Nothing in this part needs code. When you want your app to use the agent, part 1 connects it to a live Next.js app with two environment variables.

Before you start

  • A Light Cloud workspace on a paid plan. AI agents start at Lite; on the Free plan the console shows an upgrade card instead of the form.
  • The pages your agent should answer from: a help page, an FAQ, a pricing page. Text, Markdown, PDF, Word and CSV files work, and so do public web pages.

What an AI agent is made of

A language model on its own knows a lot about the world and nothing about your product. An agent gives it four things:

  1. Instructions : what it does and for whom, written to the agent. "You answer questions from customers of Rota Planner."
  2. Guidelines : short rules it always keeps. "Never promise refunds."
  3. Data : what it answers from. Your help page, your pricing page.
  4. A model : the language model that writes the answers. Gemini 3 Flash by default.

Every time someone asks a question, Light Cloud puts the instructions, guidelines and data in front of it and sends the whole thing to the model. The model's answer goes straight back. Because the setup is added on every request, a change you make in the console applies to the very next message.

Step 1: Open the AI agent form

In the Light Cloud console, click New... at the bottom of the sidebar, then New AI agent. To put the agent in a folder, use the folder's + menu instead; it has the same item.

The New menu at the bottom of the sidebar with New AI agent highlighted

Step 2: Write the instructions

Give the agent a Name , then write its Instructions. The info icon next to the field says it best: "What it does and for whom, written to the agent." Start with who it talks to, then what it may answer from, then how it should sound:

You answer questions from customers of Rota Planner, a web app where teams keep their projects, invite members and use a REST API. Answer only from the help pages and the pricing page. Keep answers short and friendly, and name the exact place in the app, for example Settings, Members.

Enter fullscreen mode Exit fullscreen mode

"Answer only from the help pages" is the line that keeps the agent from making things up. Without it, the model fills gaps with what it knows from elsewhere, which for your product is usually wrong.

Step 3: Add guidelines

Guidelines are the rules the agent keeps in every answer, one per row: tone, what it must never say or promise, when to hand over to a person. Click + Add a guideline for each new row:

Answer in the customer's language.
Never promise refunds, discounts or features the help pages don't mention. Say the team replies by email within 2 working days.
If you are not sure, say so and give the support email, support@rotaplanner.example.
Never ask for a password or an API key.
Write plain sentences without Markdown.

Enter fullscreen mode Exit fullscreen mode

Keep each one short and testable. You will check every one of them in Step 6.

Step 4: Add the data

Under Data , drop your files onto Drop files here, or choose them , click Paste text for a short note, or click Web address for a public page. For a web address, type it and click Add ; Enter does not add it.

The Data card with rota-planner-help.md at 674 tokens, the pricing page at 225 tokens, and the line Sent with every message: about 1,043 tokens

Each item shows its size in tokens, and the line under the list adds them up: "Sent with every message: about 1,043 tokens". Everything in Data goes with every question, up to about 25,000 tokens, so this line is the part of every answer's cost you control. For comparison, one marketing page I added as a test came to 6,170 tokens on its own.

Only the text of a file is kept, encrypted. A web page is read once, when you add it; to pick up a change, remove it and add it again.

Step 5: Pick a model

Model starts on Gemini 3 Flash (preview). Click it to see the others, grouped by maker:

The model list open: Google with Gemini 3.1 Pro and Gemini 3 Flash, then Qwen3 235B and DeepSeek V3.2

In December 2026 the list had six models, all running on Google Vertex AI:

Model Input, per million tokens Output, per million tokens
Gemini 3.1 Pro (preview) $2.00 $12.00
Gemini 3 Flash (preview) $0.50 $3.00
DeepSeek V3.2 $0.56 $1.68
Qwen3 235B $0.22 $0.88
gpt-oss-120b $0.09 $0.36
gpt-oss-20b $0.07 $0.25

Light Cloud adds a 5% fee. Gemini 3 Flash is a good start for support answers.

Click Create agent. Mine was ready about 10 seconds later.

Step 6: Test every guideline in Try it

Try it , on the right of the agent's page, sends a question through the same path an app would. Test each guideline with a question written to break it.

A feature that doesn't exist:

Can Rota Planner send SMS reminders to my staff?

Enter fullscreen mode Exit fullscreen mode

My agent said the help pages do not mention it, that it was not sure, and gave the support email. No made-up feature.

A question in another language:

¿Cómo invito a mi equipo?

Enter fullscreen mode Exit fullscreen mode

Try it answering the Spanish question in Spanish: invite people under Settings, Members with Invite people, links valid for 7 days

It answered in Spanish and kept the English menu names, so the customer can still find them on screen.

Someone offering their password:

My password doesn't work. Can I send it to you so you can check it?

Enter fullscreen mode Exit fullscreen mode

Try it refusing the password and pointing to Forgot password on the sign-in page

It told the customer not to send it and pointed to Forgot password on the sign-in page. A question about the weather in Bristol got a polite refusal and the support email.

Each of my answers took 3 to 4.3 seconds. When an answer is wrong, change the instruction or the guideline that should have caught it, click Start over , and ask again. There is nothing to deploy: the next message uses the new setup.

Step 7: Check what happens to your data

Next to Model is an info button, How it works and privacy. It shows the whole path of a message and what each party keeps:

The How it works panel: Your app sends a message, Light Cloud adds your instructions, guidelines and data, Google Vertex AI answers, followed by the privacy notes

In short: Google does not use the requests to train its models and may hold a request in memory for up to 24 hours. Light Cloud stores no messages or answers, only each request's time, model, size and cost. The setup is stored encrypted with your workspace, and deleting the agent deletes it.

Troubleshooting

Build AI agents with Starter

The console shows this card instead of the form when the workspace is on the Free plan. AI agents need a paid plan; any plan from Lite up works.

The agent answers questions its data doesn't cover

The instructions don't limit it. Add a line like "Answer only from the help pages and the pricing page", and a guideline for what to do instead: "If you are not sure, say so and give the support email."

Answers show asterisks, like Settings, Members

The model wrote Markdown, and Try it shows plain text. Add the guideline Write plain sentences without Markdown.

A web address doesn't appear in Data

Pressing Enter in the address box does nothing; click Add. If you added it in the create form together with a file, add it again on the agent's page: in my run, that combination dropped the address without a message.

A PDF adds almost no tokens

The agent keeps only the text of a file. A scanned PDF is a picture of text, so there is nothing to keep. Upload a PDF with real text, or paste the text with Paste text.

Top comments (0)