← back to all posts

How to Create an AI Agent for an Agency

How to Create an AI Agent for an Agency

There are three ways to create an AI agent: on the model maker's platform, in a workflow builder like n8n, or on an agent platform like Orakul. Below: six steps for any of them, then each path with its costs. In effect, you're choosing a workplace for a new employee, not "the best AI".

What an AI agent is and how it differs from a chatbot

An AI agent is a language model given a role, tools and memory. A chatbot answers a question. An agent takes a task, decides which tool to call and hands back a result: a client email, a spreadsheet, a report. An agency doesn't need one for conversation — it needs one to take routine work off the team across dozens of clients.

Whatever platform you build it on, every agent has four parts:

  • A model — the "brain": GPT, Gemini, Claude or an open model such as Qwen. It sets the quality and the price of every answer.
  • Instructions — the role and the rules, also called the system prompt: who the agent is, who it works for, what it does step by step and what form the result takes.
  • Tools — how the agent acts: it reads websites, searches the web, pulls numbers from analytics, writes to a spreadsheet, sends a file.
  • Memory and knowledge — what the agent remembers between conversations and which documents it answers from: price lists, policies, past reports.

How to create an AI agent: 6 steps

The steps are the same on every platform. What differs is how many of them you do by hand.

  1. Pick one task. Not "an assistant for everything" but "the weekly client report" or "answering pricing questions". Write down what the agent receives and what it hands back. An agent with one job is easy to check and easy to improve.
  2. Write the role and instructions. Who the agent is, who it works for, what it does step by step, what it never does and what form the result takes. For example: "You are the agency's SEO analyst. Take this week's Search Console data, compare it with last week, write three findings and deliver a PDF." The more concrete the instructions, the less the agent makes up.
  3. Choose a model. A fast, inexpensive one for routine: summaries, price-list answers, sorting email. A strong one for analysis and client-facing writing. It helps if you can switch models later without rebuilding the agent: prices and quality change every few months.
  4. Connect tools. Reading websites, search, analytics, spreadsheets, email — exactly what the task needs. Without tools the agent turns back into a chat that asks you for the numbers instead of fetching them.
  5. Give it memory and a knowledge base. Upload the price list, policies, a report template, examples of good answers. Without them the agent answers from the model's general knowledge and invents prices and terms.
  6. Test it on ten real tasks. Take last month's tasks, compare the agent's work with what your staff delivered, fix the instructions. Only then hand it to the team — and decide who reviews its work for the first few weeks.

Next, the three paths, where these steps play out differently.

Path 1. An agent right on the OpenAI platform

The shortest path. OpenAI's developer dashboard has an Agents section: you name the agent, describe its behaviour in plain text, pick a model and connect tools such as web search. Press "Generate agent", describe the task in one sentence, and the platform drafts the instructions for you. There are templates too: an AI teammate for Slack, invoice and contract review, a data agent.

The Agents section of the OpenAI developer dashboard: create an agent and templates
The Agents section on the OpenAI platform. Four steps: define an agent, choose a runtime, create a session, exchange events.
New OpenAI agent form: instructions, model, reasoning effort, subagents and the matching curl request
A copywriter agent on the OpenAI platform: instructions, model, reasoning effort and subagents. There's no knowledge base section in the form. On the right, the same agent as an API request.

OpenAI Agents pros

  • No code. The agent is set up in a form, the instructions are plain language.
  • New models first. Whatever OpenAI ships shows up here on release day.
  • Fast start. A first working agent in minutes.

OpenAI Agents cons

  • Memory is the context window. The agent remembers what fits in the current conversation. It doesn't keep your price list, your policies or last month's client report between sessions on its own.
  • The knowledge base doesn't attach to the agent in the form. The Storage section has files and vector stores for document search (RAG), but the agent editor can't select them. An uploaded price list just sits in the organisation's storage, tied to no agent. To make the agent search it, a developer connects the vector store through the API with the file_search tool.
  • The agent lives in the API. Look at the steps in the screenshot: "create a session", "exchange events". For your team to use it — in a chat, on Telegram, on a schedule — you need a developer to wire it into your systems.
  • One company, one set of models. OpenAI models only: you can't move routine work to a cheaper model from another provider.
