xagt builder guide

Build an xagt file yourself, without coding

Prepare your documents, know-how, and FAQs, then work with ChatGPT, Claude, or Gemini section by section to create a usable .xagt file.

Build flow summary

1

Prepare

Collect the purpose, source material, book notes, and review criteria first.

2

Give Builder to AI

Upload Builder and your materials to AI to start the build.

3

Write by section

Write one section at a time following the Builder flow.

4

Review

Compare numbers, links, exceptions, and answer boundaries against the originals.

Prepare

Prepare these four things first

Instead of trying to make a perfect file at once, collect the materials below and ask AI to help one step at a time.

01

The purpose of your xagt

Write one sentence, such as labor-law support, tax filing checklist, or customer support automation.

02

Original reference material

Gather books, documents, tables, FAQs, examples, price sheets, and procedures that should ground the answers. If you use a book, note the title, chapter/page, and key passages.

03

The AI tool you will use

Open ChatGPT, Claude, or Gemini and upload the Builder file together with your materials.

04

Review criteria

Write down numbers, links, exceptions, tone, and answer boundaries that must not be missed.

Flow

Guided creation starts with Builder

Organize your material, give Builder to AI, then repeat writing and review in the order Builder suggests.

1

Upload Builder

First upload the Builder file to ChatGPT, Claude, or Gemini and start the build.

2

Share purpose and material

Give AI the purpose, documents, book notes, FAQs, tables, and links for the xagt you want to make.

3

Write section by section

Follow the Builder flow and write sections such as Basic Info, Role and Tone, Operating Rules, and Expert Knowledge one by one.

4

Review as you go

After each section, check for missing sources, wrong numbers, or invented information.

5

Combine into one file

Put the reviewed sections together in order and save them as a .xagt file.

6

Final review with test questions

Ask realistic user questions and check the answer flow and missing details.

File structure

The 9 core sections of an .xagt file

The page uses friendly names first and only tells you where each part belongs inside the actual .xagt file.

01

Basic Rules

File ground rules

Marks the file as xagt and states the basic rules it follows.

In the actual file, write this under:<xdf>

02

Basic Info

Title and introduction

Contains the xagt name, description, author, and execution style.

In the actual file, write this under:<xhd>

03

Role and Tone

The role the AI should play

Defines what kind of expert the AI should act like and what tone it should keep.

In the actual file, write this under:<xid>

04

Operating Rules

Rules the AI must follow

Records refusal boundaries, required checks, and important cautions.

In the actual file, write this under:<xpl>

05

Expert Knowledge

The evidence used in answers

Stores FAQs, examples, rules, explanations, and book notes used in actual answers.

In the actual file, write this under:<xkn>

06

Question Sorting

Where each question should go

Defines which knowledge or workflow should be used for each type of user question.

In the actual file, write this under:<xrt>

07

Process

Conversation workflow

Describes what to ask first, what to verify, and when the task is complete.

In the actual file, write this under:<xwf>

08

Calculation Rules

Optional calculations

Use only when exact calculations such as fees, scores, or taxes are needed.

In the actual file, write this under:<xcd>

09

Answer Format

The shape of the final result

Defines whether the AI should answer as a table, checklist, summary, or other format.

In the actual file, write this under:<xout>

Ask AI

How to ask AI and avoid mistakes

Put the workflow and review rules in your first request, then check each section in the order Builder guides you.

Prompt you can copy

I want to create an xagt file myself using Builder.

Topic: [your xagt topic]

Purpose: [what users should be able to solve]

Reference material: [books, documents, FAQs, tables, links, and other material]

Workflow:

1. Start by following the Builder creation flow.

2. Do not create the whole file at once; write one friendly-named section at a time.

3. Do not guess information that is not in the material; ask me instead.

4. Keep numbers, links, and exceptions exactly as written.

5. After each section, add a short checklist so I can review it.

Rules to follow while prompting

Manage the prompt and mistake-prevention rules as one workflow.

Do not build the whole file at once

Working section by section reduces forgotten context and skipped content.

Make AI ask when material is missing

Tell AI from the start not to invent plausible details.

Keep checking names and numbers

Maintain a list of rule IDs, step names, and source names so they do not drift.

Preserve numbers and links

Prices, periods, dates, and URLs must be compared against the original material.

Split long content

If there are many rules or examples, ask for them in smaller batches.

Before saving

Check this before saving

Before using the .xagt file, confirm both the structure and content.

All required sections exist

Basic Info, Role and Tone, Operating Rules, Expert Knowledge, Process, and Answer Format are the basics. Add Question Sorting and Calculation Rules when needed.

The section order reads naturally

Check that the file flows from file info to role, policy, knowledge, workflow, and output.

Sources can be traced

Important rules and answer standards should point back to the material they came from.

Test questions work consistently

Try easy, ambiguous, and out-of-scope questions.

Self-built files can be unsigned

Files you build yourself can work without xsig. Official sealing is handled during XGenTra registration.

File name is clear

Use a name that shows the topic, such as labor-law.xagt.

Next step

Start small, test, then expand

Begin with about 10 core FAQs instead of every document. Once reviewed, you can list the xagt on XAgentStore for real users.