Now open. Sign up with a work email and get 250 free credits, no card. Get your free API key →
FOR AGENTSSkip the HTML: this page as .md · llms.txt · openapi.json · MCP mcp.dizo.ai/mcp
Glossary / AI agent

AI agent

A program that uses a language model to pursue a goal by planning steps, calling tools and acting on the results with limited human input.

An AI agent is software built around a language model that can take actions, not just produce text. You give it a goal, such as finding the head of security at twenty healthcare companies, and it decides which steps to take, calls tools like search APIs or databases to carry them out, reads the results and continues until the goal is met or it needs help. The model supplies judgment; the tools supply facts and actions.

Most agents share four parts: the model that reasons, a set of tools it can call, some form of memory or state that carries context between steps, and guardrails that limit what it may do. The guardrails are easy to overlook and matter most. An agent with access to paid APIs, email or a CRM can cause real cost and real damage if nothing stops it.

In go-to-market work, agents research accounts, build and enrich lists, prepare meeting briefs, route inbound leads and draft outreach. They are most reliable on well-defined tasks with clear success criteria and tools that return structured, verifiable data. They are least reliable when the goal is vague or the data underneath is stale.

How Dizo handles it. Dizo is designed to be called by agents. It publishes llms.txt, an OpenAPI spec and an MCP server at https://mcp.dizo.ai/mcp. Agents can call GET /v1/me to learn their scopes and budget, quote any call with dry_run, cap each request with max_credits, and branch on stable error codes that include a plain-English fix.

What an AI agent is

An AI agent is a program that uses a language model to work toward a goal by taking actions. A chatbot answers a question and stops. An agent keeps going: it plans what to do, calls a tool, looks at what came back, decides the next step and repeats until the job is done or it hits a limit. The defining feature is that the model chooses the actions, rather than a developer hard-coding every step in advance.

The word gets stretched to cover many things, from a single model call with one tool attached to large systems with dozens of tools and sub-agents. A useful test is to ask who decides the next step. If a fixed script decides, you have automation with a model inside it. If the model decides, within limits you set, you have an agent.

Agents are not magic. They are only as good as the tools they can call, the data those tools return and the rules that constrain them. Most of the work of building a dependable agent goes into those three things, not into the prompt.

The parts of an agent

Almost every agent can be described with the same building blocks. Knowing them makes it easier to see where a specific agent will succeed or fail:

  • Model. The language model that reads the goal and the current state, and decides what to do next.
  • Tools. Functions the model can call, each with a name, a description and a schema for its inputs. Search, lookups, database writes and sends are all tools.
  • State and memory. The running context of the task: what has been done, what was found, what is left. Longer-lived memory may persist across sessions.
  • Instructions. The system prompt and any policies that define the goal, the tone and the rules.
  • Guardrails. Hard limits enforced outside the model: spend caps, permission scopes, allow-lists, rate limits and human approval steps.
  • Observability. Logs of every tool call, its inputs, outputs and cost, so a human can see what happened and why.

Why agents matter for GTM teams

Go-to-market work contains a lot of structured research that follows a pattern but varies in the details. Find companies that match a profile. Find the right person at each. Get their email. Check whether they are still in the role. Summarize the company before a call. Each instance is slightly different, which makes it awkward to script, but the pattern is clear enough for a model to follow when it has good tools.

Agents turn that research into something that runs on demand or in the background. A rep can ask for a meeting brief and get one in seconds. An inbound lead can be enriched, scored and routed before anyone looks at it. A prospect list can be rebuilt every week from a plain-English description of the ICP.

The catch is that agents also spend money and touch customers. A GTM agent usually has access to paid data, to email or a dialer, and to the CRM. That combination is why guardrails and good data matter more for GTM agents than for, say, a coding assistant working in a sandbox.

How an agent runs, mechanically

A run starts with a goal and a list of available tools. The model reads both and responds with either an answer or a request to call a tool with specific arguments. The application running the agent executes that call, captures the result and passes it back to the model. The model reads the result and decides again. This back-and-forth is called tool calling, and the full cycle is often called the agent loop.

Each turn adds to the context the model sees, so long tasks need care. Good agents summarize intermediate results, keep only the fields they need and request structured data rather than large blobs of text. Tools that let the caller choose which fields to return help keep context small and costs predictable.

When something goes wrong, the agent needs to understand why. A tool that returns a vague error leaves the model guessing. A tool that returns a stable error code, a plain-English explanation and an indication of whether to retry lets the agent recover on its own or stop and ask a human.

Common misconceptions about agents

