# LLAMACPP

## AI Provider: llama.cpp

* [llama.cpp](https://github.com/ggerganov/llama.cpp)
* [Agent-LLM](https://github.com/Josh-XT/Agent-LLM)

## Quick Start Guide

*Note: AI\_MODEL should stay `default` unless there is a folder in `model-prompts` specific to the model that you're using. You can also create one and add your own prompts.*

### Update your agent settings

1. Make sure your model is placed in the folder `models/`
2. Create a new agent
3. Set `AI_PROVIDER` to `llamacpp`.
4. Set `MODEL_PATH` to the path of your llama.cpp model (for docker containers `models/` is mapped to `/model`)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://agent-llm.gitbook.io/docs/providers/llamacpp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