The Storage section of the OpenAI dashboard: an uploaded file, Vector stores and Skills tabs
OpenAI storage: files, vector stores and skills. An uploaded file with the user_data purpose isn't tied to any agent.

Who it suits: a developer building their own product who needs a "brain" inside it. For an agency that needs the agent as a staff member, it's only a starting block.

Path 2. An agent in a workflow builder: n8n

n8n is a visual automation builder: you connect nodes on a canvas and data flows from node to node. Its template "Build your first AI agent" shows clearly what an agent is made of:

  • Chat Trigger — the chat window you use to talk to the agent;
  • AI Agent — the agent itself: it receives a message, decides which tool to call and writes the reply. The role goes into the System Message field;
  • a model — Google Gemini in the template, with a key from Google AI Studio;
  • memory — a Simple Memory node that keeps the last few messages;
  • tools — a weather forecast and an RSS news reader.

The template's author promises about two minutes of setup: get a key, paste it into the model node, open the chat and ask "What's the weather in Paris?".

n8n pros

  • Hundreds of integrations. Email, calendar, CRM, spreadsheets — almost everything already exists as a node.
  • Any logic. Branches, loops, checks — anything you can draw as a diagram.
  • A free self-hosted version (Community Edition on GitHub). Cloud starts at €20 a month billed annually, with 2,500 workflow executions.
  • Any provider. Gemini, OpenAI, Claude — chosen with the model node.

n8n cons

  • The agent is a diagram you build and maintain. The two-minute template tells you the weather. An agent that runs an SEO audit and hands a client a PDF is dozens of nodes, and when a service changes its API, fixing them is on you.
  • Short memory. Simple Memory keeps the latest messages. Long-term memory and a searchable knowledge base are separate builds: a vector store, document chunking, an upload flow.
  • No ready-made roles. Prompts, tools and the report format are your job.
  • You pay per execution. Every workflow run counts against the plan: 2,500 a month on Starter, 10,000 on Pro for €50. Model costs come on top, on your own key.
  • Keys are your problem. Signing up with the provider, the key, limits and billing — all yours.

Who it suits: a team with someone who likes building workflows and is good at it. It's a powerful builder, but you are the one building.

Path 3. An agent on the Orakul platform

Orakul is an AI agent platform for agencies and service businesses. Here an agent is created like an employee: in the Subagents section you "hire a specialist" — give it a name, pick a provider and model, a group, and write the system prompt. Everything else — memory, knowledge base, team access, Telegram, PDF — is already around it.

The Subagents section in Orakul: the hire-a-specialist form and a list of SEO agents
Hiring a specialist in Orakul: name, provider, group and system prompt. On the right, ready-made SEO agents.

What the agent gets without a single line of code

  • A knowledge base. Upload a price list, a policy or a report template and the agent answers from it, not from the model's general knowledge. One document serves several agents at once.
  • Long-term memory. "Remember: client X gets reports on Mondays" — saved for good.
  • Skills. A SKILL.md file gives the agent a technique: Ogilvy's copywriting rules, for example.
  • Chains of specialists. A router agent passes the task along in steps: collect data from the page, hand it to the SEO specialist, then to the copywriter.
  • Hands in a file on schedule. A PDF in your branded template, a spreadsheet or a presentation — to Telegram, say, every Monday at 9:00.

Around that: ready-made tools (reading websites, PageSpeed, Search Console, Google Analytics, Yandex Metrica), Telegram and a browser extension for the team, and its own provider and model for each agent.

Agent skills in Orakul: SKILL.md upload and the list of skills Agent knowledge base in Orakul: document upload, Google Drive and the document list

Left: skills — a SKILL.md file attaches to several agents. Right: the knowledge base — upload a file or take it from Google Drive.

Orakul pros

  • The agent is ready for work the day you create it: memory, knowledge base, team, Telegram and PDF don't need building.
  • Ready-made agency roles: SEO expert, site auditor, copywriter, account manager, sales proposals — with tools for the job.
  • Your data on your server with the self-hosted edition. Or the cloud, if you don't want a server.
  • No AI provider keys of your own in the cloud edition: you set a budget when you pay and see what's left in the panel.

