AI Agent Factory: Building Governed Agents at Scale
An AI agent factory should help business teams ship real workflows while IT keeps control of credentials, approvals, and production access. Here is the operating model to scale without multiplying security reviews.

TL;DR: what you'll build. An AI agent factory is the operating model and governed software layer that lets a company build, deploy and run agents repeatedly, with shared connectors, scoped access, approvals and monitoring. This guide gives CIOs and platform leaders a role model, a risk-tiered path from request to production, an intake form and a go-live checklist, plus the concrete build on Major.
What an AI agent factory is, and what it is not
An AI agent factory is a repeatable way to turn business requests into governed, running agents. IT standardizes the parts that should never differ between teams (connectors, credentials, identity, approvals, logging), and business owners shape the workflow-specific parts. The goal is that the hundredth agent costs far less review effort than the first.
That meaning is different from three things the phrase gets confused with:
- A single agent. One agent that answers questions or runs a task is a deliverable. A factory is the system that produces, governs and retires many of them.
- An app builder. A tool that generates interfaces for people is one input to a factory, but it says nothing about how an agent acts, what it may write to, or who approves it.
- An engineering coding-agent factory. Vendors such as Factory sell software-development automation aimed at engineering teams shipping code. This article covers the version for business workflows: sales ops, support, finance, legal, marketing and IT, where the output is a governed workflow rather than a pull request.
Major is where agents build deterministic apps to run repeatable enterprise workflows under IT governance. When an agent works out how to handle a repeatable step, it builds an app for that step, with a managed database, storage and logs, and then runs the app instead of reasoning through the step again. The model keeps the judgment calls. The app holds the state, runs the same way each time, and sits inside the permissions IT set.
This is what a governed software factory looks like when the product is an agent workflow. For the mechanics of agents that build the apps they run, see the sibling guide. The citizen developer guide covers the people side: business teams build while IT governs.
Why an AI demand surge breaks the request-and-review model
The classic intake queue assumes software requests arrive slowly and each deserves a bespoke review. AI breaks both assumptions. Every team wants an agent, every agent touches several systems, and each new tool arrives with its own credentials and its own security questions.
Leaders describe the same pains again and again:
- The IT backlog grows faster than IT can staff it. Requests that used to be a handful a quarter become dozens a month.
- Every new AI tool is an unbudgeted security review. Reviewing the tenth prototype from scratch costs as much as reviewing the first.
- Shadow IT and vibe-coded prototypes spread. Quick builds ship with exposed secrets, open database access, no authentication and no observability.
- Engineering inherits maintenance. When a business-built app breaks, the people who never built it are asked to fix it.
- Mandates stall. Leadership says "use AI," then enterprise controls slow every pilot to a crawl.
- Tools sprawl. Five teams adopt five agent builders, each with its own credential store.
One survey puts numbers on this. In Retool's AI Agent Governance report, based on what the company calls "our latest survey of 300 technology leaders" (published November 2026), 89% of IT leaders say their company has at least one AI agent in production. Of those with agents in production, 27% say one team owns them all, 55% lack the staff to govern agents at scale, and 40% set up data credentials one agent at a time. Twenty percent report credentials shared insecurely to get an agent working.
The same article says 54% report that business teams move faster than IT can review, and connects just 5% of CIOs, CTOs and CISOs with full visibility into AI tools in production.
Read these as self-reported survey responses from one sample, not as facts about every enterprise. The article does not state survey dates or a sampling method. The pattern they point to is still useful: ownership is scattered, credentials are handled agent by agent, and review capacity is the constraint.
The fix is not a bigger review committee. A committee reviewing prototypes one by one stays the bottleneck. The fix is to make the review a property of the platform, so most of what a request needs is already decided before it arrives.
The factory operating model: central guardrails, distributed ownership
A factory splits responsibility along one line: central teams own the rules and the rails, and business teams own the workflow and its outcomes. Two public reference designs follow the same split. AWS's sample AI agent factory blueprint has a platform team that manages approved models, guardrails and fleet visibility while workstream teams own their runtime, data and releases. Microsoft's agent factory blueprint layers identity, guardrails, evaluation, data protection and governance, and says plainly that these measures do not guarantee complete safety.
The five roles
- Platform and security owner (central). Owns identity, SSO, the connector catalog, credential storage, logging, and the risk-tier rules. Approves which systems and scopes exist, not each individual workflow.
- Business workflow owner. A named person in the team that benefits. Owns the purpose, the success measure and the outcome. If the workflow misbehaves, this person is accountable.
- Builder. Often the same person as the owner. Describes the workflow in plain language and iterates on the app and agent inside the approved environment.
- Approver. Signs off on the release according to the risk tier. For low-risk work, the workflow owner. For high-risk work, security or the data owner as well.
- Operations steward. Watches logs and failures after release, handles rollback, and runs the periodic review that renews or retires the workflow.
Who approves what
Access approval is central and happens once per connector and scope. Outcome ownership is local and happens once per workflow. Mixing the two is where factories fail: if IT owns every outcome, it becomes the queue, and if business teams own access, credentials sprawl.
The NIST AI Risk Management Framework is a useful vocabulary for this split. It names four functions (Govern, Map, Measure, Manage) and is intended for voluntary use. A factory maps naturally onto it: central policy is Govern, intake classification is Map, evaluation and logs are Measure, and monitoring plus retirement is Manage. Using the vocabulary does not make a workflow compliant with anything, so treat it as a planning aid.
A risk-tiered path from request to production
Not every workflow deserves the same scrutiny. A read-only summary of internal ticket data and an agent that can send customer email are different risks. The path below is the same for every request, and the tier decides how many gates a request passes through.

