Skip to content
AgentLabs.

AI Agent Best Practices: 12 Lessons from Real Projects

AI Agent Best Practices: 12 Lessons from Real Projects

AI agents: 12 practical insights from real projects, and what really did not work

A year or two ago, when somebody mentioned an AI agent in a room, most Israeli technology professionals would raise an eyebrow. “Oh, another chatbot”, they would mutter, and move on. Today, it is clear that this is more than another gimmick. Something else is clear too: most projects built around AI agents fail quietly. Not in headlines, but in negligible usage, team frustration and a feeling that “it isn't quite there yet”.

This article attempts something a little different: a collection of insights from the field, rather than a sterile list of 12 tips. From real projects in Israel and abroad, where we have seen fine successes and elegant crashes alike. We will try to understand what really works when building a practical AI agent, and what merely sounds good in an investor presentation.

Why an AI agent at all, and how does it differ from a regular chatbot?

Let us begin with the basic confusion. No, an AI agent is not simply GPT chat in attractive wrapping. A good AI agent is more than a model responding to text: it is an entity receiving a task, capable of breaking it into steps, accessing tools, sometimes communicating with external systems and trying to complete the loop.

In less promotional language, an AI agent is a kind of automatic employee that receives a brief, tries to understand what is needed, uses organisational information and, in successful cases, returns an answer you can rely on. In less successful cases… well, it invents an answer that sounds far too confident, and the next morning somebody discovers the system sent the wrong invoice to the wrong customer.

The excessive expectation: “It will learn by itself”

Surprisingly, one recurring feature of AI agent projects is the expectation that it will learn by itself. Usually, the CEO asks at some point, “But if it's been working on this for so long, why isn't it improving on its own?” The unglamorous answer is that an AI agent, however advanced, still does not manage independent learning at a level an organisation can trust without a structured mechanism of oversight, data and feedback components.

The reality is that an effective AI agent is built like a product: with versions, measures, monitoring and manual fixes. Not like a magical child wandering around the organisation, learning and improving from life.

Best practice 1: start with the problem, rather than the technology

This may sound obvious, but it separates a lasting project from an attractive pilot that dies. In one successful technical support AI agent project I saw at an Israeli SaaS company, they began without discussing models at all. They asked:

  • Where are we drowning in staff time?
  • Where are customers most frustrated?
  • Where are there clear rules but considerable chaos in execution?

Only then did the discussion begin: could an AI agent take on 20–30% of cases? Not 100%, and not replace support. Success came from defining a very painful but very limited problem. A clear saving, rather than a grand vision.

What does not work: “Let's make an AI agent manage all the customers”

In several projects, particularly in large corporations, I heard statements such as “We want an AI agent to manage all customer communication”. It sounds amazing, but in practice:

  • There is no clear definition of what is included and what is not.
  • Teams on the ground feel somebody is forcing automation on them.
  • The measures are unclear: what counts as success? Conversation numbers? Satisfaction?

The result is a project with many consultants, little real usage and plenty of frustration. The lesson is that an AI agent needs clear boundaries. Solving one or two questions excellently is better than ten mediocre capabilities.

Best practice 2: an AI agent needs an identity, beyond a function

One thing I saw in successful projects was that the team treated the AI agent as though it were a real employee: with a role, tone of voice, authority and a list of what was permitted and prohibited. This is more than a gimmick. It is a shift in thinking.

Give the agent a clear role

In a local start-up's CRM, they defined an AI agent named “Nir, marketing assistant”. It was not an internal chatbot. It:

  • Analyses campaigns.
  • Prepares email drafts.
  • Produces and classifies customer conversation summaries.

More importantly, Nir does not receive permission to change information in the system. Only to suggest. This fact, together with the agent's clear identity, made it a partner rather than a threat. Marketing enjoyed working with it because it saved time without taking decisions away from them.

What does not work: an overly general AI agent

