A chatbot answers once. An agent loops: it plans, uses a tool, checks the result, and repeats. Learn when an agentic workflow beats a single prompt.
A normal chat is one turn: you ask, the model writes, you read. That is the right tool for a headline, a summary, or a first draft. An agentic workflow is a loop. The model plans a step, uses a tool (read a file, run a command, search the web, generate an image), looks at the result, and decides what to do next — until the job is done or you stop it. The model is not just talking. It is working.
Without tools, a model can only produce text. With tools it can inspect a repo, run tests, fetch a page, upload a file, or call Gab AI's image and video APIs. The loop is what makes those tools useful instead of a one-off trick.
Every serious agent — Pi, Hermes, Claude Code, Cursor, OpenCode, Codex, Prime Agent — runs some version of this cycle:
Do not start an agent for work that is one good reply. Agents cost more, take longer, and can edit files you did not mean to touch. Use a chat when the output is text you will review in place. Use an agent when the work requires looking at the real system.
Gab AI has in-app custom agents — reusable specialists with a job description, which you already covered in Custom Agents. Agentic CLIs are different: they run on your machine, hold tools, and spend API credits through your Gab AI key. You can use both. A custom agent is the brief that never forgets your voice. Pi or Hermes is the worker that can actually open the repo.
When this course says Pi, Hermes, Cursor, or Claude Code, it means those tools pointed at Gab AI — not at OpenAI or Anthropic. Next lesson: create a Gab AI API key and set the base URL to https://gab.ai/v1. In-app custom agents already run on Gab AI; they do not need a key.
The loop only works on models that support tool/function calling. If the agent never calls a tool and just dumps a plan as markdown, switch to a Gab AI model from GET https://gab.ai/v1/models with function_calling enabled — or use auto and let Gab AI pick one that can.
Without tools, a model can only produce text. With tools it can inspect a repo, run tests, fetch a page, upload a file, or call Gab AI's image and video APIs. The loop is what makes those tools useful instead of a one-off trick.
When this course says Pi, Hermes, Cursor, or Claude Code, it means those tools pointed at Gab AI — not at OpenAI or Anthropic. Next lesson: create a Gab AI API key and set the base URL to https://gab.ai/v1. In-app custom agents already run on Gab AI; they do not need a key.
The loop only works on models that support tool/function calling. If the agent never calls a tool and just dumps a plan as markdown, switch to a Gab AI model from GET https://gab.ai/v1/models with function_calling enabled — or use auto and let Gab AI pick one that can.