You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: 'Installing an AI agent on an OVHcloud VPS'
3
-
excerpt: 'Find out how to deploy an AI agent like OpenInterpreter or GPT4All on an OVHcloud VPS'
4
-
updated: 2025-06-26
3
+
excerpt: 'Find out how to deploy an AI agent like Open Interpreter or GPT4All on an OVHcloud VPS'
4
+
updated: 2025-08-14
5
5
---
6
6
7
7
## Objective
8
8
9
-
This guide explains how to deploy an on-premises AI agent on an OVHcloud VPS, without depending on the cloud of external providers. You will use a ready-to-use Docker container containing an open-source AI agent, such as [OpenInterpreter](https://github.com/KillianLucas/open-interpreter), [GPT4All](https://github.com/nomic-ai/gpt4all) or [Auto-GPT](https://github.com/Torantulino/Auto-GPT).
9
+
This guide explains how to deploy an on-premises AI agent on an OVHcloud VPS, without depending on the cloud of external providers. You will use a ready-to-use Docker container containing an open-source AI agent, such as [Open Interpreter](https://github.com/KillianLucas/open-interpreter), [GPT4All](https://github.com/nomic-ai/gpt4all) or [Auto-GPT](https://github.com/Torantulino/Auto-GPT).
10
10
11
-
**Find out how to deploy an AI agent such as OpenInterpreter or GPT4All on an OVHcloud VPS.**
11
+
**Find out how to deploy an AI agent such as Open Interpreter or GPT4All on an OVHcloud VPS.**
12
12
13
13
## Requirements
14
14
15
-
-You must have a [VPS](https://www.ovhcloud.com/en-gb/vps/) that works (Debian 11 or higher is recommended)
16
-
-administrative (sudo) access to your server via SSH
15
+
-A [OVHcloud VPS](https://www.ovhcloud.com/en-gb/vps/) (Debian 11 or higher is recommended)
16
+
-Administrative (sudo) SSH access to your server
17
17
- Python ≥ 3.10 installed on the VPS
18
18
19
-
## In practice
19
+
## Instructions
20
20
21
21
### Update your VPS and install Python <aname="step1"></a>
22
22
23
-
Open a terminal and connect to your VPS with the following command (replacing `IP_DU_VPS` with the real IP):
23
+
Open a terminal and connect to your VPS with the following command (replacing `VPS_IP` with the real IP):
### Create a virtual environment and install Open Interpreter <aname="step2"></a>
48
48
49
-
Recent environments limit the use of “pip” globally. It is recommended that you create and use a virtual environment:
49
+
Recent environments limit the use of `pip` globally. It is recommended that you create and use a virtual environment:
50
50
51
-
‘bash
51
+
```bash
52
52
python3 -m venv ~/venv-openinterpreter
53
53
source~/venv-openinterpreter/bin/activate
54
-
“
54
+
```
55
55
56
56
Install Open Interpreter:
57
57
58
-
‘bash
58
+
```bash
59
59
pip install --upgrade pip
60
60
pip install open-interpreter
61
-
“
61
+
```
62
62
63
63
### Configure an AI template for the agent (local or remote) <aname="step3"></a>
64
64
65
65
#### Option 1 - Use OpenAI (GPT-4o, GPT-3.5, etc.)
66
66
67
67
You must have an OpenAI API key. Add it when you launch it for the first time, or set it beforehand:
68
68
69
-
‘bash
69
+
```bash
70
70
export OPENAI_API_KEY="API_KEY"
71
71
interpret
72
-
“
72
+
```
73
73
74
74
Then follow the instructions.
75
75
76
76
#### Option 2 - Use a local model (via Ollama)
77
77
78
78
If you do not want to use OpenAI, run a local model using Ollama:
79
79
80
-
‘bash
80
+
```bash
81
81
interpreter --local
82
-
“
82
+
```
83
83
84
84
This will give you several options (Ollama, LM Studio, etc.). We recommend using Ollama, as it is easy to install and compatible with several modern models such as `llama3` or `mistral`.
85
85
86
86
Install Ollama:
87
87
88
-
‘bash
88
+
```bash
89
89
sudo apt install curl -y
90
90
curl -fsSL https://ollama.com/install.sh | sh
91
91
exec$SHELL
92
-
“
92
+
```
93
93
94
94
Load the model:
95
95
96
-
‘bash
96
+
```bash
97
97
ollama pull mistral
98
-
“
98
+
```
99
99
100
100
Then try again:
101
101
102
-
‘bash
102
+
```bash
103
103
interpreter --local
104
-
“
104
+
```
105
105
106
106
#### Common errors
107
107
108
108
**Model requires more system memory (6 GiB) than is available (1 GiB)**
109
109
110
110
This error indicates that your VPS does not have enough RAM. Here are your options:
Copy file name to clipboardExpand all lines: pages/bare_metal_cloud/virtual_private_servers/install-ia-agent-on-vps/guide.fr-fr.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
title: 'Comment installer un agent IA sur un VPS OVHcloud'
3
-
excerpt: 'Découvrez comment déployer un agent IA comme OpenInterpreter ou GPT4All sur un VPS OVHcloud'
3
+
excerpt: 'Découvrez comment déployer un agent IA comme Open Interpreter ou GPT4All sur un VPS OVHcloud'
4
4
updated: 2025-08-14
5
5
---
6
6
7
7
## Objectif
8
8
9
9
Ce guide explique comment déployer un agent IA local sur un VPS OVHcloud, sans dépendre du cloud de fournisseurs externes. Vous utiliserez pour cela un conteneur Docker prêt à l'emploi contenant un agent IA open source comme [Open Interpreter](https://github.com/openinterpreter/open-interpreter), [GPT4All](https://github.com/nomic-ai/gpt4all) ou [Auto-GPT](https://github.com/Significant-Gravitas/AutoGPT).
10
10
11
-
**Découvrez comment déployer un agent IA comme OpenInterpreter ou GPT4All sur un VPS OVHcloud.**
11
+
**Découvrez comment déployer un agent IA comme Open Interpreter ou GPT4All sur un VPS OVHcloud.**
0 commit comments