dfinke/PSClaudeCode
82 stars · Last commit 2026-02-07
A PowerShell implementation of Claude Code: agent loop + tools + permissions.
README preview
<p align="center">
<img src="reference/PowerShell-Claude-Code.png" alt="alt text" width="450">
</p>
<p align="center">
<a href="https://x.com/dfinke">
<img src="https://img.shields.io/twitter/follow/dfinke.svg?style=social&label=Follow%20%40dfinke"></a>
<a href="https://youtube.com/@dougfinke">
<img src="https://img.shields.io/youtube/channel/subscribers/UCP47ZkO5EDkoI2sr-3P4ShQ"></a>
</p>
<br/>
<br/>
# PSClaudeCode
Ever wondered how AI agents like Claude Code work their magic? Dive into this PowerShell implementation and build your own intelligent assistant from scratch!
Inspired by the original [Claude Code article](https://x.com/dabit3/status/2009668398691582315?s=20), this project demonstrates how to create a PowerShell AI agent using Anthropic's Claude API. Start with a simple command runner and evolve it into a sophisticated agent with function calling, file operations, and conversational capabilities.
# In Action