# 🤖 pi.dev | Claude alternative

---
### 1. Follow this page to install:
[pi.dev github](https://github.com/earendil-works/pi/tree/main/packages/coding-agent)

---
### 2. Install extension: **Pi Coding Agent**
[![](https://wiki.chenjia.org/uploads/images/gallery/2026-05/scaled-1680-/n79zVDpGS8mjb3MN-image-1779586350466.png)](https://wiki.chenjia.org/uploads/images/gallery/2026-05/n79zVDpGS8mjb3MN-image-1779586350466.png)

---
### 3. Connect to hosted llm service:
- Edit file: **"C:\Users\helloworld\\.pi\agent\models.json"**
```json
{
  "providers": {
	"llama-cpp": {
	  "baseUrl": "http://localhost:8888/v1",
	  "api": "openai-completions",
	  "apiKey": "none",
	  "compat": {
		"supportsDeveloperRole": false
	  },
	  "models": [
		{
		  "id": "unsloth/gemma-4-E2B-it-GGUF:Q4_K_M",
		  "input": [
			"text",
			"image"
		  ],
		  "contextWindow": 131072,
          "maxTokens": 32000,
		  "reasoning": true
		}
	  ]
    }
  }
}

```
>⚠️ Important: Do not using Ollama because tool calling is buggy and not stable for coding agent. Use llama.cpp / vllm / sglang for best compatibility and performance.

---

### 4. Select model and go
- Open vscode or codium, then press Ctrl + Shift + T
- Type: Pi Open
[![](https://wiki.chenjia.org/uploads/images/gallery/2026-05/scaled-1680-/8wOum4cVtQZF7esk-image-1779586950095.png)](https://wiki.chenjia.org/uploads/images/gallery/2026-05/8wOum4cVtQZF7esk-image-1779586950095.png)

```
/model # select model
```

[![](https://wiki.chenjia.org/uploads/images/gallery/2026-05/scaled-1680-/NgAhCwBKi9SHUAx3-image-1779586844143.png)](https://wiki.chenjia.org/uploads/images/gallery/2026-05/NgAhCwBKi9SHUAx3-image-1779586844143.png)

---

### 5. Recommend models
- [Qwen3.6-35B-A3B-MTP](https://huggingface.co/unsloth/Qwen3.6-35B-A3B-MTP-GGUF)
- [Qwen3.6-27B-MTP](https://huggingface.co/unsloth/Qwen3.6-27B-MTP-GGUF)
- [Gemma4-26B-A4B-IT](https://huggingface.co/unsloth/gemma-4-26B-A4B-it-GGUF)
- [Gemma4-31B-IT](https://huggingface.co/unsloth/gemma-4-31B-it-GGUF)