A better model fixes everything. Model quality helps with planning and writing, but it cannot correct stale or wrong data from a tool. If the email finder returns an address that bounces, the smartest model in the world will still send to it. Data quality is a separate problem with its own solutions.

Prompts are enough to control spend. Telling an agent to be careful with money is not a control. Controls have to be enforced outside the model: per-request ceilings, daily and monthly caps and endpoint allow-lists that the API itself checks. The model can still reason about cost, but the limit holds even when it reasons badly.

Autonomy is the goal. Full autonomy is rarely the right first step. Most useful agents run with a human checkpoint before irreversible actions, such as sending or changing billing, and gain autonomy as their track record builds.

Agents need special data. They need the same data people need, delivered in a form a machine can use: structured responses, clear field definitions, predictable pricing and docs the model can read.

How to evaluate an agent

Define success in terms of outcomes you can check. For a research agent, that might be the share of returned contacts who hold the requested title at the requested company. For an outbound agent, it might be qualified meetings per hundred prospects and bounce rate. Write those down before you build, and test against a fixed set of examples so changes are comparable.

Measure cost per completed task, not cost per call. An agent that makes fewer, better calls can be cheaper even when each call costs more. Log every tool call with its cost so you can see where money goes. Response headers that report credits used and credits remaining make this easy to capture.

Review failures by hand. Read the tool calls for runs that went wrong and look for patterns: the wrong tool chosen, arguments that were too broad, errors that were retried when they should not have been. Most agent improvements come from better tool descriptions and tighter limits, found this way.

How Dizo is built for agents

Dizo provides people, company, email and phone data through a REST API and an MCP server at https://mcp.dizo.ai/mcp. Every API is exposed as a tool with its credit cost in the description. Machine-readable docs are published at llms.txt, llms-full.txt and an OpenAPI 3.1 spec, and every page has a Markdown twin, so an agent can read the documentation directly.

An agent can call GET /v1/me at start-up to learn its scopes, endpoint allow-list, remaining budget and rate limits, and GET /v1/billing before long loops to check spend against the cap. Any billable call accepts "dry_run": true for an exact quote that spends nothing, and max_credits as a hard ceiling for that request. An Idempotency-Key header makes retries within 24 hours safe from double charges.

Errors carry a stable error.code, a plain-English fix and a retryable flag with retry_after when relevant. Lookups that find nothing cost nothing. Keys are created by a human, with scopes such as data:read and billing:write kept separate, and MCP connections default to data:read with a 500-credit per-call limit.

A worked example

Suppose an agent is asked for the security leader at 40 healthcare technology companies, with a verified email for each. It first calls the free count endpoint to confirm the segment exists, then calls the decision-maker finder with 40 domains and a ranked title list such as CISO, VP Security, Head of Security. If it returns 36 people, that costs 36 ÷ 25 = 1.44 credits.

The agent then requests emails for those 36 people. If 30 are found, that is 30 credits, and the six misses are free. The task costs 31.44 credits, or about $0.79 at the $0.025 entry rate. Before running, the agent could have sent the same requests with dry_run to show the human an exact quote.

Related concepts

Agents are built from tool calling, orchestrated as an agentic workflow and often connected to tools through the Model Context Protocol. In sales, a widely discussed application is the AI SDR. For the practical side of keeping agents within budget, see the guide to budgeting agent data spend.

Frequently asked questions

What is the difference between an AI agent and a chatbot?

A chatbot responds to messages. An agent takes actions toward a goal: it calls tools, reads the results and decides what to do next, often across many steps. Many chat products now include agent features, so the line is about behavior rather than interface.

Do AI agents need an API or can they use websites?

Some agents can browse websites, but APIs are faster, cheaper and far more predictable. Structured responses, defined fields and clear error codes make it much easier for a model to act correctly. For data tasks, an API or MCP server is the reliable choice.

How do I stop an agent from spending too much?

Enforce limits outside the model. Use per-request ceilings, per-key daily and monthly caps and an account-level cap. With Dizo, max_credits caps each request, dry_run quotes before spending, and auto-refill never exceeds the monthly cap.

Can an agent create its own Dizo account?

No. A human owns the account and the money. The human signs up, creates a key for the agent and sets its caps. Agents can only change billing with a key that has billing:write and explicit human approval, and the owner can lock billing entirely.

What should an agent do first when it connects to Dizo?

Call GET /v1/me to learn its scopes, allow-list, remaining budget and rate limits. Then size any job with the free count endpoint and quote large calls with dry_run before running them.

Can I build and test an agent without live data?

Yes. Keys starting dz_test_ return synthetic data and never spend credits, and the playground shows the same sandbox data. That is enough to develop the full loop before your live key arrives.

Last reviewed 2026-11-24.

Related terms