Glossary

Background agents

An AI agent that runs without a person watching, started by a schedule, an event or a queued task, which leaves its results for later review.

A background agent is an AI agent that runs without a person watching it. Instead of replying inside a chat, it starts from a trigger such as a schedule, an incoming event or a queued task, works through the job with its tools, and leaves the results somewhere a person or another system can pick them up later. Background agents are the asynchronous side of agentic AI: the same model and agent loop, with nobody waiting on each turn.

How background agents work

A background agent needs four things that a chat assistant can do without. The first is a trigger. Scheduled agents start at a fixed time, event-driven agents start when something happens, such as a new upload or a webhook, and others pick work off a job queue.

The second is a written brief that states the goal, the limits and what a finished result looks like, since nobody is there to answer questions. The third is somewhere to keep agent state and long-term memory between runs, usually a persistent agent workspace rather than the context window alone. The fourth is a record of the run, so someone can review it afterwards.

Aspect

Interactive agent

Background agent

Cron job or script

Started by

A user message

A schedule, event or queued task

A schedule

Who is watching

The user, turn by turn

Nobody until the run ends

Nobody

Handles new situations

Yes, with the user’s help

Yes, within its brief

Only the paths someone coded

Output

A reply in the conversation

Files, notes, tasks or updated records

Whatever the code writes

Main risk

A wrong answer the user can see

Changes nobody has reviewed

Silent failure

Where background agents are used

The common thread is work that is recurring, slow or tedious enough that nobody wants to supervise it. Coding agents are often run this way: they take an issue, work on a branch in isolation and come back with a change for review. Research agents gather sources overnight and file a summary, as in the deep research agents pattern. Operations teams use them for daily digests, competitive intelligence and CRM enrichment.

Knowledge upkeep is a natural fit. Documents go out of date unnoticed, a problem described under stale knowledge, and an agent that re-checks, re-tags and prunes content on a schedule makes knowledge base maintenance a routine job.

Background agents compared with workflows

A workflow tool runs steps a developer fixed in advance, and a cron job runs code. Both are predictable and both break when the input changes shape. A background agent reads the content and decides what to do, which suits triage or summarising, so many teams use fixed steps where the path is known and an agent where judgement is needed. Agents vs workflows covers the distinction, and ambient agents describes agents that watch a stream of events and act when something relevant appears.

Running background agents safely

Without a person approving each step, the controls are set up front. Give each agent only the tools and data the job needs, following least privilege and explicit agent permissions. Keep a trace of every run for agent observability. Put a human in the loop where results leave the system, such as before an email is sent, and make changes recoverable through agent rollback.

Long jobs also need to survive failures. Durable execution checkpoints progress so a crashed step resumes instead of starting over, which matters for long-running agents. The durable execution platforms for AI agents roundup compares the options.

Background agents on Exabase

Exabase Workers are background agents that run against the data in a Base. A Worker takes a name, a plain-language prompt and an optional daily, weekly or monthly schedule, and does the job with built-in tools for searching and reading resources, writing notes, organising folders and tags, managing tasks and searching the web. Workers run on Exabase infrastructure, so there is no scheduler or retry logic to host, and they can run on demand through POST /v2/workers/{workerId}/run, as the running Workers guide explains.

Each Worker can only reach data inside its own Base, and the toolPermissions and accessResourceIds settings narrow it further, as the Worker tools reference shows. Every run is stored as a conversation with the Worker’s reasoning, tool calls and output. With filesystem snapshotting on, you can view the Base as it was before a run and recover deleted resources, as the agent undo solution describes.

The most common job is keeping a knowledge base current, and build a topic researcher with Exabase Workers is a worked example. Agents you build yourself can run anywhere and call Exabase Memory and Deep Search as tools.

FAQs

What is a background agent?

A background agent is an AI agent that runs without a live user session. It starts from a schedule, an event or a queued task, completes the work with its tools and stores the result for later review.

How is a background agent different from a chatbot?

A chatbot replies to messages while a person waits. A background agent takes on a task, works through it alone and reports back when it has finished, sometimes hours later. The agent vs chatbot entry covers the difference in detail.

Are background agents the same as cron jobs?

No. A cron job runs fixed code on a schedule. A background agent may also run on a schedule, but it reads the content in front of it and decides what to do, so it can handle inputs nobody wrote a rule for.

What triggers a background agent?

A schedule, an event such as a new file or an incoming webhook, a message on a queue, or a manual run. Many agents accept more than one kind of trigger.

Can Exabase run background agents?

Yes. Exabase Workers run a plain-language prompt against a Base on a schedule or on demand, with configurable tools and a full record of every run. The About Workers guide covers setup.

Related pages: Scheduled agents, Event-driven agents, Ambient agents, Long-running agents, Durable execution, Agents vs workflows, Knowledge base solution, Exabase vs Inngest, The rise of background agents, AI copilot, Agent loop, Subagents, Agent runtime, Autonomous agents, Coding agents

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.