When an AI agent is described as a general assistant doing everything imaginable, it effectively does nothing. End users do not know why to approach it. Managers do not know how to measure it. The technical team does not know what to tick off. Even if the engine is powerful, the result in practice is usage limited to trivia questions and generic emails.

Best practice 3: design tools as you would an API

Working with a real AI agent almost always brings you into the world of tools: actions the agent can perform, such as reading data, writing or activating an external process. This is where many projects fail: too many tools are defined inconsistently, without a proper input-output specification.

What does healthy tool design look like?

In a financial system project, the AI agent initially received only four tools:

  • Get customer details by identifier.
  • Retrieve the latest transactions.
  • Open a service request.
  • Create a conversation summary and add it to the record.

Every tool was documented thoroughly, with examples. A conscious decision was made not to allow immediate actions changing money in an account. That may be less intelligent, but it is much safer. More tools were added over time, but only after real usage was observed.

What does not work: giving the agent unrestricted system access

Yes, broad AI agent access sounds cool: “Let it search all our systems by itself.” In reality:

  • It begins retrieving irrelevant information.
  • Latency becomes unbearable.
  • You lose control of what it can do at any moment.

In other words, an AI agent is not DevOps. Do not give it root access. Precise tool design may be the least glamorous part, but it is the most critical.

Best practice 4: memory, because not everything you can save should be saved

Memory is one of the great temptations in the AI agent world. “It will remember every interaction, every conversation, every document.” Then reality arrives: unmanaged memory has already turned several projects into one large mess, technically and legally alike.

Short-term and long-term memory

Serious projects separate two kinds of memory:

  • Short-term memory: what happens in the current conversation, going back a few steps.
  • Long-term memory: customer facts, previous decisions and preferences.

A common best practice today is to retain very little long-term memory, in a highly structured form. For example, “This customer prefers email to telephone”, or “The customer is interested only in packages above a certain amount”. Concise facts, rather than every scrap of text.

What does not work: using memory as a data rubbish bin

In a large retail project, an AI agent was allowed to learn from every conversation, with no filtering or cleaning. Within a few months, the agent began reproducing inaccurate wording, offering nonexistent discounts and quoting policy details that had already changed. The retained information became a toxic burden. The solution? They deleted almost everything and established a structured information curation mechanism.

Best practice 5: measurement, or how to know whether an AI agent really works

One quiet question everyone asks after a project launches is, “Does this actually help, or does it merely feel new?” This is where measurement comes in. Beyond counting conversations, we need deeper measures.

Measures worth considering

  • Time to resolution: how long it takes to close a task or enquiry with an AI agent compared with without one.
  • First contact resolution: how many enquiries are resolved without being passed to a person.
  • User satisfaction: among customers and employees using an internal agent alike.
  • Trust measures: how often people edit what the agent suggested.

In a successful project at an Israeli service organisation, they discovered an interesting insight: the measure most reflective of success was how often a human agent adopted the AI agent's suggestion without changing a word. This improved gradually from 20% to 60%. That is a number that feels real.

Best practice 6: design the user experience around the AI agent, rather than over it

A good AI agent hidden behind a poor interface creates a sense of failure. Conversely, a very convenient screen connected to an unstable agent makes users feel deceived.

Transparency: show what the agent does

Usage studies show that when users understand what an AI agent did, they trust it more. For example, instead of providing a magical answer, it is useful to show:

  • “I checked the customer's details in system X.”
  • “I looked at the last three conversations.”
  • “I relied on a policy written on date Y.”

There is now a trend in AI agent interfaces towards showing the steps the agent took, almost like an activity log. It slows the experience slightly, but strengthens the sense of control.

What does not work: wrapping the agent in a marketing layer

Instead of giving an AI agent a real place in the process, some organisations design it to death with a glossy interface and excessive promises. Behind the scenes, the agent actually just sends a question to a language model API, without any additional logic. Once users begin noticing, trust breaks very quickly.

