Ollama Local Model Manager — AI Skill Guide
Extension: ollama
Manages local Ollama AI models for agents to use without cloud API keys.
Available Commands
Server Status
tubecli ollama status
List Models
tubecli ollama models
Pull Model
tubecli ollama pull qwen:latest
tubecli ollama pull llama3:8b
tubecli ollama pull gemma2:9b
Remove Model
tubecli ollama remove qwen:latest
Show Model Details
tubecli ollama show qwen:latest
List Running Models
tubecli ollama running
API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | /api/v1/ollama/status | Server status |
| GET | /api/v1/ollama/models | List models |
| GET | /api/v1/ollama/running | List loaded models |
| POST | /api/v1/ollama/pull | Pull model |
| DELETE | /api/v1/ollama/models | Remove model |
| GET | /api/v1/ollama/models/{name} | Model details |
| POST | /api/v1/ollama/assign | Assign model to agent |
AI Usage
- Check if Ollama is running:
GET /api/v1/ollama/status - List available models:
GET /api/v1/ollama/models - If needed model not installed, pull it:
POST /api/v1/ollama/pull {"model": "qwen:latest"} - Assign to agent:
POST /api/v1/ollama/assign {"agent_id": "...", "model": "qwen:latest"}