AI explained

LLM agent framework: what it gives you and what it doesn't

A framework wires a model to tools, memory and a loop so it can complete multi-step work. See each part, and the support jobs it still leaves for you to build.

By the Askocto team · · 4 min read

An LLM agent framework is a software library that wires a language model to tools, memory and a control loop, so the model can complete multi-step tasks and not just answer one question. It handles plumbing that every agent needs. It does not decide what your agent should know, which actions it may take or how you will tell whether it works. This article explains the parts of a framework and what remains your job in customer support.

In short: A framework saves you from writing the agent loop, tool calling and state handling. Knowledge, rules, handoff, testing and review are still yours, or your platform's.

The loop at the center

At the core of every agent is a loop:

  1. The model receives the conversation, its instructions and a list of tools it may call.
  2. It either writes a reply or asks to call a tool, such as "look up order 10482".
  3. Your code runs the tool and returns the result.
  4. The model reads the result and decides the next step.
  5. The loop ends when the model produces a final reply, or a limit is reached.

A framework implements this loop, with the formats the model expects for tool requests and results. Without one, you write it yourself, which is a modest amount of code for a simple agent and a growing amount as you add features.

What a framework typically provides

Part What it does Support example
Tool definitions Describes each tool's name, inputs and purpose to the model A tool that fetches order status
Tool execution Runs the chosen tool and passes back the result Calls your order system
Memory Keeps conversation history and sometimes long-term facts Remembers what the customer said earlier
Planning or routing Lets a model break down tasks or choose between sub-agents Sends billing questions to a billing agent
Retrieval helpers Connects to stores of your documents Finds the return policy passage
Limits and tracing Caps steps and records each step for debugging Stops after eight steps and logs the path

Frameworks differ in how much they offer and how much they ask you to learn. Evaluate any specific one in its own current documentation. This article does not compare named products.

What a framework does not give you

This is where support projects spend their time.

  • Your knowledge. A framework can connect to a document store. Cleaning, structuring and keeping your content current is your work.
  • Your rules. Which refunds are allowed, when to escalate and what to refuse must be written down and tested.
  • Safe actions. Tools that change things, such as issuing a refund, need permission checks, limits and approval steps.
  • Handoff. Passing a conversation with a summary to a person in your helpdesk is an integration you build.
  • Channels. Web chat, email, WhatsApp and voice each have their own connection and constraints.
  • Testing and review. You need test sets, version history and a way to read real conversations.
  • Operations. Hosting, monitoring, key handling, cost tracking and incident response.

A useful rule: a framework helps the agent think and act. It does not run your support operation.

Questions to ask before choosing one

  1. Does it support the model providers we might use, and does it let us swap them?
  2. How does it handle errors and timeouts in tool calls?
  3. Can we see every step of a conversation for debugging and audit?
  4. How does it limit runaway loops and costs?
  5. Is it maintained, and how often do changes break existing code?
  6. How much of its structure would we have to rebuild if we dropped it?

If you want a decision process rather than a list of concepts, the LLM agent framework guide walks through selection step by step.

A minimal support agent in outline

For a returns agent built on a framework, you would write:

instructions: "You help customers with returns. Follow the returns policy."
tools: [lookup_order, create_return_label, escalate_to_human]
knowledge: returns policy documents
limits: max 8 steps, no refunds without approval

Even this small outline hides questions. How does lookup_order authenticate? What does escalate_to_human do in practice? Who reviews the conversations? The framework does not answer them for you.

The platform alternative

Some teams skip the framework and use a platform where the loop, tools and surrounding layers are provided. In Askocto, an agent has Sources for knowledge, Procedures in plain language, Actions such as Custom action (an HTTP request), Escalate to human and Book a meeting, Channels, Tests and Analytics, so the work becomes configuring and testing rather than coding the loop. The actions overview in the docs shows what is available. Teams with unusual needs can still call the API from their own code.

Teams with unusual needs can still call the Askocto API from their own code. For the broader picture of frameworks and when to build, see AI agent frameworks, build vs buy for an AI support agent and how to build an AI agent. The features overview shows the layers that come with the product.

Frequently asked questions

What is an LLM agent framework?

It is a library that connects a language model to tools, memory and a control loop so it can do multi-step tasks. It supplies the plumbing, not the knowledge or rules.

Do I need a framework to build a support agent?

No. A simple agent can be written with direct model calls. A framework helps when you add many tools, memory and tracing, and a platform helps when you want the surrounding support layers as well.

Is an agent framework the same as an AI agent platform?

No. A framework is a code library for developers. A platform adds sources, procedures, channels, an inbox, testing and analytics around the agent.

How do I test an agent built with a framework?

Build a set of questions with expected outcomes, run it after every change and read real conversations regularly. The same applies to any agent, however it is built.

Train an agent on your own help center

Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.

Keep reading

All articles
AI explainedgemini 3.6 flash
Feb 15, 20264 min read

Gemini 3.6 Flash: test speed against answer quality

Fast models are tempting for chat and voice, but speed is only worth it if answers stay right. A protocol to measure latency and quality together on your own conversations.

Read article
AI explainedkimi k2 api
Feb 13, 20264 min read

Kimi K2 API for support: an integration checklist

Using a model API in support means planning for slow calls, errors and changes. A pre-flight checklist and a thin wrapper keep Kimi K2 or any provider swappable.

Read article
AI explainedgpt-5.6 sol
Feb 11, 20265 min read

GPT-5.6 Sol: a rollout plan for adopting a new model

A new model variant should reach customers in stages, not in one switch. Here is a ten-day plan with checkpoints, thresholds and a rollback path for a support agent.

Read article