Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for systems analysts

Business Rule Extraction Agent

A tested catalog of business rules with source, owner and a confirmed status for each

Business Rule Extraction Agent: what goes in, what the agent does and what you get

What it does

When a legacy system is replaced, nobody can say what it really does, such as why some orders skip approval or how a discount is capped. This agent reads the code, stored procedures, old specs and manuals and lists each rule in plain words with where it was found. For each rule, it builds sample data that should trigger it and runs the data through a test copy of the system to see if the rule really holds. Rules that do not behave as written are flagged. For unclear or conflicting ones it drafts a question for the right stakeholder and waits for the answer. After each reply it updates the rule catalog and retests. The analyst approves the catalog. Edge case: code says discounts cap at 15 percent, but the system applies 20 percent for one customer group.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueApprovedYes, continueApprovedNoNo 1 STARTS WHEN Analyst names a legacy system to document 2 USES A TOOL Read code, procedures and documents for rules 3 DOES List each rule in plain words with its source 4 USES A TOOL Build sample data and run it through the test system 5 CHECKS THE RESULT Does the system behave as the rule states? If not: flag the mismatch and note which behavior isreal. Back to step 4. 6 DOES Draft stakeholder questions for unclear orconflicting rules 7 YOU APPROVE Analyst approves the questions to send 8 USES A TOOL Record answers and update the rule catalog 9 CHECKS THE RESULT Is every rule now confirmed, retired or marked open? If not: retest changed rules and ask a follow-up. Backto step 4. 10 YOU APPROVE Analyst approves the catalog 11 RESULT Business rule catalog with status per rule
Read the steps as a list
  1. Analyst names a legacy system to document
  2. Read code, procedures and documents for rules
  3. List each rule in plain words with its source
  4. Build sample data and run it through the test system
  5. Does the system behave as the rule states?If not: flag the mismatch and note which behavior is real. Back to step 4.
  6. Draft stakeholder questions for unclear or conflicting rules
  7. Analyst approves the questions to sendThe agent waits here for your OK.
  8. Record answers and update the rule catalog
  9. Is every rule now confirmed, retired or marked open?If not: retest changed rules and ask a follow-up. Back to step 4.
  10. Analyst approves the catalogThe agent waits here for your OK.
  11. Business rule catalog with status per rule

How it decides

A rule is confirmed when a test shows the system behaves as the rule says and a stakeholder agrees it is correct.

  • Mark a rule as mismatched if the test result differs from the code
  • Ask a stakeholder when two sources conflict
  • Never retire a rule without an owner's confirmation
  • Group rules by process area

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Systems and folders to read
  • Rule format
  • Stakeholder list
  • How rules are grouped

What keeps you in control

It always asks you first

  • Questions sent to stakeholders
  • The final catalog

Hard limits

  • Never changes code or data in the system
  • Never runs tests on live data

It stops when

  • Done: every rule confirmed, retired or marked open with an owner
  • Stop: no test system is available

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensIn an order system, code capped discounts at 15 percent. The agent ran 12 sample orders and found wholesale customers got 20 percent. It marked the rule as mismatched and asked the sales manager. She said 20 percent was an old deal for wholesale only. The agent split it into two rules, retested with 6 orders, and the analyst approved.

More agents for systems analysts