
Turning GitHub Copilot CLI into an AI Agent via ACP
I wanted an AI agent that could check the news, emails, and my calendar. While OpenClaw is currently popular, dealing with its security and permission requirements can be a hassle. By operating the familiar GitHub Copilot CLI through scheduled execution scripts or Discord, I was able to achieve what I wanted. Receiving execution results periodically is convenient, but being able to ask follow-up questions or give instructions for deeper dives directly is even better. GitHub Repository: Lunran/acp-client Step 1: Launch GitHub Copilot CLI as an ACP Server First, start the GitHub Copilot CLI as an ACP server. copilot --acp --port 8100 Running it within a sandbox can improve safety. Reference: https://zenn.dev/lunran/scraps/5105de92cb9687 docker ps -a --format '{{.Names}}' | grep -q "^copilot-acp-container\$" || \ docker start -ai copilot-acp-container || \ docker run -it \ --name copilot-acp-container \ -p 8100:8100 \ -v $(pwd):/workspace \ -v ./.copilot:/home/agent/.copilot \ -e GITHUB_T
Continue reading on Dev.to
Opens in a new tab



