Skip to content

Commit d62839a

Browse files
improve agent part in the doc
1 parent e6c282c commit d62839a

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

docs/source/agentic.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ This instructs the agent to clone the repository, read coding guidelines/skills,
8080
You are an AI coding assistant. Please follow these steps to set up our project workspace and solve my requests:
8181
8282
1. Run `git clone https://github.com/tensorcircuit/tensorcircuit-ng.git .` to download the repository in this empty folder.
83-
2. Read `AGENTS.md` at the root of the repository to understand the coding standards.
84-
3. Review the available agentic workflow scripts and skill files under `.agents/skills/` to see if a specialized workflow is suitable for the current task.
85-
4. Reference existing implementations in `examples/` and test cases in `tests/` to write differentiable, and JIT-friendly code.
86-
5. Respond to my later requests, write code, and execute experiments/tests to analyse the results.
83+
2. Install the git-cloned TensorCircuit-NG library locally in the appropriate Python environment. If unsure which Python environment is appropriate, ask the user.
84+
3. Read `AGENTS.md` at the root of the repository to understand the coding standards.
85+
4. Review the available agentic workflow scripts and skill files under `.agents/skills/` to see if a specialized workflow is suitable for the current task.
86+
5. Reference existing implementations in `examples/` and test cases in `tests/` to write differentiable, and JIT-friendly code.
87+
6. Respond to my later requests, write code, and execute experiments/tests to analyse the results.
8788
8889
Let me know when the initialization is complete and ask for my requests.
8990

docs/source/locale/zh_CN/LC_MESSAGES/agentic.po

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: tensorcircuit-ng \n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2026-06-10 09:49+0800\n"
12+
"POT-Creation-Date: 2026-06-15 16:24+0800\n"
1313
"PO-Revision-Date: 2026-03-31 13:30+0800\n"
1414
"Last-Translator: Gemini CLI\n"
1515
"Language: zh_CN\n"
@@ -177,10 +177,23 @@ msgid ""
177177
msgstr "通过将极致性能与自主的、意图驱动的 AI 工作流相结合,TensorCircuit-NG 助力研究人员从手动编码转向自动化的科学发现。"
178178

179179
#: ../../source/agentic.rst:73
180+
msgid "Initial Prompt for Empty Workspace Setup"
181+
msgstr "空白工作区初始设置提示词"
182+
183+
#: ../../source/agentic.rst:75
184+
msgid ""
185+
"When starting in a completely empty folder/workspace with an AI agent, "
186+
"you can copy and paste the following initial prompt to bootstrap the "
187+
"agent. This instructs the agent to clone the repository, read coding "
188+
"guidelines/skills, and execute tasks accordingly:"
189+
msgstr ""
190+
"当在完全空白的文件夹/工作区中使用 AI 智能体时,您可以复制并粘贴以下初始提示词以引导该智能体。这将指示智能体克隆仓库、阅读编码规范与技能文件,并相应地执行任务:"
191+
192+
#: ../../source/agentic.rst:93
180193
msgid "AI-Native Documentation"
181194
msgstr "AI 原生文档"
182195

183-
#: ../../source/agentic.rst:75
196+
#: ../../source/agentic.rst:95
184197
msgid ""
185198
"One can also refer to AI-native docs for tensorcircuit-ng: `Devin "
186199
"Deepwiki <https://deepwiki.com/tensorcircuit/tensorcircuit-ng>`_, `Google"

0 commit comments

Comments
 (0)