Orakul cons

  • It's paid. The cloud starts at $60 a month. Installing on your own server is $2,000 for implementation with a year of support, then $65 a month.
  • Knowledge base search matches words, not meaning. Write documents concretely, with headings and short paragraphs: "how much is an audit" finds the passage that contains "price" and "audit".
  • You can't change the code. Agents, prompts, steps, templates and schedules are configured in the panel as much as you like; a new integration is a module that we release.
  • Some features depend on the plan — skills, for example, aren't in every one.

Who it suits: agencies and service businesses that need the agent as an employee, not as a project for a developer.

The three paths compared

OpenAI Agentsn8nOrakul
Code needednot to create it; yes to connect it to your teamno, but you need someone who builds workflowsno
First agentminutesminutes from a templateminutes
Agent for a real agency taskneeds developmentdays to weeks of buildingready-made roles
Memorycontext windowlast few messageslong-term + history
Knowledge base (RAG)vector stores exist, attached via the APIassembled from nodesbuilt in, keyword search
Skills (SKILL.md)in storagenoyes
PDF in your templatenoassembled from nodesyes
Telegram and team accessneeds developmentassembled from nodesbuilt in
Schedulenoyesyes
ProvidersOpenAI onlyanyGemini, OpenAI, Claude, OpenRouter
IntegrationsOpenAI tools and your own functionshundreds of ready nodesan agency set + modules
Who fixes ityouyouwe do
Costtokens at OpenAI ratesfree self-hosted, or from €20/mo + tokenscloud from $60/mo, or $2,000 to install

In the table, "yes", "built in" and "ready-made roles" work out of the box; "needs development" and "assembled from nodes" are what you'll have to build. If you're a developer building your own product, take the model's platform. If someone on your team loves diagrams and your tasks are unusual, take n8n. If you need an agent as an employee who hands a client a report tomorrow, take Orakul.

Maksim Safianov
Maksim Safianov

I build Orakul: a self-hosted AI-agent orchestrator for digital and SEO agencies — unlimited roles, your own server, source code handed over at setup.

Can you create an AI agent for free?
Almost. n8n Community Edition is free on your own server, but you pay for the server and the model's tokens. On the OpenAI platform you pay only for tokens. Fully free means an open model on your own computer, and small models are noticeably weaker than cloud ones.
Can you build an AI agent without programming?
Yes. On the OpenAI platform an agent is set up in a form, in n8n it's assembled from nodes, in Orakul it's created in the panel like an employee. But with the first two, getting your team to actually use it takes a developer or someone who builds workflows.
Can you make an AI agent in ChatGPT?
ChatGPT has GPTs — custom versions of the chat with instructions and files. It's a personal assistant inside ChatGPT: it works in the chat window, and you can't plug it into your team's Telegram or CRM without development. An agent that does a staff member's work is built one of the three ways in this article.
Can you build an agent on Claude, DeepSeek or Qwen?
Yes. In n8n and Orakul you pick the model per agent: Claude, DeepSeek and Qwen are available via OpenRouter. Anthropic has its own developer platform too, but that's the same path as OpenAI: the agent lives in the API.
Can you run an AI agent locally, on your own computer?
Yes: open models (Qwen, Llama, DeepSeek) run through Ollama, and n8n Community Edition installs alongside. Your data stays in, but you need a powerful machine, and small models are weaker than cloud ones. Orakul also installs on your own server: data stays with you, models connect via API.
How much does it cost to create an AI agent?
On the OpenAI platform, just tokens. In n8n, free on your own server or from €20 a month plus tokens. Orakul: the cloud from $60 a month with a model budget, or $2,000 to install on your server. With the first two, the biggest cost is developer time.
What is RAG and why does an agent need it?
RAG means searching your documents before answering: the agent finds the relevant passages of a price list or policy and answers from them, not from the model's general knowledge. Without it, the agent makes up prices and terms.

No comments yet — be the first to share your thoughts.