@agent-native/core 0.84.34 → 0.84.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/README.md +15 -51
  2. package/corpus/README.md +1 -1
  3. package/corpus/core/CHANGELOG.md +20 -0
  4. package/corpus/core/docs/content/actions.mdx +17 -24
  5. package/corpus/core/docs/content/agent-surfaces.mdx +59 -56
  6. package/corpus/core/docs/content/cloneable-saas.mdx +3 -3
  7. package/corpus/core/docs/content/faq.mdx +4 -4
  8. package/corpus/core/docs/content/getting-started.mdx +246 -204
  9. package/corpus/core/docs/content/key-concepts.mdx +9 -9
  10. package/corpus/core/docs/content/locales/ar-SA/cloneable-saas.mdx +3 -3
  11. package/corpus/core/docs/content/locales/ar-SA/faq.mdx +4 -4
  12. package/corpus/core/docs/content/locales/ar-SA/getting-started.mdx +148 -214
  13. package/corpus/core/docs/content/locales/ar-SA/pure-agent-apps.mdx +4 -9
  14. package/corpus/core/docs/content/locales/ar-SA/template-chat.mdx +2 -2
  15. package/corpus/core/docs/content/locales/ar-SA/using-your-agent.mdx +2 -2
  16. package/corpus/core/docs/content/locales/de-DE/cloneable-saas.mdx +3 -3
  17. package/corpus/core/docs/content/locales/de-DE/faq.mdx +4 -4
  18. package/corpus/core/docs/content/locales/de-DE/getting-started.mdx +145 -211
  19. package/corpus/core/docs/content/locales/de-DE/pure-agent-apps.mdx +4 -9
  20. package/corpus/core/docs/content/locales/de-DE/template-chat.mdx +2 -2
  21. package/corpus/core/docs/content/locales/de-DE/using-your-agent.mdx +2 -2
  22. package/corpus/core/docs/content/locales/es-ES/cloneable-saas.mdx +3 -3
  23. package/corpus/core/docs/content/locales/es-ES/faq.mdx +4 -4
  24. package/corpus/core/docs/content/locales/es-ES/getting-started.mdx +148 -214
  25. package/corpus/core/docs/content/locales/es-ES/pure-agent-apps.mdx +4 -9
  26. package/corpus/core/docs/content/locales/es-ES/template-chat.mdx +2 -2
  27. package/corpus/core/docs/content/locales/es-ES/using-your-agent.mdx +2 -2
  28. package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.mdx +2 -2
  29. package/corpus/core/docs/content/locales/fr-FR/faq.mdx +4 -4
  30. package/corpus/core/docs/content/locales/fr-FR/getting-started.mdx +146 -212
  31. package/corpus/core/docs/content/locales/fr-FR/pure-agent-apps.mdx +4 -9
  32. package/corpus/core/docs/content/locales/fr-FR/template-chat.mdx +2 -2
  33. package/corpus/core/docs/content/locales/fr-FR/using-your-agent.mdx +2 -2
  34. package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.mdx +3 -3
  35. package/corpus/core/docs/content/locales/hi-IN/faq.mdx +4 -4
  36. package/corpus/core/docs/content/locales/hi-IN/getting-started.mdx +149 -215
  37. package/corpus/core/docs/content/locales/hi-IN/pure-agent-apps.mdx +8 -13
  38. package/corpus/core/docs/content/locales/hi-IN/template-chat.mdx +2 -2
  39. package/corpus/core/docs/content/locales/hi-IN/using-your-agent.mdx +2 -2
  40. package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.mdx +2 -2
  41. package/corpus/core/docs/content/locales/ja-JP/faq.mdx +4 -4
  42. package/corpus/core/docs/content/locales/ja-JP/getting-started.mdx +144 -210
  43. package/corpus/core/docs/content/locales/ja-JP/pure-agent-apps.mdx +8 -13
  44. package/corpus/core/docs/content/locales/ja-JP/template-chat.mdx +2 -2
  45. package/corpus/core/docs/content/locales/ja-JP/using-your-agent.mdx +2 -2
  46. package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.mdx +3 -3
  47. package/corpus/core/docs/content/locales/ko-KR/faq.mdx +4 -4
  48. package/corpus/core/docs/content/locales/ko-KR/getting-started.mdx +146 -212
  49. package/corpus/core/docs/content/locales/ko-KR/pure-agent-apps.mdx +8 -13
  50. package/corpus/core/docs/content/locales/ko-KR/template-chat.mdx +2 -2
  51. package/corpus/core/docs/content/locales/ko-KR/using-your-agent.mdx +2 -2
  52. package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.mdx +3 -3
  53. package/corpus/core/docs/content/locales/pt-BR/faq.mdx +4 -4
  54. package/corpus/core/docs/content/locales/pt-BR/getting-started.mdx +145 -211
  55. package/corpus/core/docs/content/locales/pt-BR/pure-agent-apps.mdx +4 -9
  56. package/corpus/core/docs/content/locales/pt-BR/template-chat.mdx +2 -2
  57. package/corpus/core/docs/content/locales/pt-BR/using-your-agent.mdx +2 -2
  58. package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.mdx +3 -3
  59. package/corpus/core/docs/content/locales/zh-CN/faq.mdx +4 -4
  60. package/corpus/core/docs/content/locales/zh-CN/getting-started.mdx +158 -209
  61. package/corpus/core/docs/content/locales/zh-CN/pure-agent-apps.mdx +4 -9
  62. package/corpus/core/docs/content/locales/zh-CN/template-chat.mdx +2 -2
  63. package/corpus/core/docs/content/locales/zh-CN/using-your-agent.mdx +2 -2
  64. package/corpus/core/docs/content/locales/zh-TW/cloneable-saas.mdx +3 -3
  65. package/corpus/core/docs/content/locales/zh-TW/faq.mdx +4 -4
  66. package/corpus/core/docs/content/locales/zh-TW/getting-started.mdx +158 -212
  67. package/corpus/core/docs/content/locales/zh-TW/pure-agent-apps.mdx +4 -9
  68. package/corpus/core/docs/content/locales/zh-TW/template-chat.mdx +2 -2
  69. package/corpus/core/docs/content/locales/zh-TW/using-your-agent.mdx +2 -2
  70. package/corpus/core/docs/content/native-chat-ui.mdx +17 -32
  71. package/corpus/core/docs/content/pure-agent-apps.mdx +46 -26
  72. package/corpus/core/docs/content/template-chat.mdx +8 -8
  73. package/corpus/core/docs/content/using-your-agent.mdx +2 -2
  74. package/corpus/core/docs/content/what-is-agent-native.mdx +6 -6
  75. package/corpus/core/package.json +1 -1
  76. package/corpus/core/src/a2a/response-text.ts +10 -1
  77. package/corpus/core/src/agent/production-agent.ts +23 -20
  78. package/corpus/core/src/agent/run-manager.ts +46 -1
  79. package/corpus/core/src/agent/thread-data-builder.ts +15 -2
  80. package/corpus/core/src/cli/skills.ts +7 -9
  81. package/corpus/core/src/client/MultiTabAssistantChat.tsx +2 -0
  82. package/corpus/core/src/client/RunStuckBanner.tsx +172 -18
  83. package/corpus/core/src/client/blocks/library/wireframe-kit.tsx +57 -9
  84. package/corpus/core/src/client/blocks/library/wireframe.tsx +3 -18
  85. package/corpus/core/src/client/chat/widgets/builtin-tool-renderers.tsx +28 -32
  86. package/corpus/core/src/client/code-agent-chat-adapter.ts +8 -1
  87. package/corpus/core/src/client/sse-event-processor.ts +21 -3
  88. package/corpus/core/src/code-agents/transcript-normalizer.ts +31 -0
  89. package/corpus/core/src/db/schema.ts +5 -0
  90. package/corpus/core/src/server/agent-chat-plugin.ts +8 -2
  91. package/corpus/core/src/server/agent-teams.ts +24 -2
  92. package/corpus/core/src/styles/blocks.css +27 -6
  93. package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +1 -4
  94. package/corpus/templates/analytics/changelog/2026-07-01-smoother-chat-streaming.md +6 -0
  95. package/corpus/templates/content/actions/list-trashed-content-databases.ts +1 -1
  96. package/corpus/templates/plan/.agents/skills/visual-plan/references/wireframe.md +7 -9
  97. package/corpus/templates/plan/.agents/skills/visual-recap/references/wireframe.md +7 -9
  98. package/dist/a2a/response-text.d.ts +1 -0
  99. package/dist/a2a/response-text.d.ts.map +1 -1
  100. package/dist/a2a/response-text.js +8 -2
  101. package/dist/a2a/response-text.js.map +1 -1
  102. package/dist/agent/production-agent.d.ts.map +1 -1
  103. package/dist/agent/production-agent.js +31 -27
  104. package/dist/agent/production-agent.js.map +1 -1
  105. package/dist/agent/run-manager.d.ts +12 -0
  106. package/dist/agent/run-manager.d.ts.map +1 -1
  107. package/dist/agent/run-manager.js +32 -1
  108. package/dist/agent/run-manager.js.map +1 -1
  109. package/dist/agent/thread-data-builder.d.ts.map +1 -1
  110. package/dist/agent/thread-data-builder.js +15 -2
  111. package/dist/agent/thread-data-builder.js.map +1 -1
  112. package/dist/cli/skills.d.ts +1 -1
  113. package/dist/cli/skills.d.ts.map +1 -1
  114. package/dist/cli/skills.js +7 -9
  115. package/dist/cli/skills.js.map +1 -1
  116. package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
  117. package/dist/client/MultiTabAssistantChat.js +1 -1
  118. package/dist/client/MultiTabAssistantChat.js.map +1 -1
  119. package/dist/client/RunStuckBanner.d.ts +13 -1
  120. package/dist/client/RunStuckBanner.d.ts.map +1 -1
  121. package/dist/client/RunStuckBanner.js +123 -16
  122. package/dist/client/RunStuckBanner.js.map +1 -1
  123. package/dist/client/blocks/library/wireframe-kit.d.ts +6 -6
  124. package/dist/client/blocks/library/wireframe-kit.d.ts.map +1 -1
  125. package/dist/client/blocks/library/wireframe-kit.js +52 -5
  126. package/dist/client/blocks/library/wireframe-kit.js.map +1 -1
  127. package/dist/client/blocks/library/wireframe.d.ts.map +1 -1
  128. package/dist/client/blocks/library/wireframe.js +1 -11
  129. package/dist/client/blocks/library/wireframe.js.map +1 -1
  130. package/dist/client/chat/widgets/builtin-tool-renderers.d.ts.map +1 -1
  131. package/dist/client/chat/widgets/builtin-tool-renderers.js +27 -31
  132. package/dist/client/chat/widgets/builtin-tool-renderers.js.map +1 -1
  133. package/dist/client/code-agent-chat-adapter.d.ts.map +1 -1
  134. package/dist/client/code-agent-chat-adapter.js +5 -1
  135. package/dist/client/code-agent-chat-adapter.js.map +1 -1
  136. package/dist/client/sse-event-processor.d.ts.map +1 -1
  137. package/dist/client/sse-event-processor.js +21 -3
  138. package/dist/client/sse-event-processor.js.map +1 -1
  139. package/dist/code-agents/transcript-normalizer.d.ts.map +1 -1
  140. package/dist/code-agents/transcript-normalizer.js +24 -0
  141. package/dist/code-agents/transcript-normalizer.js.map +1 -1
  142. package/dist/collab/awareness.d.ts +2 -2
  143. package/dist/collab/awareness.d.ts.map +1 -1
  144. package/dist/collab/routes.d.ts +2 -2
  145. package/dist/db/schema.d.ts +2 -1
  146. package/dist/db/schema.d.ts.map +1 -1
  147. package/dist/db/schema.js +3 -2
  148. package/dist/db/schema.js.map +1 -1
  149. package/dist/notifications/routes.d.ts +3 -3
  150. package/dist/resources/handlers.d.ts +3 -3
  151. package/dist/server/agent-chat-plugin.d.ts.map +1 -1
  152. package/dist/server/agent-chat-plugin.js +2 -3
  153. package/dist/server/agent-chat-plugin.js.map +1 -1
  154. package/dist/server/agent-teams.d.ts.map +1 -1
  155. package/dist/server/agent-teams.js +17 -2
  156. package/dist/server/agent-teams.js.map +1 -1
  157. package/dist/server/transcribe-voice.d.ts +1 -1
  158. package/dist/styles/blocks.css +27 -6
  159. package/docs/content/actions.mdx +17 -24
  160. package/docs/content/agent-surfaces.mdx +59 -56
  161. package/docs/content/cloneable-saas.mdx +3 -3
  162. package/docs/content/faq.mdx +4 -4
  163. package/docs/content/getting-started.mdx +246 -204
  164. package/docs/content/key-concepts.mdx +9 -9
  165. package/docs/content/locales/ar-SA/cloneable-saas.mdx +3 -3
  166. package/docs/content/locales/ar-SA/faq.mdx +4 -4
  167. package/docs/content/locales/ar-SA/getting-started.mdx +148 -214
  168. package/docs/content/locales/ar-SA/pure-agent-apps.mdx +4 -9
  169. package/docs/content/locales/ar-SA/template-chat.mdx +2 -2
  170. package/docs/content/locales/ar-SA/using-your-agent.mdx +2 -2
  171. package/docs/content/locales/de-DE/cloneable-saas.mdx +3 -3
  172. package/docs/content/locales/de-DE/faq.mdx +4 -4
  173. package/docs/content/locales/de-DE/getting-started.mdx +145 -211
  174. package/docs/content/locales/de-DE/pure-agent-apps.mdx +4 -9
  175. package/docs/content/locales/de-DE/template-chat.mdx +2 -2
  176. package/docs/content/locales/de-DE/using-your-agent.mdx +2 -2
  177. package/docs/content/locales/es-ES/cloneable-saas.mdx +3 -3
  178. package/docs/content/locales/es-ES/faq.mdx +4 -4
  179. package/docs/content/locales/es-ES/getting-started.mdx +148 -214
  180. package/docs/content/locales/es-ES/pure-agent-apps.mdx +4 -9
  181. package/docs/content/locales/es-ES/template-chat.mdx +2 -2
  182. package/docs/content/locales/es-ES/using-your-agent.mdx +2 -2
  183. package/docs/content/locales/fr-FR/cloneable-saas.mdx +2 -2
  184. package/docs/content/locales/fr-FR/faq.mdx +4 -4
  185. package/docs/content/locales/fr-FR/getting-started.mdx +146 -212
  186. package/docs/content/locales/fr-FR/pure-agent-apps.mdx +4 -9
  187. package/docs/content/locales/fr-FR/template-chat.mdx +2 -2
  188. package/docs/content/locales/fr-FR/using-your-agent.mdx +2 -2
  189. package/docs/content/locales/hi-IN/cloneable-saas.mdx +3 -3
  190. package/docs/content/locales/hi-IN/faq.mdx +4 -4
  191. package/docs/content/locales/hi-IN/getting-started.mdx +149 -215
  192. package/docs/content/locales/hi-IN/pure-agent-apps.mdx +8 -13
  193. package/docs/content/locales/hi-IN/template-chat.mdx +2 -2
  194. package/docs/content/locales/hi-IN/using-your-agent.mdx +2 -2
  195. package/docs/content/locales/ja-JP/cloneable-saas.mdx +2 -2
  196. package/docs/content/locales/ja-JP/faq.mdx +4 -4
  197. package/docs/content/locales/ja-JP/getting-started.mdx +144 -210
  198. package/docs/content/locales/ja-JP/pure-agent-apps.mdx +8 -13
  199. package/docs/content/locales/ja-JP/template-chat.mdx +2 -2
  200. package/docs/content/locales/ja-JP/using-your-agent.mdx +2 -2
  201. package/docs/content/locales/ko-KR/cloneable-saas.mdx +3 -3
  202. package/docs/content/locales/ko-KR/faq.mdx +4 -4
  203. package/docs/content/locales/ko-KR/getting-started.mdx +146 -212
  204. package/docs/content/locales/ko-KR/pure-agent-apps.mdx +8 -13
  205. package/docs/content/locales/ko-KR/template-chat.mdx +2 -2
  206. package/docs/content/locales/ko-KR/using-your-agent.mdx +2 -2
  207. package/docs/content/locales/pt-BR/cloneable-saas.mdx +3 -3
  208. package/docs/content/locales/pt-BR/faq.mdx +4 -4
  209. package/docs/content/locales/pt-BR/getting-started.mdx +145 -211
  210. package/docs/content/locales/pt-BR/pure-agent-apps.mdx +4 -9
  211. package/docs/content/locales/pt-BR/template-chat.mdx +2 -2
  212. package/docs/content/locales/pt-BR/using-your-agent.mdx +2 -2
  213. package/docs/content/locales/zh-CN/cloneable-saas.mdx +3 -3
  214. package/docs/content/locales/zh-CN/faq.mdx +4 -4
  215. package/docs/content/locales/zh-CN/getting-started.mdx +158 -209
  216. package/docs/content/locales/zh-CN/pure-agent-apps.mdx +4 -9
  217. package/docs/content/locales/zh-CN/template-chat.mdx +2 -2
  218. package/docs/content/locales/zh-CN/using-your-agent.mdx +2 -2
  219. package/docs/content/locales/zh-TW/cloneable-saas.mdx +3 -3
  220. package/docs/content/locales/zh-TW/faq.mdx +4 -4
  221. package/docs/content/locales/zh-TW/getting-started.mdx +158 -212
  222. package/docs/content/locales/zh-TW/pure-agent-apps.mdx +4 -9
  223. package/docs/content/locales/zh-TW/template-chat.mdx +2 -2
  224. package/docs/content/locales/zh-TW/using-your-agent.mdx +2 -2
  225. package/docs/content/native-chat-ui.mdx +17 -32
  226. package/docs/content/pure-agent-apps.mdx +46 -26
  227. package/docs/content/template-chat.mdx +8 -8
  228. package/docs/content/using-your-agent.mdx +2 -2
  229. package/docs/content/what-is-agent-native.mdx +6 -6
  230. package/package.json +1 -1
