# Coding Agent 相關文章

所有標記為「Coding Agent」的文章，共 18 篇。
URL: https://kaochenlong.com/tags/coding-agent

## 2026

- 2026-10-02 [Day 18 - 一輪對話要花多少錢](https://kaochenlong.com/measure-agent-token-costs.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Anthropic API](https://kaochenlong.com/tags/anthropic-api.md)、[Context Window](https://kaochenlong.com/tags/context-window.md)
- 2026-10-01 [Day 17 - 打開 streaming](https://kaochenlong.com/stream-agent-responses.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Anthropic SDK](https://kaochenlong.com/tags/anthropic-sdk.md)
- 2026-09-30 [Day 16 - System Prompt 該寫什麼](https://kaochenlong.com/write-a-coding-agent-system-prompt.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[System Prompt](https://kaochenlong.com/tags/system-prompt.md)、[Prompt Engineering](https://kaochenlong.com/tags/prompt-engineering.md)
- 2026-08-15 [Day 15 - 把 agent 關在工作目錄](https://kaochenlong.com/restrict-an-agent-to-the-workspace.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Sandbox](https://kaochenlong.com/tags/sandbox.md)
- 2026-08-14 [Day 14 - 把 rm -rf 攔下來](https://kaochenlong.com/add-permissions-to-an-agent.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Shell Safety](https://kaochenlong.com/tags/shell-safety.md)
- 2026-08-13 [Day 13 - 【實戰】放手修一個 bug](https://kaochenlong.com/let-an-agent-fix-a-bug.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Anthropic SDK](https://kaochenlong.com/tags/anthropic-sdk.md)
- 2026-08-12 [Day 12 - 讓迴圈停得下來](https://kaochenlong.com/keep-agent-loops-under-control.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Agent Loop](https://kaochenlong.com/tags/agent-loop.md)
- 2026-08-11 [Day 11 - 執行 shell 指令](https://kaochenlong.com/run-shell-commands-from-an-agent.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Shell](https://kaochenlong.com/tags/shell.md)、[subprocess](https://kaochenlong.com/tags/subprocess.md)
- 2026-08-10 [Day 10 - write_file 的防呆機制](https://kaochenlong.com/write-file-without-overwriting.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[File Tools](https://kaochenlong.com/tags/file-tools.md)
- 2026-08-09 [Day 09 - 改 code 為什麼用字串替換](https://kaochenlong.com/edit-code-with-string-replacement.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[String Replacement](https://kaochenlong.com/tags/string-replacement.md)
- 2026-08-08 [Day 08 - 在專案裡搜尋](https://kaochenlong.com/search-code-with-ripgrep.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Search](https://kaochenlong.com/tags/search.md)
- 2026-08-07 [Day 07 - 開眼！看見整個專案](https://kaochenlong.com/let-an-agent-see-the-project.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Working Directory](https://kaochenlong.com/tags/working-directory.md)、[Context Management](https://kaochenlong.com/tags/context-management.md)
- 2026-08-06 [Day 06 - 第一個工具 read_file](https://kaochenlong.com/build-a-read-file-tool.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Tool Use](https://kaochenlong.com/tags/tool-use.md)
- 2026-08-05 [Day 05 - 模型怎麼使用工具](https://kaochenlong.com/how-ai-models-use-tools.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Tool Use](https://kaochenlong.com/tags/tool-use.md)、[Function Calling](https://kaochenlong.com/tags/function-calling.md)
- 2026-08-04 [Day 04 - 讓模型假裝有記憶](https://kaochenlong.com/give-an-ai-chat-memory.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[對話歷史](https://kaochenlong.com/tags/%E5%B0%8D%E8%A9%B1%E6%AD%B7%E5%8F%B2.md)、[Context Window](https://kaochenlong.com/tags/context-window.md)
- 2026-08-03 [Day 03 - 第一個 API 請求](https://kaochenlong.com/first-anthropic-api-request.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[Anthropic SDK](https://kaochenlong.com/tags/anthropic-sdk.md)
- 2026-08-02 [Day 02 - 側錄 Claude Code！](https://kaochenlong.com/inspect-claude-code-requests.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[System Prompt](https://kaochenlong.com/tags/system-prompt.md)、[Tool Use](https://kaochenlong.com/tags/tool-use.md)
- 2026-08-01 [Day 01 - Claude Code 其實就只是一個 while 迴圈](https://kaochenlong.com/build-your-own-claude-code.md) — [Claude Code](https://kaochenlong.com/tags/claude-code.md)、[AI Agent](https://kaochenlong.com/tags/ai-agent.md)、[Agent Loop](https://kaochenlong.com/tags/agent-loop.md)
