PlainAgent / What are AI agents?
Guide · BasicsWhat are AI agents?
An AI agent is software that uses a language model to work toward a goal by deciding which actions to take, using tools you give it, and checking the results along the way.
The parts of every agent
- A model that reads, reasons and writes (for example GPT, Claude or Gemini models).
- Instructions: the job, rules and output format (the system prompt).
- Tools: actions it can take, like searching, reading files, calling an API, or creating a draft.
- Knowledge and memory: documents and context it can look up.
- A loop: it acts, sees the result, and decides the next step until done or stuck.
- Guardrails and handoff: limits, approvals and a route to a person.
Agent vs chatbot vs automation
A chatbot answers in conversation. An automation runs fixed steps. An agent chooses steps. The lines blur: a support chatbot that looks up orders is a simple agent. See AI agent vs chatbot, or, if fixed-step automation is new to you, AI automation for beginners.
What real agents look like: 4,247 public templates
Definitions make agents sound like digital employees. The agents people actually publish are smaller. In our study of 13,574 public n8n templates (snapshot 2026-10-20), 4,247 templates use n8n's AI Agent node. This is what's in them:
| The agent template… | Templates | Share |
|---|---|---|
| Starts from something other than a chat message | 3,016 | 71.0% |
| Returns structured output through a parser | 1,638 | 38.6% |
| Reads or writes Google Sheets | 1,462 | 34.4% |
| Has chat memory | 1,232 | 29.0% |
| Uses Gmail | 1,111 | 26.2% |
| Searches a document store (vector store) | 411 | 9.7% |
| Includes an Error Trigger (failure alerts) | 102 | 2.4% |
| Includes an Evaluation node (tests) | 17 | 0.4% |
So the typical agent is a scheduled or event-driven job that reads an inbox or a sheet, makes one or two decisions and writes the result back. The model behind it is usually OpenAI's: OpenAI nodes appear in 58.4% of the AI workflows in the study, Google Gemini in 21.4%, OpenRouter in 7.2% and Anthropic in 6.7%. The parts that make an agent safe to leave running, tests and failure alerts, are almost never included. Plan to add them yourself.
Totals from the public n8n template library (snapshot 2026-10-20), computed with the same definitions as the study. A template can contain several triggers or nodes, so shares overlap. No individual templates are published.
Ready to make one? Our sister site has a no-code walkthrough on how to create an AI agent in Zapier, Make or n8n, including the failure alert most public templates leave out.
Realistic examples
- A research agent that searches, reads sources and writes a sourced summary.
- An inbox triage agent that labels emails and drafts replies.
- A lead qualifier that scores form leads against your criteria.
Limits to know
- Models can state wrong things confidently. Ground them in your documents and ask for sources.
- More tools and more steps mean more ways to fail. Start narrow.
- Agents need monitoring. Inputs change, and so does model behaviour after updates.
- Anything with money, legal or safety consequences needs a person approving.
Ready to build one? Start with how to build an AI agent.