@@ -1,259 +1,193 @@
1
1
  ---
2
- title: "आरंभ करना"
3
- description: "एक एजेंट ऐप बनाएं, निर्देशों, skills और actions को समझें, फिर एजेंट को उसकी पहली कार्रवाई को कॉल करते हुए देखें।"
2
+ title: "शुरुआत"
3
+ description: "Chat से शुरू होने वाली agentic app बनाएं, action जोड़ें, structured results inline render करें, और फिर agent के खोलने योग्य persistent page तक बढ़ाएं."
4
4
  ---
5
5
 
6
- # आरंभ करना
7
-
8
- Agent-Native ऐप्स एक AI एजेंट और आपके UI को समान actions, डेटा और देते हैं
9
- स्थिति. एक बुनियादी एजेंट उन निर्देशों से बनता है जो उसे निर्देशित करते हैं, skills जो सिखाते हैं
10
- दोहराने योग्य व्यवहार, और actions जो इसे वास्तविक कार्य करने देता है।
11
-
12
- **शुरू करने के लिए एक संपूर्ण ऐप चाहते हैं?** हमारे समृद्ध टेम्पलेट्स में से एक को क्लोन करें -
13
- [Chat](/docs/template-chat), [Mail](/docs/template-mail),
14
- [Calendar](/docs/template-calendar), [Content](/docs/template-content),
15
- [Analytics](/docs/template-analytics), और [many more](/docs/cloneable-saas) —
16
- प्रत्येक पूर्ण-विशेषताओं वाला ऐप जिसे आप अनुकूलित करते हैं।
17
-
18
- शुरुआत से निर्माण? सामने एकमात्र विकल्प यह है कि क्या आप UI —
19
- इसके बाद सब कुछ (निर्देश लिखना, skills जोड़ना, actions को परिभाषित करना, चलाना
20
- एजेंट) किसी भी तरह से एक ही है।
21
-
22
- <FileTree
23
- id="doc-block-s0hkyy"
24
- title={"एक बुनियादी Agent-Native agent"}
25
- entries={[
26
- {
27
- path: "AGENTS.md",
28
- note: "always-on instructions: purpose, rules, tone, और agent क्या कर सकता है उसका map",
29
- },
30
- {
31
- path: ".agents/skills/customer-research/SKILL.md",
32
- note: "task match होने पर agent जो reusable playbook load करता है",
33
- },
34
- {
35
- path: "actions/summarize-week.ts",
36
- note: "typed code जिसे agent, UI, CLI, HTTP, MCP, A2A, jobs, और webhooks चला सकते हैं",
37
- },
38
- ]}
39
- />
40
-
41
- यह सच है चाहे आप चैट UI से शुरू करें, एक हेडलेस एजेंट से, या एक पूर्ण ऐप से।
42
- UI सतह को बदलता है; निर्देश, skills, और actions एजेंट को इसका
43
- मार्गदर्शन और व्यवहार.
44
-
45
- ## 1. अपना ऐप बनाएं
46
-
47
- आपको [Node.js 22+](https://nodejs.org) और [pnpm](https://pnpm.io) की आवश्यकता होगी।
48
-
49
- बिना किसी झंडे के `create` चलाएं और यह पूछता है कि आप कैसे शुरू करना चाहते हैं (एक पूर्ण टेम्पलेट,
50
- चैट, या हेडलेस) किसी भी अन्य चीज़ से पहले:
6
+ # शुरुआत
51
7
 
52
- ```bash
53
- npx @agent-native/core@latest create my-app
54
- ```
8
+ Agent-Native agentic applications बनाने के लिए है: AI agent और UI वही [actions](/docs/actions), SQL data और application state साझा करते हैं. मुख्य रास्ता headless agent से नहीं, बल्कि Chat app से शुरू होता है ताकि उपयोगकर्ता agent से तुरंत बात कर सकें.
9
+
10
+ काम का क्रम:
11
+
12
+ 1. Chat app बनाएं.
13
+ 2. एक action जोड़ें.
14
+ 3. action result को chat में native inline UI के रूप में render करें.
15
+ 4. data को SQL में persist करें.
16
+ 5. ऐसा page जोड़ें जिसे visual inspection ज़रूरी होने पर agent खोल सके.
55
17
 
56
- या प्रॉम्प्ट को छोड़ने के लिए फ़्लैग पास करें:
18
+ ## 1. Chat app बनाएं {#create-your-app}
57
19
 
58
- **UI चाहते हैं?** चैट टेम्पलेट से प्रारंभ करें। आपको एक वर्किंग एजेंट और एक
59
- अनुकूलन योग्य चैट UI, और आपके द्वारा जोड़ी गई प्रत्येक क्रिया स्वचालित रूप से इसमें दिखाई देती है:
20
+ [Node.js 22+](https://nodejs.org) और [pnpm](https://pnpm.io) चाहिए.
60
21
 
61
22
  ```bash
62
23
  npx @agent-native/core@latest create my-app --template chat
24
+ cd my-app
25
+ pnpm install
26
+ pnpm dev
63
27
  ```
64
28
 
65
- **सिर्फ बिना सिर वाला आदिम?** बिना सिर के शुरू करें - वही actions और एजेंट
66
- लूप, कोई UI शेल नहीं:
67
-
68
- ```bash
69
- npx @agent-native/core@latest create my-agent --headless
29
+ इस template में durable chat threads, auth, live sync, `actions/` directory, standard `view-screen` और `navigate` actions, और extend करने योग्य React app शामिल है.
30
+
31
+ ## 2. action जोड़ें {#add-an-action}
32
+
33
+ Action वह typed operation है जिसे agent और UI दोनों call करते हैं. इस flow के लिए `actions/analyze-responses.ts` बनाएं: यह form responses analyze करता है और custom chat chart के लिए validated shape लौटाता है.
34
+
35
+ {/* prettier-ignore */}
36
+ ```ts
37
+ // actions/analyze-responses.ts
38
+ import { defineAction } from "@agent-native/core/action";
39
+ import { z } from "zod";
40
+
41
+ const responseChartResultSchema = z.object({
42
+ title: z.string(),
43
+ points: z.array(z.object({ day: z.string(), responses: z.number() })),
44
+ });
45
+
46
+ export default defineAction({
47
+ description: "Analyze recent form responses and render a custom chart.",
48
+ schema: z.object({
49
+ formId: z.string().default("demo")
50
+ }),
51
+ outputSchema: responseChartResultSchema,
52
+ chatUI: {
53
+ renderer: "responses.response-chart",
54
+ title: "प्रतिक्रिया चार्ट"
55
+ },
56
+ readOnly: true,
57
+ run: async ({ formId }) => ({
58
+ title: `Responses for ${formId}`,
59
+ points: [{ day: "Mon", responses: 12 }, { day: "Tue", responses: 18 }, { day: "Wed", responses: 24 }, { day: "Thu", responses: 21 }],
60
+ }),
61
+ });
70
62
  ```
71
63
 
72
- फिर आपके द्वारा बनाए गए फ़ोल्डर से इंस्टॉल करें:
64
+ इसे सीधे चलाएं:
73
65
 
74
66
  ```bash
75
- cd my-agent # या my-app यदि आपने चैट टेम्पलेट चुना है
76
- pnpm install
67
+ pnpm action analyze-responses --formId demo
77
68
  ```
78
69
 
79
- यहाँ से, दोनों समान हैं।
80
-
81
- ## 2. एक क्रिया जोड़ें
82
-
83
- एक कार्रवाई एक ऐसा ऑपरेशन है जिसे आपका एजेंट - और आपका UI - कॉल कर सकता है। दोनों मचान
84
- इस उदाहरण के साथ शिप करें:
85
-
86
- <AnnotatedCode
87
- id="doc-block-it13k1"
88
- title={"आपका पहला action"}
89
- filename="actions/hello.ts"
90
- language="ts"
91
- code={
92
- 'import { defineAction } from "@agent-native/core/action";\nimport { z } from "zod";\n\nexport default defineAction({\n description: "Local agent से hello कहें।",\n schema: z.object({\n name: z.string().default("world"),\n }),\n http: { method: "GET" },\n readOnly: true,\n run: async ({ name }) => {\n return { message: `Hello, ${name}!` };\n },\n});'
93
- }
94
- annotations={[
95
- {
96
- lines: "5",
97
- label: "टूल विवरण",
98
- note: "Agent `description` पढ़कर तय करता है कि इसे tool के रूप में कब call करना है।",
99
- },
100
- {
101
- lines: "6-8",
102
- label: "टाइप किया हुआ अनुबंध",
103
- note: "एक zod `schema` हर surface से input validate करता है: agent, UI, HTTP, MCP और A2A।",
104
- },
105
- {
106
- lines: "9",
107
- label: "HTTP क्रिया",
108
- note: "इस action को अपने-आप mount होने वाले HTTP endpoint में शामिल करें।",
109
- },
110
- {
111
- lines: "10",
112
- label: "केवल पढ़ने योग्य",
113
- note: "`readOnly` action को बिना approval सुरक्षित रूप से call करने योग्य और queries के लिए cacheable बताता है।",
114
- },
115
- {
116
- lines: "11-13",
117
- label: "एक implementation",
118
- note: "`run` body वही single source of truth है जिसे हर surface चलाता है।",
119
- },
120
- ]}
121
- />
122
-
123
- `hello` को अपने डोमेन में पहले वास्तविक ऑपरेशन से बदलें। आप इसे एक बार परिभाषित करें;
124
- हर सतह इसे उठाती है।
125
-
126
- निर्देशन के लिए `AGENTS.md` का उपयोग करें जो हर मोड़ पर लागू होना चाहिए। एक कौशल का प्रयोग करें जब
127
- एजेंट को पुन: प्रयोज्य वर्कफ़्लो या डोमेन प्रक्रिया की आवश्यकता होती है। किसी क्रिया का उपयोग करें जब
128
- एजेंट को डेटा पढ़ने, डेटा लिखने, API पर कॉल करने, या
129
- अनुमोदन करें।
130
-
131
- ## 3. इसे चलाएं
132
-
133
- कार्रवाई को सीधे कॉल करें:
70
+ या browser में agent से पूछें:
134
71
 
135
- ```bash
136
- pnpm action hello --name Steve
137
- ```
72
+ > डेमो फ़ॉर्म की हाल की प्रतिक्रियाओं का विश्लेषण करें.
138
73
 
139
- या एजेंट से इसे आपके लिए कॉल करने के लिए कहें:
74
+ ## 3. result को chat में render करें {#render-inline}
140
75
 
141
- ```bash
142
- pnpm agent "Call the hello action for Steve and explain what happened."
143
- ```
76
+ क्योंकि action `outputSchema` और product-specific `chatUI.renderer` declare करता है, transcript structured data को plain text में नहीं बदलता. फिर app startup से उसी exact renderer id के लिए React component register करें, जैसे `app/root.tsx` से `app/chat-renderers.tsx` को एक बार import करके:
144
77
 
145
- यदि आपने चैट टेम्पलेट से शुरुआत की है, तो ऐप चलाएं और उसी एजेंट का उपयोग करें
146
- ब्राउज़र - यह आपके द्वारा परिभाषित प्रत्येक क्रिया को पहले से ही कॉल कर सकता है:
78
+ {/* prettier-ignore */}
79
+ ```tsx
80
+ import { registerActionChatRenderer, type ToolRendererProps,} from "@agent-native/core/client/chat";
81
+
82
+ type ResponseChartResult = {
83
+ title: string;
84
+ points: Array<{ day: string; responses: number }>;
85
+ };
86
+
87
+ function ResponseChart({ context }: ToolRendererProps) {
88
+ const result = context.resultJson as ResponseChartResult;
89
+ const max = Math.max(...result.points.map((point) => point.responses), 1);
90
+ return (
91
+ <section className="rounded-lg border bg-card p-4">
92
+ <h3 className="text-sm font-medium">{result.title}</h3>
93
+ <div className="mt-4 flex h-32 items-end gap-2">
94
+ {result.points.map((point) => (
95
+ <div key={point.day} className="flex flex-1 flex-col items-center gap-2">
96
+ <div className="w-full rounded-t bg-primary" style={{ height: `${(point.responses / max) * 100}%` }} />
97
+ <span className="text-xs text-muted-foreground">{point.day}</span>
98
+ </div>
99
+ ))}
100
+ </div>
101
+ </section>
102
+ );
103
+ }
147
104
 
148
- ```bash
149
- pnpm dev
105
+ registerActionChatRenderer({
106
+ id: "responses.response-chart",
107
+ renderer: "responses.response-chart",
108
+ Component: ResponseChart,
109
+ });
150
110
  ```
151
111
 
152
- वह एक क्रिया अब चैट UI, CLI, HTTP, MCP, A2A, से उपलब्ध है
153
- अनुसूचित नौकरियां, और webhooks। एक बार परिभाषित करें, कहीं से भी कॉल करें।
154
-
155
- <Diagram id="doc-block-1odbgvm" title={"एक क्रिया, हर सतह"} summary={"एक defineAction फ़ाइल प्रत्येक उपभोक्ता को बिना किसी अतिरिक्त वायरिंग के प्रदान करती है।"}>
156
-
157
- ```html
158
- <div class="diagram-fan">
159
- <div class="diagram-box" data-rough>defineAction</div>
160
- <div class="diagram-arrow diagram-muted" aria-hidden="true">&rarr;</div>
161
- <div class="diagram-surfaces">
162
- <span class="diagram-pill">चैट UI</span><span class="diagram-pill">CLI</span
163
- ><span class="diagram-pill">HTTP</span><span class="diagram-pill">MCP</span
164
- ><span class="diagram-pill">A2A</span
165
- ><span class="diagram-pill">शेड्यूल किए गए जॉब</span
166
- ><span class="diagram-pill">Webhooks</span>
167
- </div>
168
- </div>
169
- ```
112
+ Reusable generic outputs के लिए framework built-in `data-chart` और `data-table` renderers भी देता है, साथ ही combined summary/chart/table cards के लिए `data-insights`. देखें [Native Chat UI](/docs/native-chat-ui).
170
113
 
171
- ```css
172
- .diagram-fan {
173
- display: flex;
174
- align-items: center;
175
- gap: 14px;
176
- flex-wrap: wrap;
177
- }
178
- .diagram-fan .diagram-surfaces {
179
- display: flex;
180
- flex-wrap: wrap;
181
- gap: 8px;
182
- max-width: 420px;
183
- }
184
- .diagram-fan .diagram-arrow {
185
- font-size: 22px;
186
- line-height: 1;
187
- }
188
- ```
114
+ <WireframeBlock id="doc-block-inline-result-wireframe-hi">
115
+ <Screen
116
+ surface="desktop"
117
+ html={
118
+ "<div style='min-height:340px;box-sizing:border-box;padding:24px;display:flex;justify-content:center;align-items:center;background:var(--wf-bg)'><div style='width:min(530px,100%);display:flex;flex-direction:column;gap:14px'><div class='wf-card' data-rough style='align-self:flex-end;max-width:70%;padding:12px 14px'><strong>User</strong><p style='margin:6px 0 0'>डेमो प्रतिक्रियाओं का विश्लेषण करें.</p></div><div class='wf-card' data-rough style='align-self:flex-start;width:min(370px,100%);padding:14px'><strong>Agent</strong><p class='wf-muted' style='margin:6px 0 12px'>responses.response-chart से रेंडर किया गया.</p><section class='wf-card' data-rough style='padding:14px'><h3 style='margin:0 0 12px;font-size:14px'>प्रतिक्रिया चार्ट</h3><div data-rough='line:bottom' style='height:104px;display:flex;align-items:end;gap:8px;border-bottom:1.4px solid var(--wf-line);padding-bottom:4px'><div style='flex:1;display:flex;flex-direction:column;align-items:center;gap:6px'><div data-rough style='height:38px;width:100%;background:color-mix(in srgb, var(--wf-accent) 24%, transparent);border:1.4px solid var(--wf-accent);border-radius:8px 8px 3px 3px'></div><span class='wf-muted'>सोम</span></div><div style='flex:1;display:flex;flex-direction:column;align-items:center;gap:6px'><div data-rough style='height:62px;width:100%;background:color-mix(in srgb, var(--wf-accent) 30%, transparent);border:1.4px solid var(--wf-accent);border-radius:8px 8px 3px 3px'></div><span class='wf-muted'>मंगल</span></div><div style='flex:1;display:flex;flex-direction:column;align-items:center;gap:6px'><div data-rough style='height:86px;width:100%;background:color-mix(in srgb, var(--wf-accent) 36%, transparent);border:1.4px solid var(--wf-accent);border-radius:8px 8px 3px 3px'></div><span class='wf-muted'>बुध</span></div><div style='flex:1;display:flex;flex-direction:column;align-items:center;gap:6px'><div data-rough style='height:54px;width:100%;background:color-mix(in srgb, var(--wf-accent) 42%, transparent);border:1.4px solid var(--wf-accent);border-radius:8px 8px 3px 3px'></div><span class='wf-muted'>गुरु</span></div></div></section></div></div></div>"
119
+ }
120
+ />
121
+ </WireframeBlock>
189
122
 
190
- </Diagram>
123
+ ## 4. SQL में data persist करें {#persist-data}
191
124
 
192
- ## राज्य का निर्माण हुआ है
125
+ जब result को दोबारा देखना, compare करना या update करना हो, उसे SQL में रखें और reads/writes को actions के पीछे रखें:
193
126
 
194
- हेडलेस का मतलब स्टेटलेस नहीं है। Actions, सत्र, एप्लिकेशन स्थिति, थ्रेड्स,
195
- रन इतिहास, और क्रेडेंशियल सभी SQL में रहते हैं। स्थानीय रूप से यह SQLite है
196
- `data/app.db`; उत्पादन में आपने `DATABASE_URL` सेट किया है। देखें
197
- [Deployment](/docs/deployment).
127
+ Table को framework के portable helpers से define करें, `drizzle-orm/sqlite-core` या `drizzle-orm/pg-core` imports से नहीं:
198
128
 
199
- <Callout id="doc-block-1peunl" tone="info">
129
+ ```ts
130
+ // server/db/schema.ts
131
+ import { integer, now, table, text } from "@agent-native/core/db/schema";
200
132
 
201
- **हेडलेस अभी भी एक वास्तविक ऐप है।** ऐप-एजेंट लूप SQL में सत्र, थ्रेड, रन, सेटिंग्स और क्रेडेंशियल्स को बनाए रखता है - यह एक स्टेटलेस प्रॉम्प्ट नहीं है। आप बाद में अपने कार्यों या स्थिति को छुए बिना UI जोड़ सकते हैं।
133
+ export const responseInsights = table("response_insights", {
134
+ id: text("id").primaryKey(),
135
+ formId: text("form_id").notNull(),
136
+ title: text("title").notNull(),
137
+ summary: text("summary").notNull(),
138
+ responseCount: integer("response_count").notNull(),
139
+ createdAt: text("created_at").notNull().default(now()),
140
+ updatedAt: text("updated_at").notNull().default(now()),
141
+ });
142
+ ```
202
143
 
203
- </Callout>
144
+ ये helpers configured SQL backend चुनते हैं, इसलिए वही schema local SQLite और production में Postgres, Turso/libSQL, D1 या किसी supported SQL provider पर चल सकता है.
204
145
 
205
- ## UI को अनुकूलित करें
146
+ - `create-response-insight` नया insight लिखता है.
147
+ - `list-response-insights` page के लिए data पढ़ता है.
148
+ - `update-response-insight` record update करता है.
149
+ - `analyze-responses` chat का native widget लौटाता रहता है.
206
150
 
207
- यदि आपने चैट टेम्पलेट से शुरुआत की है, तो संपादित करने के लिए UI आपका है। चैट ही
208
- `<AgentChatSurface>` घटक पर निर्मित एक छोटा मार्ग है:
151
+ Browser के लिए अलग duplicate REST route बनाएं; UI और agent को actions साझा करने चाहिए.
209
152
 
210
- ```tsx
211
- // app/routes/_index.tsx
212
- import { AgentChatSurface } from "@agent-native/core/client";
153
+ ## 5. agent के खोलने योग्य page जोड़ें {#add-a-page}
213
154
 
214
- export default function ChatRoute() {
215
- return <AgentChatSurface mode="page" className="h-full" />;
216
- }
217
- ```
155
+ `/response-insights` route जोड़ें और `useActionQuery("list-response-insights")`, `useActionMutation("create-response-insight")` इस्तेमाल करें. यह page SQL state का projection है; data वही actions लिखते हैं.
218
156
 
219
- - **`app/routes/_index.tsx`** — चैट पेज। सुझाव बदलें, रिक्त
220
- स्थिति, और लेआउट.
221
- - **`app/root.tsx`** - ऐप शेल।
222
- एजेंट.
223
- - एजेंट को `<AgentSidebar>` के साथ किसी भी स्क्रीन पर छोड़ें, उस पर हाथ से काम करें
224
- `sendToAgentChat()` के साथ बटन, या सीधे
225
- `useActionMutation()`.
157
+ <WireframeBlock id="doc-block-response-insights-page-wireframe-hi">
158
+ <Screen
159
+ surface="desktop"
160
+ html={
161
+ "<main style='min-height:440px;box-sizing:border-box;padding:28px;background:var(--wf-bg)'><section style='max-width:960px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:stretch'><section class='wf-card' data-rough style='display:flex;flex-direction:column;gap:16px'><header><h2 style='margin:0 0 4px;font-size:28px'>प्रतिक्रिया insights</h2><p class='wf-muted' style='margin:0'>फ़ॉर्म प्रतिक्रियाओं से agent ने बनाए insights.</p></header><button class='primary' data-rough style='align-self:flex-start'>डेमो फ़ॉर्म विश्लेषित करें</button><section style='display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px'><article class='wf-box' data-rough style='padding:12px'><strong>मूल्य निर्धारण थीम</strong><p class='wf-muted' style='margin:8px 0 0'>यूज़र टीम प्लान मांगते हैं.</p></article><article class='wf-box' data-rough style='padding:12px'><strong>ऑनबोर्डिंग ड्रॉप-ऑफ़</strong><p class='wf-muted' style='margin:8px 0 0'>तीन चरणों को ज्यादा स्पष्ट copy चाहिए.</p></article></section><section class='wf-card' data-rough style='display:flex;flex-direction:column;gap:10px'><div class='wf-row wf-box' data-rough style='padding:10px 12px;gap:12px;justify-content:space-between'><strong>डेमो फ़ॉर्म</strong><span class='wf-muted'>42 प्रतिक्रियाओं का विश्लेषण हुआ</span></div><div class='wf-row wf-box' data-rough style='padding:10px 12px;gap:12px;justify-content:space-between'><strong>अगला चरण</strong><span class='wf-muted'>दो draft insights देखें</span></div></section></section><aside class='wf-card' data-rough style='height:100%;box-sizing:border-box;display:flex;flex-direction:column;gap:12px'><strong>चैट</strong><div class='wf-box' data-rough style='align-self:flex-end;max-width:210px;padding:10px 12px'><span class='wf-muted'>आप</span><p style='margin:4px 0 0'>प्रतिक्रिया insights खोलें.</p></div><div class='wf-box' data-rough style='align-self:flex-start;max-width:210px;padding:10px 12px'><span class='wf-muted'>Agent</span><p style='margin:4px 0 0'>प्रतिक्रिया insights खोल दिए.</p></div></aside></section></main>"
162
+ }
163
+ />
164
+ </WireframeBlock>
226
165
 
227
- पूर्ण घटक सेट के लिए [Drop-in Agent](/docs/drop-in-agent) देखें, और
228
- [Native चैट UI](/docs/native-chat-ui) क्रिया परिणामों को तालिकाओं के रूप में प्रस्तुत करने के लिए,
229
- चार्ट, और सादे पाठ के बजाय टाइप किए गए कार्ड।
166
+ `view-screen` और `navigate` को extend करें ताकि agent current route जान सके और `/response-insights` खोल सके. Results में `href: "/response-insights"` भी हो सकता है, जिससे chat में "प्रतिक्रिया insights खोलें" button दिखे.
230
167
 
231
- **बिना सोचे-समझे शुरू कर दिया और बाद में UI चाहिए?** चैट टेम्पलेट UI ऑन-रैंप है -
232
- इसकी `app/` परत (React राउटर + Vite) बिल्कुल बिना सिर वाले मचान के समान है
233
- बाहर निकल जाता है। सबसे साफ कदम चैट
234
- टेम्पलेट; आपकी `actions/`, एजेंट और SQL स्थिति अपरिवर्तित बनी रहेगी। देखें
235
- बीच में प्रत्येक सतह के लिए [Agent Surfaces](/docs/agent-surfaces)।
168
+ जब full-page chat app page खोलता है, तो [Agent Surfaces](/docs/agent-surfaces#rich-chat) से `AgentChatSurface`, `AgentSidebar`, `useAgentChatHomeHandoff`, `useAgentChatHomeHandoffLinks` और `chatViewTransition` इस्तेमाल करें ताकि वही thread रखते हुए chat side panel में slide हो जाए.
236
169
 
237
- ## परियोजना संरचना
170
+ ## Project structure {#project-structure}
238
171
 
239
172
  ```text
240
173
  my-app/
241
- actions/ # Agent द्वारा call की जा सकने वाली actions
242
- app/ # React फ्रंटएंड (केवल UI templates; headless में हटाया जाता है)
243
- server/ # Nitro API सर्वर (routes, plugins)
244
- AGENTS.md # हमेशा लागू रहने वाले agent instructions
245
- .agents/ # ज़रूरत पड़ने पर agent द्वारा लाए जा सकने वाले skills
246
- data/app.db # DATABASE_URL न होने पर local SQLite state
174
+ actions/ # Agent और UI से कॉल किए जा सकने वाले operations
175
+ app/ # React routes, pages, और chat surfaces
176
+ server/ # Nitro server और SQL schema
177
+ AGENTS.md # App agent के लिए हमेशा सक्रिय instructions
178
+ .agents/ # ज़रूरत पड़ने पर agent जिन skills को लोड करता है
179
+ data/app.db # DATABASE_URL सेट न होने पर local SQLite state
247
180
  ```
248
181
 
249
- ## आगे कहां जाना है
250
-
251
- - **[Key Concepts](/docs/key-concepts)** - मुख्य वास्तुकला: SQL, actions,
252
- सिंक, और संदर्भ जागरूकता।
253
- - **[Actions](/docs/actions)** - पूर्ण क्रिया API: स्कीमा, HTTP, प्रमाणीकरण, और
254
- अनुमोदन.
255
- - **[Agent Surfaces](/docs/agent-surfaces)** - हेडलेस, चैट, एंबेडेड साइडकार,
256
- और पूरा ऐप।
257
- - **[Drop-in Agent](/docs/drop-in-agent)** - एजेंट चैट को किसी भी React ऐप में जोड़ें।
258
- - **[Deployment](/docs/deployment)** — अपने ऐप को अपने डोमेन पर रखें।
259
- - **[FAQ](/docs/faq)** — सेटअप और उत्पाद प्रश्न।
182
+ ## Analytics के लिए मजबूत starting point चाहिए? {#analytics-starting-point}
183
+
184
+ ऊपर वाला प्रतिक्रिया insights example जानबूझकर छोटा है ताकि framework की pieces साफ दिखें. अगर आप वास्तविक analytics product बना रहे हैं, तो [Analytics](/docs/template-analytics) से शुरू करें. यह robust starting point है: अपने providers connect करें, existing dashboards और agent actions इस्तेमाल करें, फिर वहीं से customize करें.
185
+
186
+ ## आगे क्या {#next}
187
+
188
+ - **[Actions](/docs/actions)** schemas, auth, approvals, hooks और transport.
189
+ - **[Native Chat UI](/docs/native-chat-ui)** — action results को tables, charts और typed cards के रूप में render करें.
190
+ - **[Chat Template](/docs/template-chat)** न्यूनतम chat-first app.
191
+ - **[Analytics Template](/docs/template-analytics)** — robust analytics app starting point; providers connect करें और customize करें.
192
+ - **[Context Awareness](/docs/context-awareness)** — `view-screen`, `navigate`, route state और selected objects.
193
+ - **[Agent Surfaces](/docs/agent-surfaces)** — chat, inline UI, app pages, embedded sidecars, automation और external agents.
@@ -1,16 +1,11 @@
1
1
  ---
2
- title: "प्योर-एजेंट ऐप्स"
3
- description: "ऐप्स जहां एजेंट संपूर्ण उत्पाद है: ऐप-एजेंट लूप सामने का दरवाजा है, और UI केवल तब जोड़ा जाता है जब मनुष्यों को इसकी आवश्यकता होती है।"
2
+ title: "Automation-First Apps"
3
+ description: "scheduled jobs, queues, scripts, integration workers और external agents के लिए no-browser Agent-Native apps."
4
4
  ---
5
5
 
6
- # प्योर-एजेंट ऐप्स
6
+ # Automation-First Apps
7
7
 
8
- एक प्योर-एजेंट ऐप एजेंट-नेटिव का न्यूनतम अंत है: ऐप-एजेंट लूप
9
- उत्पाद, डैशबोर्ड नहीं। आप टर्मिनल, Slack, ईमेल, a
10
- निर्धारित नौकरी, अन्य एजेंट, या चैट - "मेरे अपठित ईमेल को संक्षेप में प्रस्तुत करें," "पोस्ट करें
11
- दैनिक मेट्रिक्स Slack के लिए" - और एजेंट कार्य करता है और जहां कहीं भी परिणाम लौटाता है
12
- के अंतर्गत आता है। यह अभी भी एक वास्तविक ऐप है: actions, सत्र, ऐप स्थिति, इतिहास,
13
- सेटिंग्स, क्रेडेंशियल और शेयर रिकॉर्ड सभी SQL में रहते हैं।
8
+ Automation-first app scheduled jobs, queues, scripts, integration workers और external agents के लिए no-browser Agent-Native app है. यह Getting Started का default path नहीं है, लेकिन जब workflow को अभी page की ज़रूरत नहीं होती तब उपयोगी है. यह अभी भी एक वास्तविक app है: actions, sessions, application state, run history, settings, credentials और share records सभी SQL में रहते हैं.
14
9
 
15
10
  <Diagram id="doc-block-pwjkyy" title={"ऐप-एजेंट लूप सामने का दरवाजा है"} summary={"कई प्रवेश बिंदु SQL-backed क्रियाओं और स्थिति पर एक एजेंट लूप तक पहुंचते हैं; जहां से अनुरोध आया वहां परिणाम वापस आ जाते हैं। यूआई केवल तभी जोड़ा जाता है जब इंसानों को पर्यवेक्षण की आवश्यकता होती है।"}>
16
11
 
@@ -66,7 +61,7 @@ description: "ऐप्स जहां एजेंट संपूर्ण
66
61
  जब कार्य पृष्ठभूमि में चलता है, तो इस आकृति तक पहुंचें, आउटपुट निकल जाता है
67
62
  ऐप, डोमेन वन-शॉट है, या आप प्रोटोटाइप कर रहे हैं। एजेंट को अभी भी UI —
68
63
  एक डैशबोर्ड नहीं, बल्कि मनुष्यों के लिए इसकी देखरेख, कॉन्फ़िगर और संचालन करने के लिए एक जगह -
69
- यही कारण है कि प्योर-एजेंट ऐप्स भी आमतौर पर अंतर्निहित चैट शेल को माउंट करते हैं।
64
+ यही कारण है कि automation-first apps भी आमतौर पर built-in chat shell mount करते हैं.
70
65
 
71
66
  यह **बिना सिर** उत्पाद का आकार है। संपूर्ण निर्णय मार्गदर्शिका, क्या भेजा जाता है
72
67
  बॉक्स, मचान, रेपो एक्सेस और रन शेयरिंग अब एक ही स्थान पर रहते हैं:
@@ -76,8 +71,8 @@ description: "ऐप्स जहां एजेंट संपूर्ण
76
71
  ## आगे क्या है
77
72
 
78
73
  - [**Agent Surfaces — Headless**](/docs/agent-surfaces#headless) - पूर्ण नेतृत्वहीन निर्णय मार्गदर्शिका और APIs
79
- - [**Getting Started**](/docs/getting-started) - पहले एक चैट ऐप या हेडलेस एजेंट बनाएं
80
- - [**Dispatch**](/docs/template-dispatch) - वर्कस्पेस टेम्पलेट जो एक बेहतरीन प्योर-एजेंट शुरुआती बिंदु है
74
+ - [**Getting Started**](/docs/getting-started) - पहले chat-first app बनाएं, फिर actions, inline results और pages तक बढ़ाएं
75
+ - [**Dispatch**](/docs/template-dispatch) - automation-first workflows के लिए उपयोगी workspace template
81
76
  - [**Messaging the agent**](/docs/messaging) - उपयोगकर्ता वेब, Slack, टेलीग्राम, ईमेल पर एजेंट से कैसे बात करते हैं
82
77
  - [**Recurring Jobs**](/docs/recurring-jobs) - निर्धारित संकेत एजेंट अपने आप चलता है
83
- - [**Actions**](/docs/actions) - वे उपकरण जिन्हें आपका प्योर-एजेंट कॉल करेगा
78
+ - [**Actions**](/docs/actions) - वे tools जिन्हें आपकी automation-first app call करेगी
@@ -7,7 +7,7 @@ description: "एक न्यूनतम चैट-फर्स्ट एज
7
7
 
8
8
  चैट मूल एजेंट-नेटिव ऐप शुरुआती बिंदु है। यह आपको केंद्र में चैट के साथ एक साफ ChatGPT-शैली शेल, बाईं ओर एक थ्रेड सूची, मानक ऐप नेविगेशन, ऑथ, लाइव सिंक, actions और एक उदाहरण कार्रवाई देता है। जब आप एक वास्तविक ब्राउज़र ऐप चाहते हैं तो यहां से प्रारंभ करें जिसे आप डोमेन टेम्पलेट से जुड़े बिना बना सकते हैं।
9
9
 
10
- यदि आप बिना ब्राउज़र UI के सबसे छोटा एक्शन-ओनली रनटाइम चाहते हैं, तो [Pure-Agent Apps](/docs/pure-agent-apps) से शुरू करें। यदि आप एक तैयार डोमेन उत्पाद आकार चाहते हैं, तो [Calendar](/docs/template-calendar), [Mail](/docs/template-mail), [Content](/docs/template-content), [Forms](/docs/template-forms), [Analytics](/docs/template-analytics), या किसी अन्य डोमेन टेम्पलेट से प्रारंभ करें।
10
+ यदि आप बिना browser UI वाला automation-first runtime चाहते हैं, तो [Automation-First Apps](/docs/pure-agent-apps) से शुरू करें. यदि आप एक तैयार domain product shape चाहते हैं, तो [Calendar](/docs/template-calendar), [Mail](/docs/template-mail), [Content](/docs/template-content), [Forms](/docs/template-forms), [Analytics](/docs/template-analytics), या किसी अन्य domain template से प्रारंभ करें।
11
11
 
12
12
  <WireframeBlock id="doc-block-7fjxec">
13
13
  <Screen
@@ -198,4 +198,4 @@ export default function ChatRoute() {
198
198
  - [**Agent Surfaces**](/docs/agent-surfaces) - हेडलेस, चैट, एंबेडेड और फुल-ऐप पैटर्न
199
199
  - [**Actions**](/docs/actions) - एक्शन सिस्टम चैट और UI दोनों कॉल
200
200
  - [**Native चैट UI**](/docs/native-chat-ui) - चैट सतह आदिम और रनटाइम विकल्प
201
- - [**Pure-Agent Apps**](/docs/pure-agent-apps) - केवल एक्शन ऐप्स जो बाद में चैट में विकसित हो सकते हैं
201
+ - [**Automation-First Apps**](/docs/pure-agent-apps) - बिना browser UI वाली automations, queues, scripts और external agent workflows
@@ -99,7 +99,7 @@ description: "एजेंट के साथ काम करने का द
99
99
 
100
100
  हर ऐप को पूर्ण डैशबोर्ड की आवश्यकता नहीं होती है। जब एजेंट *उत्पाद*है, तो आप अधिकांश कस्टम UI को छोड़ सकते हैं: ऐप खोलें, जो आप चाहते हैं उसके लिए पूछें, और एजेंट को बाकी काम करने दें। एजेंट के पास अभी भी प्रबंधन सतह है - इतिहास, कार्यक्षेत्र, सेटिंग्स - लेकिन प्राथमिक इंटरैक्शन क्लिक के बजाय बातचीत है।
101
101
 
102
- → [**Pure-Agent Apps**](/docs/pure-agent-apps) - ऐसे ऐप्स जहां एजेंट ही संपूर्ण उत्पाद है।
102
+ → [**Automation-First Apps**](/docs/pure-agent-apps) - jobs, queues, scripts और external agents के लिए no-browser apps।
103
103
 
104
104
  ## आप इसके साथ सह-संपादन करें {#you-co-edit}
105
105
 
@@ -113,5 +113,5 @@ description: "एजेंट के साथ काम करने का द
113
113
  - [**Agent Mentions**](/docs/agent-mentions) — इसे `@`-उल्लेखों के साथ निर्देशित करें
114
114
  - [**Voice Input**](/docs/voice-input) - इसे बोलकर निर्देशित करें
115
115
  - [**Drop-in Agent**](/docs/drop-in-agent) — इसे किसी भी React ऐप में एम्बेड करें
116
- - [**Pure-Agent Apps**](/docs/pure-agent-apps) - जब एजेंट उत्पाद हो तो UI-लाइट करें
116
+ - [**Automation-First Apps**](/docs/pure-agent-apps) - jobs, queues, scripts और external agents के लिए no-browser apps
117
117
  - [**Real-Time Collaboration**](/docs/real-time-collaboration) — एक ही दस्तावेज़ को एक साथ सह-संपादित करें
@@ -30,7 +30,7 @@ description: "動作する SaaS 製品をフォークして、エージェント
30
30
  | [**Plan**](/docs/template-plan) | 図、ワイヤーフレーム、注釈を使用した視覚的な計画と PR の要約。 |
31
31
  | [**Dispatch**](/docs/template-dispatch) | ワークスペース コントロール プレーン: 共有シークレット、再利用可能な統合、Slack/テレグラム、スケジュールされたジョブ。 |
32
32
 
33
- ドメイン アプリが不要ですか?ユーザーがすぐに会話できる基本的なアプリが必要な場合は、[Chat](/docs/template-chat) を使用するか、[Pure-Agent Apps](/docs/pure-agent-apps) でアクションから始めてください。
33
+ ドメイン アプリが不要ですか? ユーザーがすぐに会話でき、actions、ネイティブ結果、画面へ拡張できる基本アプリが必要な場合は、[Chat](/docs/template-chat) を使用してください。まだブラウザー UI が不要な workflow の場合だけ [Automation-First Apps](/docs/pure-agent-apps) を使用します。
34
34
 
35
35
  [Apps](/apps) で完全なカタログを参照するか、カタログに直接ジャンプしてください。たとえば、ワークスペース スタイルのアプリが必要な場合は、[Dispatch](/docs/template-dispatch) から始めるのが最適です。
36
36
 
@@ -182,7 +182,7 @@ description: "動作する SaaS 製品をフォークして、エージェント
182
182
  npx @agent-native/core@latest create my-platform
183
183
  ```
184
184
 
185
- 複数選択ピッカーが表示されます。 1 つのアプリ (スタンドアロン) または複数のアプリ (ワークスペース - アプリは認証、ブランド、エージェント構成、データベースを共有) を選択します。選択した各テンプレートは、必要なすべてのファイルとともに `apps/<name>/` にスキャフォールディングされます。テンプレート UI の代わりにアクション専用アプリの場合は、`npx @agent-native/core@latest create my-agent --headless` を使用します。
185
+ 複数選択ピッカーが表示されます。 1 つのアプリ (スタンドアロン) または複数のアプリ (ワークスペース - アプリは認証、ブランド、エージェント構成、データベースを共有) を選択します。選択した各テンプレートは、必要なすべてのファイルとともに `apps/<name>/` にスキャフォールディングされます。テンプレート UI の代わりにブラウザー UI のない automation を作る場合は、`npx @agent-native/core@latest create my-agent --headless` を使用します。
186
186
 
187
187
  `.env` (主に `ANTHROPIC_API_KEY` と `DATABASE_URL`)、`pnpm install`、`pnpm dev` を入力すると機能します。 「TODO: ログインの実装」、プレースホルダー ルートはありません。
188
188
 
@@ -11,15 +11,15 @@ description: "エージェント ネイティブについてよくある質問
11
11
 
12
12
  ### エージェントネイティブとは何ですか? {#what-is-agent-native}
13
13
 
14
- エージェントネイティブは、AI エージェントとその周囲の製品表面が対等なパートナーとなるアプリを構築するためのフレームワークです。そのサーフェスは、1 つのカスタム アクションを備えたヘッドレス エージェントとして開始し、リッチ チャットに成長したり、完全な UI になることができます。不変条件は、エージェントと人間が同じ actions、データベース、状態を共有することです。完全な説明については、[What Is Agent-Native?](/docs/what-is-agent-native) を参照してください。
14
+ エージェントネイティブは、AI エージェントとその周囲の製品表面が対等なパートナーとなるアプリを構築するためのフレームワークです。通常の流れは chat から始まり、typed actions を追加し、構造化結果をインライン表示し、同じ SQL state の上に永続ページを増やします。不変条件は、エージェントと人間が同じ actions、データベース、状態を共有することです。完全な説明については、[What Is Agent-Native?](/docs/what-is-agent-native) を参照してください。
15
15
 
16
16
  ### これは誰のためのものですか? {#who-is-this-for}
17
17
 
18
18
  エージェント ネイティブは、実際のアプリと AI エージェントが同じデータと actions から動作することを望む人向けです。一般的なパスは次のとおりです。
19
19
 
20
20
  - メール、カレンダー、フォーム、プラン、または設定なしで完成した別のテンプレートが必要な場合は、**ホストされたアプリを使用します**。[template gallery](/templates) から始めてください。
21
- - ユーザーがすぐに会話できる基本的なアプリが必要な場合は、**チャットから始めます**。次に、actions と画面で拡張します。[Getting Started](/docs/getting-started) または [Chat](/docs/template-chat) から始めます。
22
- - **プリミティブファーストで開始** UI にコミットする前に 1 つのアクションとヘッドレスアプリエージェントループが必要な場合は、[Getting Started](/docs/getting-started) から開始します。
21
+ - ユーザーがすぐに agent と会話でき、actions、ネイティブ結果、画面へ拡張する既定のゼロからの道が必要な場合は、**チャットから始めます**。[Getting Started](/docs/getting-started) または [Chat](/docs/template-chat) から始めます。
22
+ - 予定タスク、queues、scripts、integration workers、またはまだブラウザー UI が不要な外部 agent workflows を作る場合は、**automation-first で開始**します。[Automation-First Apps](/docs/pure-agent-apps) から始めます。
23
23
  - 認証、データベース、UI、エージェント actions がすでに接続されている独自の SaaS 製品が必要な場合は、**テンプレートをフォークしてカスタマイズします**。[Templates](/docs/cloneable-saas) を参照してください。
24
24
  - **最初から構築** 新しいエージェント駆動製品のフレームワーク プリミティブが必要な場合は、[Getting Started](/docs/getting-started) から始めます。
25
25
  - **別のエージェントまたはコード ツールを接続します** Claude、ChatGPT、Codex、カーソル、または GitHub Copilot / VS Code でエージェント ネイティブ アプリを使用する場合は、「[External Agents](/docs/external-agents) および [Skills Guide](/docs/skills-guide)」を参照してください。
@@ -130,7 +130,7 @@ Anthropic Claude、OpenAI (GPT-5 ファミリー)、Google Gemini、および Op
130
130
 
131
131
  ### テンプレートでカバーされていないものを構築できますか? {#build-from-scratch}
132
132
 
133
- はい。基本的なチャット アプリが必要な場合は、`npx @agent-native/core@latest create my-chat-app --template chat` を実行します。耐久性のあるチャット スレッド、actions、認証、SQL に基づくランタイム状態、および独自の画面を追加する余地が得られます。 UI を持たない最小のアクション優先アプリが必要な場合は、`npx @agent-native/core@latest create my-agent --headless` を実行します。 [Getting Started](/docs/getting-started)、[Pure-Agent Apps](/docs/pure-agent-apps)、および [Chat](/docs/template-chat) を参照してください。
133
+ はい。基本的な agentic app が必要な場合は、`npx @agent-native/core@latest create my-chat-app --template chat` を実行します。耐久性のあるチャット スレッド、actions、認証、SQL に基づくランタイム状態、ネイティブ インライン表示、および独自の画面を追加する余地が得られます。ブラウザーなしの automation を作る場合は、`npx @agent-native/core@latest create my-agent --headless` を実行します。[Getting Started](/docs/getting-started)、[Automation-First Apps](/docs/pure-agent-apps)、および [Chat](/docs/template-chat) を参照してください。
134
134
 
135
135
  ### テンプレートをフォークせずに試してみることはできますか? {#try-with-a-skill}
136
136