An AI agent in one day: a local prototype with no cloud and no developers
In a single working day, you can build a functional local AI agent using Ollama to run models and n8n for automation. The prototype suits companies that cannot send data to the cloud, have a limited budget and do not have a staff of experienced developers. The guide covers prompt setup and integration with an internal knowledge base through RAG.
AI-processed from Habr AI; edited by Hamidun News
When management asks for an AI agent in a business process, the requirements usually contradict each other: data cannot go to the cloud, there is almost no budget, there are not enough developers, and the result is needed tomorrow. In practice, this is solvable. In one working day you can build a local prototype of a functional AI agent using open tools such as Ollama and n8n. You do not need a team of specialists, cloud subscriptions or a complex architecture.
Why local rather than cloud
Cloud LLM APIs such as OpenAI's are convenient, but the cost grows with every request, and the company's sensitive data goes to third parties. That is risky for organizations with confidentiality requirements. A local agent on the Ollama platform runs directly on the company's computer or server: data never leaves the perimeter, and you pay only for electricity.
Main advantages of the local approach:
- Data stays inside the company and does not go to the cloud
- No API bills, only one-time hardware costs
- You can work in a closed network without a constant internet connection
- Full independence from cloud services and their outages
- Cheaper to scale for large volumes of requests
Ollama and n8n: two tools for the build
Ollama packages large language models into a container. You download a ready-made model (Llama 2, Mistral, Deepseek, Phi and others), run it through Docker, and the model is available via a REST API. No Python, no CUDA setup, no fighting with dependencies. Within 15 minutes the model is ready to answer its first request.
n8n is a no-code automation platform. Think of it as a builder for workflows. You connect Ollama as a node in the visual editor, attach data sources (CRM, Slack, email, knowledge bases, files), create a chain of actions, and the agent starts working. You do not need to write code; everything happens in a drag-and-drop interface.
From zero to a working demo in a day
Here is a rough schedule for organizing this in one working day:
- 09:00 — install Ollama and download the chosen model (40–50 minutes)
- 09:50 — set up the local REST API, test the model with curl (30 minutes)
- 10:20 — install and launch n8n for the first time on the same machine (30 minutes)
- 10:50 — create the first workflow in n8n, connect Ollama as a node (1 hour)
- 11:50 — tune the prompt, test on simple examples (45 minutes)
- 12:35 — integrate a data source (for example, uploading documents or connecting to Slack) (1 hour)
- 13:35 — debug, fix errors, check edge cases (1 hour)
- 14:35 — demo the working prototype to management
This schedule is realistic if you do not obsess over perfection. The main thing is to show that the idea works.
When you need RAG: searching your own data
If the agent has to answer based on the company's internal information (reports, policies, technical docs, FAQs, sales histories), add RAG (retrieval-augmented generation). n8n can load documents, create their embeddings (vector representations) and, for each user question, search your knowledge base for relevant passages. The agent becomes significantly smarter because it works not just with what it learned in training, but with data specific to the company.
What this means in practice
Local AI agents are turning from experiments into working tools. A company of any size, from a startup to a corporation, can build a functional agent in a day that works with internal data and processes, without the risk of leaks to the cloud and without huge bills. This matters especially for the financial sector, government bodies and manufacturing, where data confidentiality is not a preference but a strict requirement of law and security policy.
- Nov 1, 2026Local models lose to Opus and Codex: 0.21 on a MacBook versus 1.00 for Codex
- Nov 1, 2026Adobe's EditAgent judge picks a usable edit 81.3% of the time, versus 74.8% for EditScore
- Nov 1, 202616 models tested on 7 search tools: Exa averaged 10.5 out of 14, SearXNG about 3
- Nov 1, 2026Google's StreamVibe video agent beats other models by 10.7% on response timing and quality
Key Questions Answered
Why local rather than cloud?
Cloud LLM APIs such as OpenAI's are convenient, but the cost grows with every request, and the company's sensitive data goes to third parties. That is risky for organizations with confidentiality requirements. A local agent on the Ollama platform runs directly on the company's computer or server: data never leaves the perimeter, and you pay only for electricity. Main advantages of the local approach: Data stays inside the company and does not go to the cloud No API bills, only one-time hardware costs You can work in a closed network without a constant internet connection Fu
What are the key details on Ollama and n8n: two tools for the build?
Ollama packages large language models into a container. You download a ready-made model (Llama 2, Mistral, Deepseek, Phi and others), run it through Docker, and the model is available via a REST API. No Python, no CUDA setup, no fighting with dependencies. Within 15 minutes the model is ready to answer its first request. n8n is a no-code automation platform. Think of it as a builder for workflows. You connect Ollama as a node in the visual editor, attach data sources (CRM, Slack, email, knowledge bases, files), create a chain of actions, and the agent starts working. You do
What are the key details on From zero to a working demo in a day?
Here is a rough schedule for organizing this in one working day: 09:00 — install Ollama and download the chosen model (40–50 minutes) 09:50 — set up the local REST API, test the model with curl (30 minutes) 10:20 — install and launch n8n for the first time on the same machine (30 minutes) 10:50 — create the first workflow in n8n, connect Ollama as a node (1 hour) 11:50 — tune the prompt, test on simple examples (45 minutes) 12:35 — integrate a data source (for example, uploading documents or connecting to Slack) (1 hour) 13:35 — debug, fix errors, check edge cases (1 hour)
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.