1. Clarify requirements
  2. Coordinate agents
  3. Verify build & tests
  4. CI & human review

What is an AI software factory?

A coding agent works on a task using a model and its tools. An AI software factory adds an organisational and technical framework: it identifies actionable requirements, coordinates roles, manages workspaces and determines the next step using defined checks.

The distinction matters because a plausible model response is not yet an integrable software change. Requirements need to be clear enough, tests must actually run and the change must fit the current project state. The factory makes these transitions explicit.

From issue to verifiable change

In Charly AI Factory, work begins with an issue. After formal checks, an LLM assesses whether information is missing. If clarification is needed, the workflow waits for an answer. A dedicated workspace per issue separates work from other tasks.

An implementer changes code and a test agent adds or checks tests. The orchestrator checks path rules and starts Maven in a build container. Failures can return to implementation for a bounded number of rounds. Execution ends with a verifiable result or a documented reason for clarification or termination.

What roles do the LLM, agent and harness play?

The LLM processes context and generates responses or tool calls. The agent uses these capabilities to work through a task in multiple steps. Its harness supplies context and tools and controls permissions and budgets. The factory coordinates these components beyond a single agent run.

In our design, state transitions and quality gates live in the orchestrator application code. The model makes decisions within its task. This separation makes it possible to distinguish model choices from decisions defined by the development process.

Integrate with existing CI/CD processes

Before opening a pull request, Charly AI Factory rebases and performs an acceptance build in a fresh clone. It then tracks CI and processes review feedback. The factory therefore replaces neither the existing pipeline nor the substantive review of a change.

Merge, release, deployment and operations remain outside its automation. For technical decision-makers, this boundary matters: AI is integrated into an existing software lifecycle. Responsibility for integration and operations must remain clear.

Connect interchangeable models and agents

AgentRunner connects Charly Agent, OpenCode or Copilot CLI. Roles and models are configurable. OpenAI-compatible model interfaces support local or external LLM endpoints; available features depend on the selected runner.

Selection should match the task and operating environment. A model change is therefore a configuration decision that needs verification. Traceable runs and concrete tests provide better evidence than a general promise that every model works equally well.

How can a factory be assessed?

We look for clear states, recorded agent and build results, bounded correction loops and visible human decisions. Sandboxing and access boundaries complement result verification because both agents and builds execute code.

Charly AI Factory is our practical demonstration of this architecture. It shows how we connect AI, software engineering, test automation and CI/CD. The key is a verifiable process whose boundaries and interventions are understandable to the people involved.

In practice

The decisions described come from our Charly projects. The project pages explain the documented design and its place in the development process.

Explore the Charly project

Related articles

Agent harness: context, tools and controlSandboxing coding agents: setting deliberate boundaries