Chinese AI Agent Prompt Builder

Share:

Chinese AI agent prompt builder: role, tools, workflow, boundaries, output format for agent frameworks. In your browser.

RT-AI-078 · AI Tools
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Chinese AI Agent Prompt Builder

Assemble a clean, structured AI agent (智能体) system prompt from a simple form (in English here, in Chinese on the Chinese pages) — role & duties, goal, available tools, workflow, constraints & boundaries, and output format — then copy it straight into any agent framework’s or chat’s system prompt. Everything is built in your browser; nothing is sent to a server and no model is called.

Tip: this builder only assembles text. Copy the result into your agent framework or model yourself — no model is called and nothing is sent anywhere.

Your agent system prompt

📅 Research current as of 25 Oct 2026 · Sources: Tool-use advice checked against OpenAI’s function-calling guide and Anthropic’s tool-use and agents guides.
Standards, published formulas, and reference data are revised over time — check against a current authoritative source before relying on these figures.
Advertisement
After tool · AD-W1Responsive · Post-tool

From duties and tools to a copyable agent spec

Define the role / duties and goal

In the first two boxes, state the agent's identity and core responsibilities (e.g. "a support-ticket triage assistant") and the overall goal it must achieve (e.g. "classify every ticket accurately and recommend the next step"). These two lines set the agent's remit and its definition of success — the foundation of the whole system prompt.

List the available tools and when to use them

In the "available tools / capabilities" box, give each tool a name, a purpose, and a rule for when to call it and when not to. For example: "search_kb — search the knowledge base; call it before answering any factual question; never answer from memory." The more specific the tool notes, the less the agent over- or under-calls.

Spell out the workflow and the boundaries

In the "workflow / steps" box, list the standard actions in order; in the "constraints / boundaries" box, state when to stop, when to escalate to a human, and what it must never do. Clear stop-and-escalate conditions are what make an agent safe and controllable.

Set the output format and copy it out

Specify the output format (JSON, bullets, fixed fields), click Copy, and paste the assembled system prompt into your agent framework’s or chat’s system prompt (the tools themselves are defined separately, in the framework’s tools field). Everything is assembled locally in your browser; nothing is sent to any server.

Advertisement
After how-to · AD-W2Responsive

How the Chinese agent prompt builder works

An agent prompt is a contract, not a request

Building a reliable AI agent has far less to do with the model you pick and far more to do with the system prompt you give it. An ordinary prompt asks a model to answer one question; an agent prompt has to govern a model that acts on its own, calls tools, and takes several steps before it is done. That is a different job, and it needs a different structure. A good agent system prompt reads almost like a contract: it names the agent's role and duties, states the single goal it is responsible for, lists the tools it may use and exactly when to use them, lays out the workflow in order, draws the boundaries it must not cross, and fixes the shape of what it returns. This builder keeps that structure for you. Fill the six fields, and it assembles a clean, ordered system prompt — a leading "You are …" role line ("你是…" on the Chinese pages), then clearly headed sections for the goal, the tools, the workflow, the constraints and the output format — ready to paste into DeepSeek, Qwen, Kimi, Claude, GPT or the system slot of any agent framework.

The highest-leverage line is still the role, but for an agent it carries more weight, because it also sets the limits of the agent's authority. "你是一个只读的数据分析助手,绝不修改任何记录" tells the model both who it is and what it may never do, in one sentence. After the role comes the goal: a single, testable objective the agent is accountable for, so it does not wander. Then the tools, which for an agent are not optional decoration but the core of how it acts. The mistake most people make is listing tool names and stopping there. The version that works names each tool, says what it is for, and — crucially — says when to call it and when not to. "search_kb:回答事实性问题前必须先调用;不要凭记忆作答" prevents both the agent that never checks and the agent that checks everything twice. Tool discipline written into the prompt is cheaper and more reliable than hoping the model infers it.

"A weak agent is almost never a weak model — it is an under-specified system prompt. Tell it which tools, in what order, and when to stop, and the same model behaves."

Tools, boundaries and format are what make an agent shippable

The fields people skip and regret are the workflow, the boundaries and the output format. The workflow turns a vague goal into an ordered sequence the agent can follow and you can debug: when something breaks, you can see exactly which step it broke at. The boundaries are what make the agent safe to put in front of real users — they tell it when to stop (the task is done, or no further progress is possible), when to hand the problem back to a human, and which actions it must never take on its own. An agent without an escalation rule is an agent that will, sooner or later, confidently do the wrong thing rather than admit it cannot proceed. Spending one extra line on "遇到高风险或无法确定时,停止并交还给人" is consistently the cheapest way to make an agent trustworthy. Constraints do not limit a capable agent; they keep a capable agent from doing damage.