Best practice 7: involve product professionals early

One of the clearest lessons of the past year is that an AI agent is not a data science project. The successful organisations are those that saw it as a product and involved product managers, service staff and lawyers at the planning stage.

At an Israeli insurance start-up, the first AI agent project failed almost completely. Data scientists built a technically fascinating system, but customers simply did not know what to do with it. In the second iteration, responsibility moved to product, and data became a technological supporting element. Suddenly, the questions changed:

  • What added value does the customer receive?
  • Where does the AI agent increase confidence rather than reduce it?
  • Which failure scenarios are we willing to tolerate?

Once focus shifted from technology to experience, the agent suddenly seemed more intelligent too. Not because the model improved, but because the design around it improved.

Best practice 8: decision-making, or what the agent may decide independently

This is one of the most delicate areas. An AI agent need not be in control to be useful. Most organisations, at least over the next few years, will be wise to treat the agent as a strong recommender rather than the final decision-maker.

Three models of authority

  • Assistive: the agent only suggests; a person approves. Common in marketing, service and writing.
  • Partly autonomous: the agent makes decisions up to a certain amount or risk level, such as a discount of up to X per cent.
  • Fully autonomous: the agent makes decisions without a person in the middle. Currently rare in sensitive fields.

In Israeli financial projects, almost everyone stops at partial autonomy. People retain the final decision on major actions, while the agent receives freedom in small processes. That is perfectly fine. An AI agent need not be a full autopilot from day one.

Best practice 9: errors will happen, so prepare for them

You cannot discuss AI agents without discussing mistakes. One of the most common errors is presenting an agent as almost always accurate. That is a recipe for disappointment.

Limit potential damage in advance

When a human representative makes a mistake on the telephone, it can be corrected. With an autonomous AI agent, a mistake can translate into immediate action. An important best practice is therefore to define in advance the maximum damage the agent can cause. For example:

  • It may only create drafts, rather than actually send them.
  • It may approve refunds only up to a certain amount.
  • It does not touch anything legally binding without approval.

Limit its operating range like this and you can sleep a little more easily while giving the agent room to learn and improve.

Best practice 10: integration with existing systems, because not everything needs a new microservice

In established Israeli organisations, an AI agent almost never lands on pristine ground. It lands on an old information infrastructure, a problematic API and a succession of CRM, ERP and other abbreviated systems.

When should you embed it in an existing system, and when should you build a new layer?

We have seen two approaches:

  • An agent within an existing system: for example, an additional button in the current support system. Faster integration and rapid adoption.
  • An agent as a central overlay: one AI agent portal connected to several systems. It enables flexibility but requires more work.

Most organisations that began on a grand scale with one overlay found themselves constrained. In the end, they returned to a more modest place: a first use case inside one system, rather than trying to solve every problem in every system.

Best practice 11: adapting to Israeli reality, with Hebrew, regulation and a slapdash culture

An AI agent in Israel faces slightly different challenges from one in the United States. Language, of course, is the first.

Hebrew is not just another small language

Global models have learned a great deal of English; rather less Hebrew. Particularly when it comes to professional terminology and mixing Hebrew with English, something of a national sport here. When building an AI agent for Hebrew, you sometimes see:

  • Creative inventions of terminology.
  • Difficulty parsing entity names: a customer, company or product name.
  • Problems when a conversation is partly Hebrew and partly English.

A local best practice, therefore, is to test the model's Hebrew capabilities in the specific environment beforehand, rather than assume that brilliance in English means it will fly here too.

Regulation: GDPR is only the beginning

In Israel, where AI agents meet personal data in healthcare, finance or education, real legal questions arise too. Where does the agent learn from? Where is the conversation text stored? Who can see it? We have already seen projects stopped by legal counsel half a minute before going live, simply because privacy had not been considered early.

The lesson is to involve lawyers and information security professionals at the planning stage. Less fun, but it saves headaches.

Best practice 12: do not fall in love with the proof of concept; ask what happens after the first month

Another recurring pattern: an organisation builds an AI agent proof of concept, everyone gets excited, there is a presentation, quotations and perhaps even an article. Two months later, almost nobody touches it. Why? Because they did not establish:

  • Maintenance processes.
  • A clear owner for the agent.
  • A roadmap: what is the next version?

An AI agent is no one-off piece of magic. It is a living system. View it like a new employee: without management, guidance and measurement, it will become outdated very quickly.

Frequently asked questions about AI agents

Can an AI agent replace employees?

In theory, in some tasks, yes. In practice, in most organisations, at least currently, it changes employees' roles more than it replaces them. In successful cases, we have seen employees move from repetitive technical work to work requiring more judgement, supervision and creativity.

How long does it take to implement the first AI agent in an organisation?

If you stay focused and avoid building a super-system, you can see a first practical AI agent within six to ten weeks. But this requires:

  • Choosing one use case.
  • A small but committed team.
  • Agreement to launch version 0.5 rather than something perfect.

Do you need a cloud model, or can it run on premises?

Some Israeli organisations use public cloud infrastructure, while others insist on on-premises deployment because of regulation or policy. Both approaches are possible, but on-premises deployment increases cost and slows the project. Usually, organisations begin with a cloud solution, learn and move to on-premises or hybrid deployment only if genuinely necessary.

How does an AI agent differ from a regular automation system, such as RPA?

RPA automates predefined processes with clear rules. An AI agent handles less predictable processes, free-form language and interpretation. In practice, the interesting projects combine the two: an agent understands the request, while RPA or a workflow engine performs the technical, rigid part.

Summary table: key best practices and pitfalls

TopicWhat works with an AI agentWhat usually does not work
Defining the problemA narrow, measurable use case; one painful problem“The agent will manage all customers”, without boundaries
Identity and roleA clear role, limited authority and consistent toneA general agent doing everything, with everything vague
ToolsA few well-documented tools with defined permissionsUnrestricted system access without oversight
MemoryLimited, fact-based long-term memoryRetaining all texts without management or cleaning
MeasurementMeasures such as resolution time, suggestion adoption and satisfactionMeasuring only the number of conversations
User experienceTransparent steps and natural integration into existing systemsA glossy interface hiding a simple, unstable agent
Ownership and productA product managed by product professionals, involving service and legal teamsAn isolated data science project without a business owner
Autonomy levelAssistive or partly autonomous, with maximum damage definedFull autonomy without risk limits
IntegrationBeginning in one system, with gradual integrationA huge overlay for every system in the first version
Israeli realityReal Hebrew tests and consideration of regulationCopying an overseas solution without adapting to language and law
Useful lifeA roadmap, maintenance and improved versionsA one-off proof of concept forgotten after launch

Looking ahead: the AI agent as a new working partner, rather than magic

Filter out the noise, fashions and excessive promises for a moment and a fairly clear picture remains. A good AI agent is a new working tool, rather than artificial superintelligence. Just as email did not replace telephone calls but arranged them differently, an AI agent changes the division of labour between people and machines.

Successful projects recognise the limitations: they understand that the agent will make mistakes, that some patience is needed and that processes require thorough work. They are unashamed to start small, grow and keep their promises grounded in reality.

If you are considering introducing an AI agent into your organisation, for customer service, marketing or internal systems, it is worth doing properly. Build a limited use case, define an owner, involve product and service professionals and plan in advance for the day after the proof of concept.

If you would like to sit down and examine this seriously with somebody who has seen projects fall and others get off the ground, we would be happy to help with an initial consultation at no cost, simply to ensure your next AI agent is impressive beyond the presentation and works in practice every day.

From reading to a pilot

Which process should you assess first?

Bring an example of a recurring task, the systems involved and the business objective for the pilot.