We set up, secure and help run an AI software factory: one governed way for your experts to build software with AI agents while engineers review. We also build alongside your experts, starting with the first product, so your team can carry on without us.
Business experts can now build software by talking to an AI agent. For example, a claims lead could describe a tool and an agent could draft a working prototype the same day. The risk comes with the speed. GitHub says it plainly about its own agent: “Copilot can produce incorrect or suboptimal code, including code that contains security vulnerabilities.”
The problem is not the agent. It is the missing factory around it: no shared rules, no review, no scans, no limit on spend, no record of who changed what. The factory makes the safe path the easy one.
Who we are: Citizen Development Academy, a Microsoft Learning Partner (training). The team behind this service has two decades on the Microsoft business apps stack and 250+ projects across 6 countries. This service is our own, not a Microsoft offering.
Already on Power Platform? Our ALM and DevSecOps service covers the release path; the factory covers the whole build system, pro-code and AI agents included.
Updated November 2026. Microsoft and GitHub facts link to their sources. Preview features are labeled.
What an AI software factory is
An AI software factory is a standard, governed way to build software with AI agents. Every project starts from the same template, follows the same rules, passes the same checks and reaches production the same way. Subject-matter experts, the business people who know the work, describe and test. AI drafts the code. Engineers review and approve. Already have an app built outside a factory? Production readiness for AI-built apps checks it and makes the harden or rebuild call.
In short: a template, rules for the agents, automatic checks, and a person who approves every change.
The factory is made of parts you can name and audit:
- A repository template. Every new project starts with the folder layout, CI workflows, scanning settings and agent rules already in place.
- Agent instruction files. One place where you tell every agent your coding rules, test commands and no-go areas. Copilot reads
.github/copilot-instructions.mdandAGENTS.mdfiles, and GitHub also notes: “Alternatively, you can use a singleCLAUDE.mdorGEMINI.mdfile stored in the root of the repository.” The factory keeps one rules file and reviews changes to it like code. - MCP servers with least privilege. MCP servers give agents tools, such as reading a ticket or querying docs. GitHub advises: “We strongly recommend that you allowlist specific read-only tools, since the agent will be able to use these tools autonomously and will not ask you for approval first.” The default GitHub MCP server for the agent “connects to GitHub with a specially scoped token that only has read-only access to the current repository”.
- Branch protection and required reviews. GitHub: “If you enable required reviews, collaborators can only push changes to a protected branch via a pull request” that the required reviewers have approved, and required status checks must pass before a merge.
- CI with tests. Every pull request builds and runs tests. No green build, no merge.
- Code scanning. CodeQL finds vulnerabilities, and Copilot Autofix suggests fixes. Note the license: “If you want to use code scanning on private repositories, you need a GitHub Code Security license.”
- Secret scanning and push protection. “Push protection is a secret scanning feature designed to prevent hardcoded credentials” from reaching the repository. Repository-level push protection needs GitHub Secret Protection.
- Environments. Deployments go through named environments. GitHub says “You can use environments to require approval for a job to proceed”, and environments can also limit which branches deploy and hold their own secrets.
- Cost and usage limits. Metered products such as AI credits and Actions minutes can have budgets that stop usage at the limit. “You can enable alerts for budgets to be notified when usage reaches 75%, 90%, and 100% of the budget amount.”
- Logging and audit. The Copilot audit log records policy and license changes and agent activity on the GitHub website, and “The audit log retains events for the last 180 days.” It does not hold prompts typed on a laptop, so the factory keeps its own record in pull requests and CI runs.
Who does what in the factory
| Role | What they do | What they never do |
|---|---|---|
| Subject-matter experts | Describe the need, write acceptance tests in plain words, test the result | Merge their own changes or deploy to production |
| AI agents | Research the repo, plan, draft code and tests, open a pull request | Approve, merge or deploy |
| Engineers | Review every pull request, own architecture and security decisions | Skip the checks |
| Platform owner | Runs the factory: template, rules, scanners, budgets, onboarding | Leave a rule without an owner |
Agents cannot approve or merge, and that limit comes from GitHub, not from our process. GitHub states (it now calls its agent Copilot cloud agent, formerly Copilot coding agent): “Copilot cloud agent cannot mark its pull requests as “Ready for review” and cannot approve or merge a pull request.” And on CI: “By default, workflows are not triggered until Copilot cloud agent’s code is reviewed”. The factory keeps that default on. Every agent task traces back to a person, because “Only users with write access to the repository can trigger Copilot cloud agent to work.”
Who this service is for
CIO or CTO
Teams are already building with AI agents, each in its own way. You want one governed way to build that you can approve, measure and audit.
Head of engineering
Your engineers are becoming reviewers of AI output. You want the template, rules and checks that make review fast and keep quality steady.
Security lead
You see shadow AI tools, secrets in code and agents with broad access. You want least privilege, scanning and an audit trail before you say yes.
Business unit leader
Your experts know exactly what software they need. You want them to build it with AI, with engineers as a safety net instead of a queue.
Small business owner
A small team, one or two experts, no platform team. We set up a lighter factory on the tools you already license, and build the first product with you.
Center of Excellence lead
Makers already build in Power Platform. The factory adds the pro-code and AI-agent lane next to your managed environments and pipelines.
How we set up an AI software factory
We work in phases. The first is free. Each phase has a defined output.
- Free 30-minute review. You show us how your team builds with AI today, or one app it built. No access to your systems is needed. We name the top three risks and one next step. More on the review.
- Assessment. We map which AI tools are in use, sanctioned or not, where code lives, who can merge and deploy, which checks run and what each agent can reach. You get a gap list against the factory parts above and a plan in order of risk. Shadow AI found here feeds shadow AI remediation and your AI acceptable use policy.
- Foundation. We set up the organization or project settings, the repository template, branch protection, required reviews, code scanning, secret scanning with push protection, Dependabot, environments with approvals, and budgets with alerts.
- Agents and rules. We write the agent instruction files, enable Copilot cloud agent, set up MCP servers with read-only tools first, and add only the write tools you approve. Only secrets whose names start with
COPILOT_MCP_reach the MCP configuration, so we name them that way. - Pilot. One team of experts and engineers builds a real piece of work in the factory, and we build alongside them. We tune the rules, tests and checks from what the pilot shows.
- Handover and training. A written runbook, then training: experts learn to describe work and test it, engineers learn to review agent pull requests, and the platform owner learns to run the factory.
We start with one team and one product, not the whole company.
Build with us
We can build alongside your experts in the factory: we pair on the first products, review agent pull requests and hand the work over. The repository, the code and the rules stay in accounts your business owns. The assessment says which parts we take on.
Apps already started in Lovable, Replit or Cursor can move into the factory: a repository your business owns, the same scans and the same review. Our vibe coding security guide lists what to check first.
How we help you maintain it
A factory is not set once. Tools, models and threats change often. After handover, we can help you keep it current, scoped separately:
- Tools and models. Review new agent features, model choices and preview labels, and update the rules when one moves to general availability.
- Rules tuning. Read what reviewers keep fixing and move it into the agent instruction files.
- Dependency updates. Keep Dependabot working. GitHub: “Dependabot can fix vulnerable dependencies for you by raising pull requests with security updates.” That covers vulnerable GitHub Actions too.
- Incident review. When a bad change gets through, find the check that should have stopped it and add it.
- Onboarding new experts. A short path for each new subject-matter expert: the rules, the review flow and what they may and may not do.
- Cost review. Compare spend against budgets and adjust limits.
What you get
- A repository template with CI, tests, scanning and agent rules built in
- Agent instruction files your agents read, kept in source control
- An MCP server list with each tool, its access level and its owner
- Branch protection, required reviews and status checks on every product repository
- Code scanning, secret scanning, push protection and Dependabot, switched on and tuned
- Deployment environments with named approvers
- Budgets and alerts on AI credits and Actions
- Identity and data guardrails: Entra access for agents and apps, and Power Platform DLP policies for the low-code lane. Our AI security audit goes deeper.
- A low-code lane on Power Platform pipelines for apps that belong there
- A written runbook: roles, the review flow, the way back after a bad release, and how to add a new expert or agent
What this service is not
- Not a promise of zero defects. Agents write wrong code and scanners miss things. The factory makes problems visible and stoppable; it does not make them impossible.
- Not a security audit or penetration test. The checks here read code and settings before release. An app that holds sensitive data needs its own security test as well. For that, see our AI security audit.
- Not a hand-off where we build and leave. We build alongside your experts and engineers in the factory, starting with the pilot, so your team can carry on without us. The assessment says which parts we take on.
- Not a compliance certificate. We set up controls and the evidence they produce: pull requests, reviews, CI runs, scan results and audit logs. Certification comes from your auditors.
- Not a tool sale. Licenses and subscriptions for GitHub, Azure and Power Platform stay yours. Code scanning and secret protection on private repositories need their own GitHub licenses. The assessment shows who needs what.
- No price list and no delivery dates. The assessment scopes each engagement and gives the order of work, not a date.
How the AI software factory runs on GitHub, Azure and Power Platform
We are Microsoft first. The factory runs on tools you may already own.
| Layer | Microsoft or GitHub tool | Role in the factory |
|---|---|---|
| Code and review | GitHub repositories, branch protection | One path to the main branch, through a reviewed pull request |
| AI agent | Copilot cloud agent | Drafts code in the background, opens a pull request |
| Other agents | Anthropic Claude and other third-party agents (preview) | Same guardrails as Copilot |
| CI and deployment | GitHub Actions, environments | Tests on every pull request, approvals before deployment |
| Security | GitHub Advanced Security, Dependabot | Code scanning, secret scanning, push protection, dependency fixes |
| Azure Repos teams | GitHub Advanced Security for Azure DevOps | The same scanning for teams on Azure DevOps |
| Low-code | Power Platform pipelines | Solutions move through each stage with approvals |
| Hosting | Azure | Where the built apps run, under your subscription and policies |
- Copilot cloud agent. “Copilot can research a repository, plan changes, and implement them in the background.” Each task works on one branch and opens one pull request. When it runs on GitHub Actions, it changes only the repository the task started in, and “Each Copilot session that runs on GitHub Actions has a maximum execution time of 59 minutes.”
- Anthropic Claude and other third-party agents (preview). Third-party coding agents on GitHub, including Anthropic Claude, are in public preview. GitHub says “Coding agents are subject to the same security protections, mitigations, and limitations as Copilot.” Our view: whichever agent your engineers prefer, the factory, not the agent, decides what reaches production.
- Azure DevOps. For teams on Azure Repos, GitHub Advanced Security for Azure DevOps brings the same scanning, and “Advanced Security status checks allow you to block pull requests from being merged when security vulnerabilities are detected.” Copilot Autofix for these alerts is in preview.
- Power Platform, the low-code lane. Apps built in Power Apps and flows move through Power Platform pipelines. The pipelines host and environments of type Developer do not have to be managed; all other environments in a pipeline must be managed environments, which need premium licenses. Our Power Platform ALM and DevSecOps service covers this lane, and Power Platform governance covers who may build what.
Enterprise Applications Governance, our own product: built and tested; runs as a demo install with fictional data; no release yet. It is designed to give one view of apps and agents across a tenant, with owners and risk. Read about our open-source application portfolio management tool.
AI software factory FAQ
What is an AI software factory, in one line?
A standard, governed way for secure AI-assisted development by your people: one template, one set of rules, the same checks and a human review before anything reaches production.
Can business experts really build software this way?
Yes, with engineers in the loop. Experts describe the work and test it. The agent drafts code and opens a pull request. An engineer reviews and merges. The agent cannot approve or merge its own pull request. With required reviews on the protected branch and admin bypass turned off, which the factory sets up, a change merges only after a person approves it.
Can you build the software with our experts?
Yes. We build alongside your experts and engineers in the factory, starting with the pilot: we pair on the first products, review agent pull requests and hand the work over. The code stays in repositories your business owns. The assessment says which parts we take on.
Do we have to use GitHub Copilot?
No. Copilot is our default because it runs inside GitHub’s protections. Third-party agents, including Anthropic Claude, can run on GitHub under the same protections, in public preview. Engineers using Claude Code or other agents on their machines still push through the same protected branches and checks. Our sister site az365.ai shows a Claude Code setup that works.
How does this help with shadow AI?
Shadow AI grows when the approved path is slow or missing. The assessment finds which AI tools are in use, and shadow AI remediation deals with what it finds. The factory gives people a fast, approved way to build, and your AI acceptable use policy says what is allowed outside it. Our view: a good factory removes most of the reasons to go around IT.
How do you keep AI costs under control?
Budgets on metered products such as AI credits and Actions, with alerts at 75%, 90% and 100%, and the option to stop usage at the limit. We also review spend against budgets as part of maintenance.
We build mostly in Power Platform. Is this still for us?
Yes. The low-code lane runs on Power Platform pipelines with managed environments and approvals. Pro-code work, such as custom connectors, plug-ins and code apps, goes through the GitHub side of the factory. Our ALM and DevSecOps service covers the Power Platform lane in detail.
How is this different from your ALM and DevSecOps service and your AI security audit?
- ALM and DevSecOps: how Power Platform solutions reach production, and how a bad release comes back.
- AI security audit: a review of the AI tools, apps and agents you already run, and what each can reach.
- AI software factory: the whole build system, so new software is built with AI agents the governed way from the start.
Do we need GitHub Enterprise or Advanced Security?
The assessment checks the GitHub plan and licenses you already hold. On private repositories, code scanning needs a GitHub Code Security license, and repository-level push protection needs GitHub Secret Protection. Teams on Azure Repos use GitHub Advanced Security for Azure DevOps instead.
What does it cost, and how long does it take?
There is no price list. The review is free and needs no access to your systems. The assessment produces a gap list against the factory parts, a plan in order of risk and the order of phases, not a delivery date. Licenses for GitHub, Azure and Power Platform stay yours.
Start with the free review
Show us how your team builds with AI today, or one app an agent helped build. In 30 minutes we name the top three risks and one next step. No access to your systems is needed, and there is no cost. Book the free 30-minute review.