Figure 1. The risk-tiered path: one intake, three tiers, sign-offs that scale with the data and actions involved.
The ten steps
- Intake. The owner fills in the form (below). Nothing is built before an owner, purpose and system list exist.
- Classify data and actions. Decide which data the workflow reads and whether it writes, sends or deletes anything.
- Select shared connectors. Use connectors IT already approved. A new system means a one-time connector review, not a per-workflow one.
- Assign the owner and steward. Name both people on the request record.
- Build in the approved environment. The workflow is built where SSO, permissions, logging and storage are already in place.
- Test. Run happy paths, failure paths and permission checks with realistic data.
- Approve. The sign-offs required by the tier.
- Release. A versioned deploy with logging on.
- Monitor. The steward watches failures, exceptions and approval queues.
- Review or retire. A review date is set at release. Unused or unowned workflows get retired.
A compact tier checklist
- Low impact. Task: reads internal data and produces summaries or drafts a person reads. Data sensitivity: internal, no regulated or customer-identifying fields. Approval: workflow owner. Release condition: read-only scopes, logs on, review date set.
- Medium impact. Task: proposes or makes writes to a system of record, such as updating a CRM field or a ticket. Data sensitivity: customer or employee business data. Approval: workflow owner plus platform owner, with a human approval gate on every write. Release condition: tested approval path, rollback defined, scoped write permission only on the fields needed.
- High impact. Task: takes external or irreversible actions, such as sending customer communications, moving money, or acting on regulated records. Data sensitivity: sensitive, regulated or contractual data. Approval: owner, platform owner, and security or the data owner. Release condition: security review of the specific workflow, human sign-off on every external action, tested rollback, and a short review cycle.
The tier is a judgment, and it should be reviewed when a workflow gains a new system, a new write permission or a new audience. Nothing here substitutes for the specific legal and compliance requirements your industry carries.
The agent factory checklist leaders can use now
Two artifacts make the factory real: an intake form that every request must complete, and a go-live checklist that every release must pass. Both are short on purpose, so people use them.
The five-step intake form
- Owner and purpose. Who is accountable, and what outcome should this workflow produce?
- Systems and data. Which systems does it read from and write to, and which fields?
- Actions and approval. What can it change, send or delete, and which of those need a person to approve first?
- Failure path. What happens when a system is down, data is missing, or the agent is unsure? Who gets the exception?
- Success measure and review date. What number will the owner watch, and when will the workflow be reviewed?
The go-live checklist
- [ ] A business owner and an operations steward are named on the request.
- [ ] The workflow's purpose is written in one sentence.
- [ ] Data touched is classified and the risk tier is recorded.
- [ ] Every connector used is an approved one, connected through the central credential store.
- [ ] Each connector scope is the minimum the workflow needs, with write permissions listed field by field.
- [ ] No credential appears in code, prompts or configuration the builder can read.
- [ ] Human approval is in place for every write or external action the tier requires.
- [ ] Failure paths are tested: API errors, missing data, duplicate events and permission denials.
- [ ] Audit logs capture who or what acted, on which record, and when, and retention is agreed.
- [ ] A rollback or disable step is defined and has been tried once.
- [ ] A success measure is set and a review date is on the calendar.
What the factory builds: five governed workflow examples
The best way to see a factory is its output. The following published guides each describe a workflow that fits the pattern: shared connectors, an app that holds state, an agent for the judgment calls, and a person at the approval point. They are illustrations of workflow shapes, not verified customer deployments or measured outcomes.
- Sales: Apollo.io lead enrichment to Salesforce lead routing shows an enrichment-and-routing workflow where a person approves proposed record changes before anything is written.
- Customer support: Customer health scoring from Gainsight success plans and Zendesk ticket trends combines two systems into a health view, with high-risk accounts routed to an owner.
- Marketing: GA4-to-HubSpot campaign anomaly briefs turns analytics changes into a written brief a marketer reviews.
- IT and engineering: Bug escalation between Intercom conversations and Jira issues moves support-reported defects into engineering without copy-pasting between tools.
- Legal and compliance: Lease renewal e-signature tracking between AppFolio and DocuSign tracks signing status and flags stalled renewals for a person to follow up.
Notice what these share. None is a clever prompt. Each is a small app with tables and screens, a connector set that IT approved once, and an agent used only where judgment is needed. That is why they can be reviewed as a class instead of one at a time. For the demand side of this pattern, the enterprise app factory guide covers how to clear the backlog without shadow IT.
What this looks like on Major
Here is the build, using the first workflow above as the example. The architecture below shows the pieces and where IT's controls sit.

