MoonBit agent SDK and pim coding agent CLI
Dependencies

just package # 构建 npm dist
npm install -g . # symlink 到全局pimDEEPSEEK_API_KEY=sk-xxx
pim -p "What's the capital of France? Respond with only the city name."
# Parispim -p "What's the capital of France? Respond with only the city name." --mode json
# {"type":"agent_start"}
# {"type":"turn_start"}
# {"type":"message_start","message":{"role":"user","content":[{"type":"text","text":"What's the capital of France? Respond with only the city name."}],"timestamp":1786903823973}}
# ...
# {"type":"agent_end"}| 变量 | 作用 |
|---|---|
| PIM_CONFIG_DIR | 配置目录,默认 ~/.pim |
| PIM_SESSION_DIR | 会话 JSONL 目录(等价于 --session-dir) |
{
"deepseek": { "type": "api_key", "key": "sk-xxx" }
}DEEPSEEK_API_KEY=sk-xxx pim -p "hi"Install
Download zipMoonBit agent SDK and pim coding agent CLI
Dependencies