Skip to content

Instantly share code, notes, and snippets.

@up1
Last active July 27, 2026 07:57
Show Gist options
  • Select an option

  • Save up1/ac11c6e999655f48fb083451df37d3b7 to your computer and use it in GitHub Desktop.

Select an option

Save up1/ac11c6e999655f48fb083451df37d3b7 to your computer and use it in GitHub Desktop.
Hello Pi Coding Agent
# 1. ติดตั้ง Pi
$curl -fsSL https://pi.dev/install.sh | sh
$pi update
$pi --version
0.82.1
# 2. Buildins tools
read - Read file contents
bash - Execute bash commands
edit - Edit files with find/replace
write - Write files (creates/overwrites)
grep - Search file contents (read-only, off by default)
find - Find files by glob pattern (read-only, off by default)
ls - List directory contents (read-only, off by default)
# 3. LLM provider ที่ support เพียบ สามารถ config ผ่าน environment variable ได้เลย
ANTHROPIC_API_KEY - Anthropic Claude API key
OPENAI_API_KEY - OpenAI GPT API key
DEEPSEEK_API_KEY - DeepSeek API key
NVIDIA_API_KEY - NVIDIA NIM API key
GEMINI_API_KEY - Google Gemini API key
XAI_API_KEY - xAI Grok API key
OPENROUTER_API_KEY - OpenRouter API key
ZAI_API_KEY - ZAI Coding Plan API key (Global)
MISTRAL_API_KEY - Mistral API key
MINIMAX_API_KEY - MiniMax API key
MOONSHOT_API_KEY - Moonshot AI API key
OPENCODE_API_KEY - OpenCode Zen/OpenCode Go API key
KIMI_API_KEY - Kimi For Coding API key
CLOUDFLARE_API_KEY - Cloudflare API token (Workers AI and AI Gateway)
QWEN_TOKEN_PLAN_API_KEY - Qwen Token Plan API key (international region)
$pi
pi v0.82.1
escape interrupt · ctrl+c/ctrl+d clear/exit · / commands · ! bash · ctrl+o more
Press ctrl+o to show full startup help and loaded resources.
Pi can explain its own features and look up its docs. Ask it how to use or extend Pi.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment