Skip to content

AI Agent Lessons Learned: What Worked, What Failed, and What We Would Do Differently

AI agent lessons learned

AI Agent Lessons Learned: What Worked, What Failed, and What We Would Do Differently

Our AI agent lessons learned after running an agent inside a Scrum Team’s Jira workflow: what worked, what failed, and the setup we would build first if we started again.

This is Part 12 of the series. Part 11 covers how to harden the machine your agent runs on. This post closes the current stage of the series.

The most useful result of our experiment was a recurring workflow that turned an agreed task list into Jira records. The most instructive failure was an email draft that read well and addressed the wrong subject. Both belong in any honest summary.

We would do the integration again. Our agent became genuinely useful at clearly specified operational work. It did not show that an agent can plan Sprints on its own, replace a person, or decide whether its own output is acceptable.

Calling the agent a teammate describes how we organized the work: a separate account, assigned responsibilities, visible results, and a place in the team’s workflow. It does not transfer human accountability to software.

If you are about to bring an agent into your own team, this post is meant to save you time. It condenses our AI agent lessons learned into seven lessons you can apply, a setup checklist for day one, and the questions we have not answered yet.

Lesson 1: Delegate execution, keep the decisions

Our first request to generate the next Sprint’s tasks was incomplete. The agent stopped and asked for clarification, which was the right behavior.

The version that worked was a structured table with task names, story points, and assignees, plus the target Sprint. From that, the agent created the issues and reported the resulting records. Within a few Sprints it was creating almost every Sprint issue, as Part 7 shows.

That is a healthy division of work. The Developers made the planning decisions in Sprint Planning, and the agent performed the repetitive Jira operations. Creating stories for other people did not give the agent authority over their priorities.

Apply it: hand your agent decisions that are already made, in a structured format, and let it do the conversion. Teammates told us this made Sprint setup faster, although we did not measure the time saved.

Lesson 2: Keep the operating loop small and bounded

Our agent ran on a simple schedule. Every fifteen minutes, a job checked for work assigned to the agent’s account. Unassigned work was off limits. Clear tasks could proceed, while complex or ambiguous ones got an analysis comment and waited for a person. An empty queue meant a silent exit. Part 6 describes the loop in detail.

The weak point was deciding what had already been handled. The loop looked at status and earlier comments, which worked most of the time but was fragile. An old comment could cause the agent to skip work after circumstances had changed.

Apply it: enforce scope in the query itself rather than filtering a broad result afterwards, and use an explicit marker for processed work. A Jira label is enough:

assignee = currentUser() AND statusCategory != Done
AND (labels IS EMPTY OR labels NOT IN (agent-processed))

The bracketed condition matters. In JQL, labels NOT IN (...) on its own silently drops issues that have no labels at all. Removing the label then becomes a deliberate way to ask the agent for another attempt.

Lesson 3: A label is not a meaning

Our clearest failure was a story asking for follow-up email copy, with a title and no description. The title used an internal shorthand, the agent read it as a product name, and it produced polished emails about the wrong subject. Posting the copy and moving the story to Done did not make it useful.

A more technical version of the same mistake happened with Jira’s parent field. We treated it as if it could point to any task that sounded like a parent. In our configuration, the parent of a story had to be an Epic. The fix was to list the available Epics and use a verified key.

Both failures hid meaning behind a label: business context in one case, the rules of an API field in the other. Neither called for a more confident guess.

Apply it: make the person delegating the work responsible for context, and make the agent responsible for stopping when missing information changes what the work means. Part 9 shows how to write stories that close these gaps.

Lesson 4: Test access, not credentials

Our first authentication setup did not give the agent the board access the workflow needed. A configured credential looked like progress, but it proved nothing.

Apply it: the test is whether the agent can read the specific information its task requires. Before you call an integration ready, have the agent fetch one real story, one board, and one Sprint it will work with, and check the result yourself.

Lesson 5: Count the right thing

