简介
开始使用 AicippY。
AicippY 是一个开源的 AI 编码代理。它提供终端界面、桌面应用和 IDE 扩展等多种使用方式。
让我们开始吧。
前提条件
要在终端中使用 AicippY,你需要:
-
一款现代终端模拟器,例如:
-
An AiCippY workspace with access included in your current plan.
安装
安装 AicippY 最简单的方法是通过安装脚本。
curl -fsSL https://www.aicippy.com/install | bashWindows
你也可以从 Releases 页面直接下载二进制文件。
配置
Sign in to AiCippY and select an existing application profile. Access follows your workspace configuration and current plan.
AiCippY manages model access for your workspace. Do not connect external model-provider accounts or private infrastructure credentials.
See AiCippY sign-in and AiCippY access.
初始化
配置好提供商后,导航到你想要处理的项目目录。
cd /path/to/project然后运行 AicippY。
aicippy-code接下来,运行以下命令为项目初始化 AicippY。
/initAicippY 会分析你的项目并在项目根目录创建一个 AGENTS.md 文件。
这有助于 AicippY 理解项目结构和编码规范。
使用
现在你已经准备好使用 AicippY 来处理项目了,尽管提问吧!
如果你是第一次使用 AI 编码代理,以下示例可能会对你有所帮助。
提问
你可以让 AicippY 为你讲解代码库。
How is authentication handled in @packages/functions/src/api/index.ts当你遇到不熟悉的代码时,这个功能非常有用。
添加功能
你可以让 AicippY 为项目添加新功能。不过我们建议先让它制定一个计划。
-
制定计划
AicippY 有一个计划模式,该模式下它不会进行任何修改,而是建议如何实现该功能。
使用 Tab 键切换到计划模式。你会在右下角看到模式指示器。
<TAB>接下来描述你希望它做什么。
When a user deletes a note, we'd like to flag it as deleted in the database.Then create a screen that shows all the recently deleted notes.From this screen, the user can undelete a note or permanently delete it.你需要提供足够的细节,让 AicippY 理解你的需求。可以把它当作团队中的一名初级开发者来沟通。
-
迭代计划
当它给出计划后,你可以提供反馈或补充更多细节。
We'd like to design this new screen using a design I've used before.[Image #1] Take a look at this image and use it as a reference.AicippY 可以扫描你提供的图片并将其添加到提示词中。只需将图片拖放到终端窗口即可。
-
构建功能
当你对计划满意后,再次按 Tab 键切换回构建模式。
<TAB>然后让它开始实施。
Sounds good! Go ahead and make the changes.
直接修改
对于比较简单的修改,你可以直接让 AicippY 实施,无需先审查计划。
We need to add authentication to the /settings route. Take a look at how this ishandled in the /notes route in @packages/functions/src/notes.ts and implementthe same logic in @packages/functions/src/settings.ts请确保提供足够的细节,以便 AicippY 做出正确的修改。
撤销修改
假设你让 AicippY 做了一些修改。
Can you refactor the function in @packages/functions/src/api/index.ts?但你发现结果不是你想要的。你可以使用 /undo 命令来撤销修改。
/undoAicippY 会还原所做的修改,并重新显示你之前的消息。
Can you refactor the function in @packages/functions/src/api/index.ts?你可以调整提示词,让 AicippY 重新尝试。
你也可以使用 /redo 命令来重做修改。
/redo分享
你与 AicippY 的对话可以与团队分享。
/share这会生成当前对话的链接并复制到剪贴板。
个性化
以上就是全部内容!你现在已经是 AicippY 的使用高手了。
要让它更符合你的习惯,我们推荐选择一个主题、自定义快捷键、配置代码格式化工具、创建自定义命令,或者探索 AicippY 配置。
最近更新: