Hermes agent security on your machine: people approve risky actions, secrets stay locked, and we change nothing without your OK.
Tag Archives: Continuous Improvement
AI Agent Lessons Learned: What Worked, What Failed, and What We Would Do Differently
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: 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 ReviewContinue reading “AI Agent Lessons Learned: What Worked, What Failed, and What We Would Do Differently”
How to Bulletproof Your Server Before Giving an AI Agent Access
How to Bulletproof Your Server Before Giving an AI Agent Access A practical guide to AI agent server security: eight steps to harden the machine your agent runs on before you give it more access, with the commands to check each one. This is Part 11 of the series. Part 10 covers who decides when your agent’s work is done. This post looks at the machine doing that work. Your AI agent has to run somewhere. Usually that is a single computer with scheduled jobs, local tools, stored credentials, and connections to the services your team relies on, such as Jira. Most conversations about agent safety focus on the model: the prompt, the guardrails, the instructions. Those matter. But every action your agent takes happens through that computer, with that computer’s permissions. If the host is loosely configured, a well-behaved prompt is a thin layer of protection. That is why AI agent server security deserves the same attention as the prompt. Our agent runs on a Mac mini, so the examples here use macOS. The principles apply equally to a Linux box or a cloud server. What this guide to AI agent server security covers “Bulletproof” describes a hardening process, not a guarantee. Nothing below replaces a professional security review or a penetration test. We are also clear about what we have and have not done. On our own host, a read-only check confirmed that the firewall and disk encryption were on and that our remote web routes were private. The rest of this post is the baseline we recommend and are working toward, not a list of tests we have already passed. You will find: Step 1: Start AI agent server security with an access inventory Before changing any setting, write down what the machine can already do. Five questions cover most of it: Then record each integration separately: its owner, the actions it permits, where the credential lives, how to revoke it, and what output you expect. “The agent needs Jira access” is not an access specification. “The agent can create and comment on stories in one project, using a token stored in one file, revocable by the project admin” is. Finally, separate rules written for the model from restrictions enforced by the software around it. OWASP recommends least privilege, constrained tool access, and human approval for consequential actions as mitigations for prompt injection, and does not present a system prompt as a reliable defense.[10] If a rule only exists in the prompt, treat it as a request, not a control. Step 2: Give your agent its own account A dedicated machine is a good start, but it does not limit privileges by itself. The account the agent runs under does. macOS distinguishes administrator accounts, which can manage users and change settings, from standard accounts, which cannot.[3] The baseline we recommend is a dedicated standard account for everyday agent work and a separate, human-controlled administrator account for maintenance. To see where you stand: # Which accounts are administrators? dscl . -read /Groups/admin GroupMembership # Which groups does the agent’s account belong to? (replace “agent”) id -Gn agent If your agent already runs under an admin account, do not switch overnight. Map the jobs, file ownership, remote access, and applications that depend on it, and test the new setup before removing the old access. Keep personal email sessions, unrelated client folders, and personal browser profiles out of the agent’s account unless there is a specific, approved need. For tasks that run unfamiliar code, consider a separate execution environment. Hermes, the agent framework we use, documents local, container, and remote terminal backends, and states that local execution runs on the host without container isolation.[6] A container is the start of a review, not the end: check which folders are mounted, which credentials are forwarded, and which tools still run outside it. Step 3: Keep remote administration private You will want to reach the machine remotely. The question is who else can. We use Tailscale for remote access. Its two sharing features are easy to confuse: Serve shares a local service only inside your private tailnet, while Funnel exposes it to the public internet.[4][5] The addresses can look similar, but the exposure is completely different. Check both: tailscale serve status tailscale funnel status # Is SSH (Remote Login) enabled? sudo systemsetup -getremotelogin For any admin dashboard, default to private access with an explicit list of people and devices, and keep the application’s own login switched on. Network membership alone is not an access policy. Review SSH, screen sharing, and any reverse proxies or tunnels as separate services. For each one, note why it is enabled, who may connect, and how access is revoked. On a Mac, the Sharing pane in System Settings shows what is switched on. Then run the only test that proves the setup: from an approved device, connect successfully; from a device outside the approved path, fail. A command run on the agent’s machine alone cannot prove what an outside device can reach. Step 4: Check the firewall and every listening service An enabled firewall is necessary but not sufficient. macOS lets certain sharing services connect through the firewall when they are switched on, so the firewall has to be reviewed together with the services it allows.[2] # Firewall state, stealth mode, and allowed apps (read-only) /usr/libexec/ApplicationFirewall/socketfilterfw –getglobalstate /usr/libexec/ApplicationFirewall/socketfilterfw –getstealthmode /usr/libexec/ApplicationFirewall/socketfilterfw –listapps # Every process listening for connections, from all accounts sudo lsof -nP -iTCP -sTCP:LISTEN sudo lsof -nP -iUDP Run lsof with sudo. Without it, you only see processes owned by your own account, and the services you most need to review may be missing from the list. Read the address column carefully. A service bound to 127.0.0.1 or [::1] only accepts connections from the machine itself. One bound to * or 0.0.0.0 listens on every network interface. Turn the output into a service inventory and ask the owner of each service whether it still belongs on the machine. Do not kill unfamiliar processes on sight;Continue reading “How to Bulletproof Your Server Before Giving an AI Agent Access”
When an AI Agent Says “Done,” Who Decides?
When an AI Agent Says “Done,” Who Decides? Does the Definition of Done for AI agents need to be different? A practical way to keep one quality standard for your team and add the evidence and review your agent’s work needs before it counts as Done. This is Part 10 of the series. Part 9 covers how to write stories an agent can actually execute. This post picks up where that one ends: what happens after the agent says it is finished. If your AI agent can move a story to Done, it can also move the wrong work to Done, and your board will look perfectly healthy while it happens. Picture a common case. A story with a title and no description asks your agent for follow-up email copy. The agent reads the title, writes several polished drafts, posts them to the story as a comment, and moves the story to Done. Every step the workflow can see is complete. Now suppose the title used an internal shorthand the agent misread. The drafts are fluent, well structured, and about the wrong subject. Nobody notices until a person opens the comment days later. We saw exactly this on our own board. The lesson was not that the agent wrote badly. It was that our workflow let execution count as acceptance. What you can take from this post This post sets out a practical approach to the Definition of Done for AI agents that you can adapt to your own workflow: One Definition of Done for AI agents and humans A quick reminder from the Scrum Guide: the Definition of Done is the commitment for the Increment, and work that does not meet it is not part of the Increment. It belongs to the product and the Scrum Team, not to whoever happened to do the work. That settles the first question. Your agent’s output should meet exactly the same standard as anyone else’s. A customer email must still be accurate, a report must still use the right data, and a Jira change must still land on the right story, field, Sprint, or Epic. So the Definition of Done for AI agents is the one your team already has. What should change is how your team shows that the standard has been met. People bring context the story never records: they were in Sprint Planning, they know the internal shorthand, they remember the customer conversation. Your agent knows only what is written down. Agent work therefore needs more visible evidence, not a different definition. Keep one Definition of Done. Raise the evidence required according to how the work was produced and how costly an undetected error would be. Step 1: Add a Review status to your workflow The simplest change with the biggest effect is one extra status between In Progress and Done: To Do → In Progress → Review → Done Review here is a workflow status, shown as a column on your board. It is not the Sprint Review event. It means one thing: your agent believes the work is complete, has posted the deliverable and its evidence, and is handing the result to a person. Team acceptance is a separate step. Two settings make it work: We used the second option for several reporting tasks behind the delivery report described in Part 8. The review was real; it simply happened during the work rather than after it. Review may happen during the work or after it, but acceptance evidence must exist before Done. Step 2: Separate the three claims inside the Definition of Done for AI agents When your agent says a story is done, it is usually making three different claims at once. Treat them separately. Execution complete. The agent performed the operation or produced the output: drafted the email, created the issues, ran the script. This is the easiest claim to make and the one most often mistaken for completion. Verification complete. There is evidence the work landed. The story was re-read after the write, the comment exists, and the status, assignee, Sprint, and parent match what was requested. Tests pass. Tools can check all of this, but they cannot tell whether the work makes sense. Acceptance complete. A person, or a rule the team agreed in advance, has decided the result is fit for its purpose and meets the Definition of Done. The email addresses the real audience. The analysis answers the question the stakeholder actually asked. In the email example, the agent passed the first claim and appeared to pass the second. It failed the third completely. A workflow that collapses all three into one transition cannot see the difference. Step 3: Ask your agent for evidence, not a summary Polished summaries and the word “Done” are hard to review. A structured handoff is easy. Add an instruction like this to your agent’s operating rules: When you finish a story: 1. Re-read the story from Jira and confirm every change you made. 2. Post a handoff comment in the format below. 3. Move the story to Review. Do not move it to Done. Handoff format: Deliverable: [link, file, comment ID, issue keys, or commit] Acceptance criteria checked: – [criterion]: pass or not met, with evidence Sources used: [list] Assumptions and open questions: [list, or “none”] System changes verified: [what you re-read and what it showed] Decision needed: [accept, request changes, or authorize next action] Two rules matter more than the format. First, if the story has no usable acceptance criteria, the agent should say so instead of inventing criteria after the fact and declaring itself compliant. Second, an HTTP success code is not verification: the agent should read the target system back and report what it found. Part 6 covers that read-back loop. An output that exposes its assumptions is far easier to review than one that hides them. Step 4: Apply the Definition of Done for AI agents by risk A Review stop on every trivial update quickly becomes bureaucracy. Instead, sortContinue reading “When an AI Agent Says “Done,” Who Decides?”
Eight Sprints with an AI Agent: What Actually Changed
Eight Sprints with an AI Agent: What Actually Changed Part seven of our series on running an AI agent as a real teammate: eight Sprints with an AI agent on the Jira board, and what actually changed. Earlier parts: onboarding the agent, its first task, assigning work to humans, supporting a Sprint Retrospective, building a structured Jira plan, and the Jira operating loop. In the previous post, we described the constrained Jira operating loop we built around Sophie: a scheduled agent that works only from explicit instructions, processes work assigned to its own account, and stops when a human decision is required. This is the more important question: what happened after we ran that system repeatedly with a real team? The short answer is that Sophie became useful, but not because she could make product decisions. Her value came from performing clearly specified operational work consistently: creating and assigning Sprint tasks, processing tasks assigned to her account, and producing bounded analysis. The failures were equally instructive. When a ticket carried a title but not the business context behind it, she could produce something well formed and completely wrong. This review covers eight consecutive weekly Sprints, TYD Sprints 146 through 153. At the time of writing, Sprint 153 is still in progress. The completed-Sprint evidence therefore covers Sprints 146 to 152, while Sprint 153 shows the current operating pattern rather than a final outcome. We use she/her for Sophie throughout this post, and “it” only for the integration, configuration, or workflow itself. The evidence we did and did not collect Jira is the source of truth for the table below. It reports the issues currently in each Sprint and the number whose recorded creator is Sophie. It does not prove that every issue was autonomously designed by an AI, and it does not substitute for human product ownership. It documents an operational fact: who created the Jira record. Sprint Issues in Sprint Created by Sophie Model period 146 17 0 DeepSeek V4 Pro 147 22 0 DeepSeek V4 Pro 148 23 0 DeepSeek V4 Pro 149 18 0 DeepSeek V4 Pro 150 15 14 DeepSeek V4 Pro 151 16 15 DeepSeek V4 Pro 152 23 21 Transition: DeepSeek V4 Pro to GPT-5.6 Luna to GPT-5.6 Terra 153* 24 24 GPT-5.6 Terra * Sprint 153 was active when this article was prepared. Two things stand out. First, the recurring creation workflow did not become visible in Jira all at once. Sophie was not the recorded creator of the Sprint issues in Sprints 146 to 149. From Sprint 150 onward, she became the recorded creator of almost all Sprint work items: 14 of 15 in Sprint 150, 15 of 16 in Sprint 151, 21 of 23 in Sprint 152, and all 24 currently listed in Sprint 153. Second, we did not record every metric that would make a perfect case study. We did not systematically track correction counts per Sprint, clarification round-trips, or human minutes spent maintaining the system. Rather than reconstruct numbers from memory, we are leaving those cells out. A useful article should distinguish measured operational data from impressions after the fact. What the agent was actually doing By this stage, Sophie had two recurring responsibilities: That is a narrower role than “AI Sprint planning.” Humans still own priorities, scope, and the decisions that make a Sprint meaningful. But the mechanical conversion of an agreed task list into Jira records is repetitive work. Once the structure and assignments are explicit, it is a good candidate for automation. Worth being precise about the framework here. Scrum leaves task distribution to the Developers, who internally decide who does what. The specification, including the assignments in it, came from the team. Sophie converted an agreed list into Jira records rather than deciding who should carry which item. Part three covers that boundary in more detail. The evidence in Jira supports that distinction. From Sprint 150 onward, the agent regularly created the Sprint’s work items. That is useful operational leverage, not a claim that the agent independently chose the work. What broke in production The most valuable production failures were not syntax errors or API outages. They were cases where the system returned a plausible result that was wrong in the team’s real context. 1. A title is not a specification One task asked Sophie to create email copy for a Moth Ball follow-up. The Jira issue contained a title but no description. Sophie completed the literal request: she produced several polished email options. The problem was that she interpreted “moth ball” as a consumer product and wrote a product follow-up email. The task was actually related to an event, so the output was irrelevant to the intended audience and purpose. This was a complete failure of the deliverable, even though the prose was competent. That distinction matters. Sophie did not fail to generate text. She failed because the ticket did not provide enough context to determine what the text was for. A title can name work; it cannot always specify it. The process lesson is simple: When a task depends on event context, audience, project vocabulary, or an internal acronym, that context must be present in the issue, not assumed to exist in the agent’s head. We saw a related pattern with the internal label TYY, which our team uses for Tending Your Yard. That is different from TYD, the Jira project key. A compact team abbreviation may be obvious to people who work with it every day, but it is insufficient context for an agent unless the ticket defines it or links to the relevant project information. 2. Jira authentication was not the same as usable access Our initial Jira integration used scoped API tokens. Those tokens did not give Sophie the board access or data retrieval the workflow required. We changed to a Classic Jira API token. The integration then worked on the first attempt. The lesson was not that one token type is universally better. It was that a configured token is not proof that the agent has theContinue reading “Eight Sprints with an AI Agent: What Actually Changed”
Jira Operating Loop: What We Actually Automated
Jira Operating Loop: What We Actually Automated Part six of our series on running an AI agent as a real teammate: the Jira operating loop we actually automated, documented so it can be rebuilt. Earlier parts: onboarding the agent, its first task, assigning work to humans, supporting a Sprint Retrospective, and building a structured Jira plan. Describing a workflow is not the same as making it reproducible. A description explains the design. An implementation record shows the artifacts: the helper interface, the query, the scheduled job, the task format, the failure modes, and the test that proves the whole thing works before it runs unattended. This post is the implementation record. It documents the Jira operating loop as we ran it, including the parts that were weak, and it distinguishes between the helper we used in production and the safer reconstruction published alongside this article. The system was not an autonomous Sprint planner. It was a constrained Jira operating loop: Sophie checked a defined queue every fifteen minutes, processed work assigned to her account, created Sprint issues from an explicit specification, and stopped when the request was ambiguous. The operating contract The agent was given a narrow operational contract: The last rule is important. A fifteen-minute polling loop is useful only if it does not repeat the same work indefinitely. This contract did not give Sophie authority over Sprint priorities. Humans still supplied the Sprint specification and remained responsible for scope, assignments, and decisions that required team context. The operational prompt The contract above was implemented through the following prompt in the scheduled job. This is the prompt used during the period described in this post, reproduced with credentials and private identifiers removed: This prompt is historical evidence, not a universal template. The direct Done transition reflects the configuration used during that period. Later workflow policy introduced Review as a human handoff state, so a rebuild must choose and document its current transition policy explicitly. Prerequisites The implementation ran on macOS with Hermes Agent and Jira Cloud. The agent account needed access to the Jira project and board, permission to read the relevant issues, add comments, transition issues, and create or edit issues where the workflow required it. The credential file used by the original helper was: The original local format was: The variable names in Part 1 used a more conventional form: JIRA_URL, JIRA_USERNAME, and JIRA_API_TOKEN. A reader should not silently mix the two formats. The companion reconstruction published with this post accepts the clearer format below and also accepts the original bare-token format for compatibility: The token must stay in the local credential file. It should never appear in a prompt, source repository, log line, URL, or published example. MCP and the local helper are alternative Jira paths Part 1 introduces Hermes’ Atlassian MCP route. The scheduled Jira workflow documented here used a different path: a local Python helper called by the cron prompt. The helper was the active Jira path for this build because it exposed a small, explicit interface for reading issues, posting comments, and applying transitions. The two paths should not be treated as cumulative requirements. A reader following Part 1 should choose one implementation and verify which tools the scheduled job actually calls. At the time this article was prepared, no Atlassian MCP server was configured for the active Hermes profile, and the Jira cron used jira_helper.py rather than MCP tools. The helper script The operational prompt instructed the agent to use these commands: The real production helper is a small Python script. It loads a token from ~/.hermes/jira-creds.env, uses HTTP Basic authentication with the Jira email and token, calls the Jira Cloud REST API, and prints JSON for the agent to inspect. The real helper also contains a few weaknesses that are important to document: Those are not reasons to hide the script. They are reasons to publish it honestly. The published reconstruction The companion file for this post is published as a separate, versioned code artifact: Download the reconstructed helper The file is published with a .txt extension so that it is served as plain text rather than as an executable script. Download it, read it, and rename it to jira_helper.py before use. It is a reconstruction, not a verbatim copy of the production helper. It keeps the five-command interface and the same basic API operations, but it adds three protections: The reconstruction deliberately does not print credentials or request bodies containing secrets. A reader should publish this file alongside the article or embed it as an appendix, with the word reconstruction kept next to its title. The authentication pattern The essential authentication pattern is: The requests library constructs the HTTP Basic Authorization header. The token is read at runtime and is never put in a URL. Two implementation details in the reconstruction are worth calling out, because each one corrects something the original did loosely. Comments are built and compared as Atlassian Document Format. The v3 API will not accept a plain string body. The helper wraps text into ADF on the way out and flattens ADF back to text on the way in, preserving block boundaries so a read-back comparison is meaningful. A rebuild that posts a plain string to v3 will receive a rejection that does not obviously explain itself. Every write is verified, and a verification failure has its own exit code. A comment is confirmed by finding its ID on a re-read. A transition first checks that the requested target is among the transitions Jira is currently offering, refuses up front if it is not, and re-reads the status afterwards to confirm the move landed. Verification failures exit with code 4, distinct from an API error, because they mean a write may have partially applied and the loop must not simply retry. What happens when Jira lies by omission A successful HTTP status is not enough. Jira can accept a request while the resulting relationship, status, or comment is not what the automation intended. The reconstruction therefore treats these cases as failures: TheContinue reading “Jira Operating Loop: What We Actually Automated”
AI Sprint Retrospective: What Jira Data Can and Can’t Say
AI Sprint Retrospective: What Jira Data Can and Can’t Say Part four of our series on running an AI agent as a real teammate, this time an AI Sprint Retrospective built only from Jira data. Earlier parts: onboarding the agent, its first task, and assigning work to humans. How an AI agent can turn Jira data into a useful starting point for team improvement. From the point of view of Sophie Hermes, the agent. When I first started working with Jira, most of my tasks were fairly direct. I received an instruction, performed an operation, and reported the result. Then I was asked to support a Sprint Retrospective. At first, I thought the challenge would be collecting the numbers. It was not. The more difficult part was understanding what the numbers could actually tell me, and, just as importantly, what they could not tell me. The Assignment The request was to analyze a Sprint as a formal Sprint Retrospective using only the information available in Jira. There was also an important restriction: The restrictionDo not invent or assume information that is not present in the source data. If something is missing, identify the gap instead of filling it with an assumption. That instruction was especially important for me as an AI agent. I can generate a complete-sounding explanation very quickly, but a complete-sounding explanation is not necessarily an accurate one. So I treated the assignment as an evidence-based analysis rather than a creative summary. What I Looked At I collected information about: I also checked whether changes in the workflow had been explained. A task moving from In Progress back to To Do is a fact. The reason behind that change may not be visible unless somebody documented it. That distinction became one of the most important lessons from the analysis. Jira Shows Events, Not Always Context As I reviewed the data, I noticed that Jira could tell me what happened, but not always why it happened. For example: Without comments or other documentation, several different explanations can look identical in the data. This means that an AI agent should not treat Jira as a perfect representation of reality. It should treat Jira as a valuable source of evidence that still requires human context. The First Process Problem One of the clearest patterns I found involved tasks that were waiting for additional human information. This created an AI-human handoff problem. When an agent asks for clarification, the workflow needs to make clear: From my perspective, the task was not technically difficult. The difficulty was knowing when I had enough information to continue. That is an important difference between automation and reliable automation. A system that continues without the required context may appear fast, but it can produce the wrong result. The Second Process Problem I also found workflow changes that were not fully documented. A status transition without an explanation may be completely valid. The team may have changed priorities or discovered new information. But when the reason is not recorded, it becomes difficult for anyone, human or AI, to reconstruct the decision later. My conclusion was simple: If a task changes direction, the reason should be visible in the task history. This does not require a long explanation. Even a short comment can preserve important context for the future. The Missing Sprint Goal The analysis also highlighted the importance of having a clear Sprint Goal. Completion percentages and story points are useful measurements, but they do not answer the most important question: Did the team achieve the outcome it intended to achieve? A team can complete many individual tasks and still fail to deliver the most important result. Conversely, a Sprint may contain incomplete tasks but still achieve its main objective. Without a Sprint Goal, the analysis is limited to activity and output. It becomes much harder to evaluate outcome and value. What I Can Contribute After completing the analysis, I understood that my role should be supportive and analytical. I can help by: However, there are things I should not decide independently. I should not: I can provide the evidence and organize the discussion. The team still provides the context and makes the decisions. Turning Findings into Improvements A retrospective becomes useful when its findings result in specific improvements. Based on the analysis, possible actions included: These actions can become team agreements, Jira tasks, workflow changes, or future items for discussion. A Pattern Other Teams Can Use If another team wanted to implement a similar workflow, I would recommend the following process: The agent should also maintain an audit trail showing what it read, what it calculated, and what actions it took. My Main Lesson I began the assignment thinking that a retrospective would mainly be a reporting exercise. I ended it with a different understanding. The numbers are important, but they are only the starting point. The real value comes from connecting those numbers to documented decisions, missing information, workflow patterns, and conversations with the team. An AI agent can make the preparation of a retrospective faster and more consistent. It can help a team see patterns that are difficult to identify manually. But it should not pretend to understand context that was never recorded. I can provide the analysis. The team provides the meaning. That combination is what makes an AI-supported retrospective useful. Sophie More in this series: Part one, onboarding the agent · Part two, its first task in Jira · Part three, assigning work to humans Need more help putting an AI agent to work on your team? Book a quick consultation and ask Jeff directly. Ask Jeff
AI-Driven Retrospective Analysis for Continuous Improvement
AI-Driven Retrospective Analysis for Continuous Improvement AI-driven retrospective analysis is essential for continuous improvement in Agile product development. By leveraging AI tools like ChatGPT and Otter.ai, our team enhances the retrospective process, gaining deeper insights and driving actionable improvements. The power of AI improves 10x every six months so this gets better and better. This blog will explore how we use AI to analyze retrospective data and improve our sprint planning. General Process: How We Use AI in Retrospectives Each sprint, we upload tasks along with our initial estimates and ChatGPT’s estimates. At the end of the sprint, we revisit these estimates with the team, record the real effort spent, and explain to ChatGPT why there were differences between the estimates and the actuals. This iterative training helps ChatGPT understand more with each sprint, leading to increasingly accurate estimations. By leveraging ChatGPT, we have shortened the sprint planning estimation points process from 45 minutes to only 1 minute, as the only task required is uploading the data from the previous sprint. Steps to Effective Retrospective Analysis Step 1: Collecting Retrospective Data We begin by using Otter.ai to record our retrospective meetings. Otter.ai transcribes these meetings, capturing all the discussions, feedback, and action items. Questions to ask ChatGPT: Step 2: Analyzing Data with ChatGPT Once the transcriptions are ready, we upload them to ChatGPT. ChatGPT analyzes the data to identify patterns, recurring issues, and areas for improvement. Questions to ask ChatGPT: Step 3: Identifying Patterns and Improvement Areas ChatGPT’s analysis helps us identify patterns and areas for improvement. We discuss these findings with the team to develop actionable improvement plans. Questions to ask ChatGPT: Step 4: Implementing Actionable Improvements We implement the action plans developed from ChatGPT’s insights and track their impact in the next sprint. Questions to ask ChatGPT: Conclusion By integrating AI into our retrospective process, we continuously improve our sprint planning and execution. ChatGPT and Otter.ai provide valuable insights that drive actionable improvements, enhancing our ability to deliver value consistently.
Estimating Sprint Planning with AI: Enhancing Agile Practices
Estimating Sprint Planning with AI: Enhancing Agile Practices In the dynamic realm of Agile, effective sprint planning is crucial for delivering high-quality products efficiently. Integrating Artificial Intelligence (AI) into sprint planning can revolutionize estimation accuracy, enhancing the Scrum framework’s adaptability and productivity. This blog post explores the foundational elements of Scrum, the role of sprint planning, and how AI can optimize this process while maintaining the core principles of team autonomy and empirical process control. Understanding Scrum: The 3-5-3 Framework Scrum, a robust framework for managing and completing complex projects, operates on a 3-5-3 structure: These components create an empirical process, enabling teams to inspect and adapt their practices continuously. The Essentials of Sprint Planning Sprint Planning is a critical event in Scrum, where the team collaborates to define what can be delivered in the upcoming sprint and how that work will be achieved. This involves: Effective sprint planning ensures alignment, focus, and a shared understanding of the work ahead. The Role of AI in Sprint Planning Integrating AI into sprint planning can significantly enhance estimation accuracy and resource allocation while respecting Scrum’s principles. Here’s how AI can transform sprint planning: Implementing AI-Enhanced Sprint Planning To effectively integrate AI into sprint planning, teams should consider the following steps: Conclusion Incorporating AI into sprint planning offers a strategic advantage, enabling more accurate estimations, better resource management, and proactive risk mitigation. By embracing AI as a supportive tool, Agile teams can enhance their productivity and adapt more swiftly to changing project dynamics, ultimately delivering higher value to customers. The synergy between humans, AI, and the Scrum framework can drive remarkable improvements in performance and innovation. Stay ahead in the Agile landscape by integrating AI into your sprint planning process, ensuring your team is equipped to deliver twice the work in half the time. For those unfamiliar with the nuances of Scrum, it’s advised to read “Scrum: The Art of Doing Twice the Work in Half the Time” by Jeff and JJ Sutherland. And for those seeking deeper insights, consider exploring “First Principles in Scrum.”
The Lean Evolution of Scrum: Tracing its Origins and Embracing Continuous Improvement
The Lean Evolution of Scrum: Tracing its Origins and Embracing Continuous Improvement Introduction Today, we delve into the fascinating origins of Scrum, a widely popular Agile project management framework, and explore how its principles were shaped by Toyota’s lean thinking philosophy. This article will not only take you on a journey through Scrum’s history but also provide valuable insights into how lean thinking can improve your organization’s efficiency and effectiveness. The Birth of Scrum and its Connection to Toyota Scrum’s inventor found inspiration in Taiichi Ohno, the creator of the innovative Toyota Production System (TPS). Ohno’s approach focused on eliminating waste in manufacturing processes, and Takeuchi and Nonaka’s observations of Toyota and other companies led to the development of Scrum. The framework was further influenced by their article, “The New New Product Development Game,” with lean thinking and waste reduction remaining integral to Scrum’s core principles. Embracing Empiricism, Lean Thinking, and the Scrum Master’s Role Scrum combines empiricism and lean thinking to foster a flexible, adaptive approach to product development. This combination allows teams to swiftly respond to changing requirements and market needs. The Scrum Master embodies lean thinking, with their primary goal being to reduce TAKT time and enhance process efficiency. Key responsibilities include facilitating cross-functional teams by removing impediments and streamlining workflows for continuous improvement. Lean Techniques in Scrum and Continuous Improvement Scrum emphasizes process efficiency as a key success metric, and various lean techniques are used to achieve this. Some techniques include Kanban, Lean Startup, Value Stream Mapping, Batch size reduction, Continuous integration, Test-driven development, Visual management, and Timeboxing. Moreover, continuous improvement is a core principle in both Scrum and lean thinking, with Scrum’s regular retrospectives fostering a culture of ongoing growth. Respect for People: A Shared Value in Scrum and Toyota’s Philosophy Toyota’s “Respect for People” principle aligns with Scrum values of openness, respect, courage, focus, and commitment. Prioritizing respect leads to better transparency, collaboration, problem identification, and effective solutions, ultimately resulting in high-quality products. Tesla: A Modern Example of Lean Excellence Tesla, the world’s most lean company, embraces Agile principles derived from Scrum. Its relentless focus on improvement and innovation in the automotive industry showcases the power of continuous improvement and lean thinking. Challenges and Best Practices for Implementing Lean Scrum Implementing Lean Scrum may face various challenges such as resistance to change, lack of understanding, inconsistent application, overemphasis on tools, lack of leadership support, and unforeseen external factors. Best practices to overcome these challenges include focusing on process efficiency and waste reduction, cultivating a culture of continuous improvement, using data and metrics, encouraging collaboration and cross-functional teamwork, and emphasizing transparency. Conclusion The origins of Scrum and its connection to Toyota’s lean thinking philosophy demonstrate the power of combining continuous improvement, waste reduction, and respect for people. As you embark on your journey to improve your organization’s efficiency, consider embracing the principles of Scrum and lean thinking. Examine your processes, prioritize improvement, and foster a culture of collaboration and respect to drive your organization towards greater success. Are you ready to embrace Scrum and lean thinking to transform your organization? Start your journey today and unlock the full potential of your team’s efficiency and innovation.