Figure 2. The governed agent factory on Major: connectors connected once by IT, an app that holds state, an agent for exceptions, and an approval gate before any write.
The build, step by step
- Describe the workflow and its boundaries. The business owner writes what the workflow should do, which systems it touches and what it must never change. You should see a short request record with an owner, a purpose and a proposed risk tier.
- Connect approved systems once. IT connects each system (for example Salesforce and Zendesk) through Major's central credential store, governed by IT and scoped per connector. Builders never see or paste keys, and each app and agent receives only its approved scope. You should see the connector listed as available to builders, with the scope shown.
- Build the app. The builder describes the app in plain language. Major creates it with a managed database, file storage, a role-aware interface and SSO, with permissions and audit handled by the platform. You should see the tables (for example proposed updates, approvals and exceptions) and a screen for the reviewer.
- Add the agent. The agent calls the app's endpoints and uses the scoped connector access. It reasons only about exceptions: a record that matches two accounts, an enrichment that conflicts with the CRM, a ticket trend that is ambiguous. You should see the agent's instructions and the list of app actions it is allowed to call.
- Set the trigger and the approval gate. A workflow runs on a schedule or on a connector event, executes the deterministic steps in the app, and pauses for a human approval before any write or sensitive case. You should see a pending approval appear in the reviewer screen.
- Test the failure paths and permissions. Run it with a missing field, a duplicate event, a denied permission and an API error. You should see each case end in a logged state, not a silent failure.
- Deploy and let IT see it. Deploy with the runtime and audit logs managed in Major. IT can see what was built, who owns it, which connectors it uses and what it did. You should see the workflow in the inventory with its owner and version.
Two prompts that match the examples above, as a builder might type them:
Create a lead-enrichment review app that proposes Salesforce updates from Apollo records and requires approval before writing.
Build a support escalation app that summarizes Gainsight health context with Zendesk ticket trends and routes high-risk cases to the account owner.
Why the agent reasons once and the app runs forever
An analogy helps here. A new hire reasons carefully the first week about how to process a refund, then writes a checklist and follows it. Re-deriving the process every time would be slow and error-prone. In the same way, the agent works out the repeatable part once and builds an app for it, and the app runs the same way every time. The agent is called in when something does not fit the checklist.
This is the property that makes the factory governable. The repeatable work lives in code with permissions and audit trails, so an action can be inspected, attributed and controlled. The model does less on each run, not nothing, and its judgment calls land in an approval queue where a person can accept or reject them.
Governance by construction
- Identity and access. SSO for people, role-based access in each app, and scoped access for each agent.
- Credentials. Connected once by IT in the central store, scoped per connector, never in code or prompts.
- State. A managed database and storage per app, so history and decisions persist beyond a chat.
- Approvals. Writes and sensitive cases pause for a named approver.
- Audit. Logs show what ran, on which record, and who approved it.
- Visibility. IT sees what is built and can disable or roll back a workflow.
If vibe-coded prototypes are what you are worried about, the vibe coding security guide has the boundary checklist, and the enterprise vibe coding platform article explains governed building versus unbounded prototypes. For control at the point where an agent acts, see AI agent governance.
The Major take: make governance a reusable path, not a recurring queue
The constraint is real. Every disconnected prototype creates another access review and another maintenance burden. A centralized gate that inspects everything leaves useful work sitting in a queue, which is how teams end up building outside it.
Two mechanisms resolve this. The first is reusable governed connectors with scoped credentials: IT approves a system once, and every later workflow inherits the review. The second is auditable deterministic apps that hold state: the repeatable work is code with logs, so a reviewer inspects a workflow's behavior rather than guessing at a model's.
Business owners stay accountable for the process and its outcomes. IT owns platform policy, identity, guardrails and production controls. A factory built this way does not make model judgment infallible, replace security review for high-risk processing, or guarantee compliance. It makes the common case fast and the sensitive case visible. For rollout context, the enterprise AI adoption guide covers sequencing and change management.
Before you roll this out
Run this short list at the end of every release review, and keep the answers on the request record so the next reviewer can see what was checked and by whom. If any line is a no, the workflow waits at its current tier until the gap is closed. Most of these items take minutes once the connectors and approval path already exist, which is the point of building the factory first.
- [ ] A business owner is named for every workflow, and an operations steward for the factory.
- [ ] Data is classified and every workflow has a recorded risk tier.
- [ ] Connector permissions are scoped to the minimum, and credentials live only in the central store.
- [ ] The approval path has been tested end to end, including a rejection.
- [ ] Audit logs have been reviewed by someone outside the build team.
- [ ] A rollback or disable step is defined for every workflow.
- [ ] A success measure and a review date are agreed and written down.
More use cases by tool: More Salesforce use cases, More Zendesk use cases.
Start building on Major
Describe a workflow, connect your systems once under IT control, and let Major's agents build the governed apps that run it, with SSO, scoped credentials, approvals and audit logs in place from the first deploy.
Frequently asked questions
What is an AI agent factory?
An AI agent factory is a governed, repeatable way to create, deploy, operate and retire many agents. IT standardizes connectors, credentials, identity, approvals and logging, while business owners define the workflow. It differs from a single agent, which is one deliverable, because the factory is the system that produces and governs them.
How do you scale AI agents across an enterprise without losing control?
Standardize the controls centrally and distribute ownership of workflows. Use shared connectors with scoped credentials, risk-tiered approvals, human gates on writes, monitoring, and a named owner for every workflow. Review should be a property of the platform, so each new request inherits most of what it needs.
What should an AI agent factory include?
Approved connectors, a central credential store, an app and state layer, evaluation and testing, human approvals, audit logs, and lifecycle ownership from intake to retirement. It also needs an intake form, a risk-tier rule and a go-live checklist so every request follows the same path.
Who should own an enterprise agent factory?
A central platform or security owner should own the rails: identity, connectors, credentials, logging and tier rules. Business process owners own each workflow and its outcome, and an operations steward handles monitoring, rollback and periodic review. Clear handoffs between them matter more than any single org-chart choice.
How can IT govern agents built by business teams?
Give builders an approved build path rather than a ticket queue. Use least-privilege connector scopes, SSO and role-based access, audit trails, risk tiers and production gates. IT then sees every workflow, owner and connector in one inventory and can disable or roll back anything that misbehaves.
Related articles
- Citizen Developer Platform: What IT Should Require Before Rollout
- Enterprise App Factory: Clear the IT Backlog Without Shadow IT
- AI Software Factory: Agents That Build the Apps They Run
About the author
Ritvij Gautam is Head of Growth at Major.
Last reviewed November 27, 2026 by Ritvij Gautam.
Frequently asked questions
- What is an AI agent factory?
- An AI agent factory is a governed, repeatable way to create, deploy, operate and retire many agents. IT standardizes connectors, credentials, identity, approvals and logging, while business owners define the workflow. It differs from a single agent, which is one deliverable, because the factory is the system that produces and governs them.
- How do you scale AI agents across an enterprise without losing control?
- Standardize the controls centrally and distribute ownership of workflows. Use shared connectors with scoped credentials, risk-tiered approvals, human gates on writes, monitoring, and a named owner for every workflow. Review should be a property of the platform, so each new request inherits most of what it needs.
- What should an AI agent factory include?
- Approved connectors, a central credential store, an app and state layer, evaluation and testing, human approvals, audit logs, and lifecycle ownership from intake to retirement. It also needs an intake form, a risk-tier rule and a go-live checklist so every request follows the same path.
- Who should own an enterprise agent factory?
- A central platform or security owner should own the rails: identity, connectors, credentials, logging and tier rules. Business process owners own each workflow and its outcome, and an operations steward handles monitoring, rollback and periodic review. Clear handoffs between them matter more than any single org-chart choice.
- How can IT govern agents built by business teams?
- Give builders an approved build path rather than a ticket queue. Use least-privilege connector scopes, SSO and role-based access, audit trails, risk tiers and production gates. IT then sees every workflow, owner and connector in one inventory and can disable or roll back anything that misbehaves.