Instructions to use IldaLabs/OpenCodeAgent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use IldaLabs/OpenCodeAgent with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf IldaLabs/OpenCodeAgent:Q4_K_M # Run inference directly in the terminal: llama cli -hf IldaLabs/OpenCodeAgent:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf IldaLabs/OpenCodeAgent:Q4_K_M # Run inference directly in the terminal: llama cli -hf IldaLabs/OpenCodeAgent:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf IldaLabs/OpenCodeAgent:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf IldaLabs/OpenCodeAgent:Q4_K_M
Use Docker
docker model run hf.co/IldaLabs/OpenCodeAgent:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use IldaLabs/OpenCodeAgent with Ollama:
ollama run hf.co/IldaLabs/OpenCodeAgent:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use IldaLabs/OpenCodeAgent with Docker Model Runner:
docker model run hf.co/IldaLabs/OpenCodeAgent:Q4_K_M
- Lemonade
How to use IldaLabs/OpenCodeAgent with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull IldaLabs/OpenCodeAgent:Q4_K_M
Run and chat with the model
lemonade run user.OpenCodeAgent-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download template from IldaLabs/OpenCodeAgent: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/IldaLabs/OpenCodeAgent/resolve/2e89bf79876a42b8022477dc444b2f3bee2156af/template
- Command line
-
hf download hf://IldaLabs/OpenCodeAgent@2e89bf79876a42b8022477dc444b2f3bee2156af/template
-
curl -L -o template https://huggingface.co/IldaLabs/OpenCodeAgent/resolve/2e89bf79876a42b8022477dc444b2f3bee2156af/template
272 Bytes
| {{- if .System }}<|im_start|>system | |
| {{ .System }}<|im_end|> | |
| {{- end }} | |
| {{- if .Tools }}<|im_start|>system | |
| Available Tools: | |
| {{ .Tools }}<|im_end|> | |
| {{- end }} | |
| {{- range $i, $_ := .Messages }} | |
| <|im_start|>{{ .Role }} | |
| {{ .Content }}<|im_end|> | |
| {{- end }} | |
| <|im_start|>assistant | |