Skip to content

Service

AI Software Factory Setup and Security on GitHub and Azure

Every project starts from the same template, follows the same rules, passes the same checks and reaches production the same way.

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:

180 daysCopilot audit log retention (GitHub)
75 / 90 / 100%budget alert levels for metered usage (GitHub)
59 minmaximum agent session on GitHub Actions (GitHub)

Who does what in the factory

RoleWhat they doWhat they never do
Subject-matter expertsDescribe the need, write acceptance tests in plain words, test the resultMerge their own changes or deploy to production
AI agentsResearch the repo, plan, draft code and tests, open a pull requestApprove, merge or deploy
EngineersReview every pull request, own architecture and security decisionsSkip the checks
Platform ownerRuns the factory: template, rules, scanners, budgets, onboardingLeave 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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

LayerMicrosoft or GitHub toolRole in the factory
Code and reviewGitHub repositories, branch protectionOne path to the main branch, through a reviewed pull request
AI agentCopilot cloud agentDrafts code in the background, opens a pull request
Other agentsAnthropic Claude and other third-party agents (preview)Same guardrails as Copilot
CI and deploymentGitHub Actions, environmentsTests on every pull request, approvals before deployment
SecurityGitHub Advanced Security, DependabotCode scanning, secret scanning, push protection, dependency fixes
Azure Repos teamsGitHub Advanced Security for Azure DevOpsThe same scanning for teams on Azure DevOps
Low-codePower Platform pipelinesSolutions move through each stage with approvals
HostingAzureWhere the built apps run, under your subscription and policies

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.

Is your AI building safe to scale?

Show us how your team builds with AI today. In 30 minutes we name the top three risks and one next step. No cost.

Book the free review