The output format is the field that decides whether your agent can plug into a system at all. A human can read prose; downstream code cannot. If you want the agent's result consumed by another step — a router, a database write, a UI — say so explicitly: "以 JSON 返回,字段为 category、confidence、next_action." A fixed shape turns the agent from a chatbot into a component. Because the whole output is structured plain text, the same prompt is portable across every major Chinese model and works just as well on Claude, GPT or Gemini, and just as well inside whichever agent framework you favour. And because the tool runs entirely in your browser, you can iterate freely — tighten one field, copy again, test the agent, adjust — without anything you type ever leaving your device, being sent to a model, or being stored. Treat the first version as a draft: run the agent, watch where it over-calls a tool or fails to stop, and tighten the matching field. Two or three rounds of that usually turn a flaky agent into a dependable one, and you keep a clean, reusable system prompt at the end.

Say when NOT to call a tool, and when to stop

01

An agent system prompt differs from an ordinary prompt: it must also spell out the available tools, the workflow, and when to stop or escalate, because an agent acts on its own rather than answering one turn at a time.

02

A clear role-and-duties line is usually the highest-leverage line in an agent prompt, setting its remit, the limits of its authority and its decision-making viewpoint.

03

Write when to call each tool and when not to: OpenAI’s function-calling guide and Anthropic’s tool-use guide both ask for exactly that, not just a list of tool names.

04

Explicit stop conditions (task done, no further progress possible, out of scope) prevent the agent from looping or calling tools pointlessly in circles.

05

Stating "when to escalate to a human" is the key to shipping an agent safely: hand high-risk or uncertain cases back to a person instead of forcing an answer.

06

Breaking the workflow into ordered steps makes the agent's behaviour more predictable and makes it far easier to see which step went wrong.

07

A fixed output format (such as JSON or set fields) lets downstream code parse the agent's result — a prerequisite for wiring it into a system.

08

Agent prompts work just as well on DeepSeek, Qwen, Kimi, Claude and GPT, because at heart they are a structured plain-text system message.

09

Constraints and boundaries do not weaken an agent; they focus and protect it — "never invent data" and "ask for help when unsure" are high-value single lines.

10

This tool assembles the prompt entirely in your browser — your input is never uploaded, never sent to a model, and never stored.

Frequently Asked Questions

  • No. It simply joins the fields you fill in into a structured agent system prompt using a fixed template, entirely in your browser. It does not call any model and does not go online. You copy the generated prompt and use it in the agent framework or model of your choice.
  • An ordinary prompt is usually a one-shot instruction; an agent prompt has to support a model acting autonomously over many steps, so it must also spell out the available tools and when to call them, the workflow steps, and when to stop or escalate to a human. This tool's fields are built around exactly that structure.
  • List each tool with a name, a purpose, and the rule for when to call it and when not to. For example: "search_kb — search the knowledge base; must be called before answering any factual question; send_email — only call after the user explicitly confirms." Stating the timing cuts misfires far more than listing names alone.
  • Boundaries tell the agent when to stop, when to hand the problem back to a person, and what it must never do. Clear stop-and-escalate conditions prevent loops, out-of-scope actions and confident mistakes — they are what make an agent safe to ship.
  • It is a vendor-neutral, structured plain-text system message — usable on DeepSeek, Qwen, Kimi, ERNIE and Zhipu, as well as Claude, GPT and Gemini. You can also paste it straight into the system prompt of any agent framework.
  • No. Empty fields are omitted automatically. A role/duties line and a goal alone give you a usable prompt; adding the available tools, workflow and boundaries is what makes the agent more reliable and controllable.
  • No. All assembly happens locally in your browser with plain JavaScript. Nothing you type is sent to any model, server or third party, and nothing is stored.
  • State the structure you want in the "output format" field — e.g. "return JSON with fields category, confidence, next_action" or "answer in bullets, one sentence each." A fixed format lets downstream code parse the agent's output reliably.
  • List the key steps in order, e.g. "1. read the ticket → 2. search the knowledge base → 3. decide the category → 4. give the next step or escalate." Clear steps make behaviour predictable and make it easy to see where it went wrong — but you do not need to spell out every detail.
  • Completely free, with no account or sign-up and no usage limit. It runs in your browser and collects no data.

Method & sources

How it computes

Pure string assembly: a leading role line ('You are …' / '你是…', with a role typed as a full sentence trimmed so it is not doubled), then goal, tools with when to call them, workflow, constraints and stop conditions, and output format as headed sections; empty fields are left out. No model is called.

What this tool implements

  • Corrected 2026-10-25 (code): a role typed as a sentence came out doubled ('You are a triage agent..', '你是你是…。。'); fixed.
  • Corrected 2026-10-25: the English page promised a Chinese-language prompt with a '你是…' line, but outputs English; it now says so. 'Paste into the function-calling config' is corrected: the prompt goes in the system prompt and tools are defined in the framework's tools field, as OpenAI's guide lays out. 'Sharply reduces over-calling' was unsourced; the page now cites the two vendor guides that ask for when (and when not) to call each tool.
  • Stop conditions and escalating to a human follow Anthropic's Building effective agents.

Sources

Advertisement
Pre-footer · AD-W3 728 × 90