Reporting forced a distinction we would make much earlier next time. Creator, assignee, and contribution answer three different questions:

  • Creator tells you which account created the Jira record. When the agent created most issues from a supplied table, that showed operational execution, not that it invented the plan.
  • Assignee tells you who is responsible for an issue. Our retrospective report used it to group completed work into AI-assigned, human-assigned, and unassigned, as Part 8 describes.
  • Contribution is what actually happened, and Jira does not record it. Agent work depends on human requirements and review, and human work often includes AI help nobody logged.

An assignment-based report is useful because every number traces back to an issue. It is not a controlled comparison of human and AI productivity, and it should not be presented as one.

Apply it: label your reports by the field they use, and never call an assignee count a productivity measure.

Lesson 6: Verification does not grant acceptance

Three steps are easy to blur: doing the work, checking it, and accepting it. Execution means the draft exists. Verification means there is evidence the result landed as intended. Acceptance means the result is fit for its purpose.

Our original helper did not read back every write; we added that protection later. Even so, read-back would not have saved the email task. It would only have confirmed that the wrong draft had been posted successfully. Someone still needed to check the audience and purpose.

We introduced a Review status to make that handoff visible, but did not use it consistently enough to claim it improved quality. Part 10 sets out the approach we recommend: one Definition of Done, with evidence and approval matched to risk.

Apply it: build read-back into your first version, not your second, and record who accepted every piece of consequential work.

Lesson 7: Record your own AI agent lessons learned from day one

We did not keep systematic records of corrections, clarification rounds, or the time spent maintaining the integration. Without them, we cannot claim a measured return on investment or a causal improvement in delivery speed.

We also changed models without rebuilding the integration. That was convenient, but it means we cannot say how much of any outcome came from the model rather than from better stories, a different task mix, or more human involvement.

Apply it: start a simple log on the first day, with one line per agent task: corrections needed, clarification rounds, review time. When you change models, change nothing else that week.

Applying our AI agent lessons learned from day one

If we started again, this is the setup we would build before the first scheduled run:

  • a short operating contract that lists what the agent may and may not do;
  • scope enforced in the query, limited to work assigned to the agent;
  • a handoff definition on every story: deliverable, sources, prohibited actions, and reviewer;
  • an explicit processed marker and a deliberate way to request a retry;
  • a test of what happens when one step succeeds and the next fails;
  • read-back verification after every write;
  • a Review status, with the agent unable to move its own work to Done;
  • a measurement log for corrections, clarifications, and review time;
  • the host-hardening baseline from Part 11, with a tested restore.

Start with a narrow version of this list and expand the agent’s task types only after each boundary has been tested.

What our AI agent lessons learned leave open

We can close this stage of the series without calling the experiment finished. These are the questions the next stage needs to answer:

  • Which task types can close after mechanical verification alone, and what evidence would justify that permission?
  • How much time do clarification, correction, and review take compared with doing the same work without an agent?
  • Can AI contribution be recorded without a reporting burden larger than the information is worth?
  • When a scheduled run is interrupted, how should reprocessing be authorized without duplicating work?
  • Can the host and its configuration be restored on demand before the agent’s access expands?

Our conclusion on AI agent lessons learned

An agent can take real work off a Scrum Team’s plate, but only the work the team has already defined well. Our agent was most valuable when the decisions were made, the scope was narrow, and a person checked the result.

If you delegate execution while leaving the decisions vague, the workflow has not removed the work. It has made the missing decisions harder to see.

So the responsibility stays with the team: define what the agent may do, provide the context it cannot safely infer, and make sure someone accepts the result. Do that, and an AI agent becomes a teammate worth having.

To put these AI agent lessons learned into practice this week, pick one repetitive Jira task your team already does the same way every Sprint. Write it as a structured story, give it to your agent, and log every correction you make. After one Sprint, you will know more about your own fit for an agent than any general recommendation can tell you.

Need more help putting an AI agent to work on your team?

Book a quick consultation and ask Jeff directly.

Ask Jeff