base44-platform-agents
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- GENERATED FILE. DO NOT EDIT. Compiled from the Base44 builder's prompt sources; the
source commit is in /SOURCE_COMMIT at the repository root. Edits here are overwritten by
the next sync; change the source instead. -->
<!-- 生成的文件,请勿编辑。由 Base44 builder 的 prompt sources 编译而成;
源提交记录位于仓库根目录的 /SOURCE_COMMIT 中。这里的修改会在下次同步时被覆盖;
请改为修改源文件。 -->
Base44 agents
Base44 agents
An agent is a file under ; writing it defines the agent. Build the conversation UI with the agents SDK, or run a code agent on the AI gateway.
.jsoncbase44/agents/Agent 是位于 下的 文件;编写该文件即定义了一个 Agent。可以使用 agents SDK 构建对话 UI,也可以在 AI gateway 上运行 code agent。
base44/agents/.jsoncPick the reference for this app
为此应用选择参考资料
Determine the app profile first. Call (over the Base44 MCP
tool, or with your Base44 CLI token); it returns the framework, app type, runtime,
entitlements and the exact reference files to read. Without it, detect from the project files:
and mean TanStack Start; means a
native mobile (Expo) app; otherwise it is a Vite SPA.
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| Profile | Read |
|---|---|
| Web app, Vite SPA (the default web template) | Agents (Vite SPA: tools are backend functions) |
| Web app, TanStack Start | Agents (TanStack Start: tools are server routes) |
首先确定应用类型。通过 Base44 MCP 的 工具或使用 Base44 CLI token,调用 ;它会返回框架、应用类型、运行时、权限配置以及需要读取的确切参考文件。如果没有该信息,则根据项目文件进行检测:
和 表示 TanStack Start; 表示原生移动应用(Expo);否则为 Vite SPA。
execute_apiGET /api/apps/{app_id}/agent-profilesrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| 应用类型 | 阅读 |
|---|---|
| Web 应用,Vite SPA(默认 Web 模板) | Agents(Vite SPA:工具是 backend functions) |
| Web 应用,TanStack Start | Agents(TanStack Start:工具是 server routes) |