Execution is coordinated
The panel records work. The scheduler selects eligible tickets. Agents use tools within the project’s environment. Dependencies, role restrictions and review gates determine what can start and what can finish.
CodeHero · Your own software factory
For developers · architecture and mechanisms
A software factory for the person who knows the business, rather than a coding assistant. Here are the system boundaries, responsibilities and failure paths.
CodeHero asks, builds, checks, runs and maintains on your server. You decide the rules; you don’t write code.
For engineers and developers
People decide what the software must do; CodeHero does the rest. It plans the work, has AI builders write it, has a different AI check it, fixes what fails, runs the result and keeps every decision on record. Below, each part in plain words first — the technical detail is one click away.
The panel records work. The scheduler selects eligible tickets. Agents use tools within the project’s environment. Dependencies, role restrictions and review gates determine what can start and what can finish.
The normal verifier does not edit product code. Findings become scoped repairs, followed by a recheck. Eligibility restrictions and a circuit breaker prevent an unbounded claim of autonomous success.
Specifications, tickets, conversations and the knowledge graph belong to the project. A provider change can reuse that state; it does not imply identical model capability or perfect recall.
01 · What runs on your server
The control panel, the scheduler that hands out the work, the tools, and every project’s files and data live on your own server. Only the requests to the AI services leave it — and you choose which services.
The Flask and Socket.IO panel presents projects and tickets. The daemon schedules eligible work and stores conversation and ticket state in the database.
An agent uses its provider-family adapter through an API or CLI runtime. Selected context goes to the configured cloud or local model. Self-hosting does not mean that cloud model calls stay on the server.
Agents use MCP tools; hooks enforce applicable runtime checks. Tools operate on project files and services, including container environments. nginx routes project previews. The database retains the work record.
02 · Work in order
Every piece of work is a ticket. A ticket starts only when the tickets it depends on are finished, so nothing is built on top of something unfinished. When you need to, you can still start one at once.
Lower sequences must be done or skipped before higher sequences run. Equal sequence numbers can run in parallel within the available slots when file ownership permits it.
Explicit dependencies require done or skipped in both modes. A parent is an implicit dependency, with defined exceptions for children of parked tickets.
Relaxed flow allows the reviewer to close a qualifying completed report. Strict flow leaves closure to a person. A request for human input keeps work open; the closure reviewer is separate from the verification ticket.
Forced tickets can bypass sequence, dependencies, parent and the normal slot count, using an extra slot. The upgrade gate and retry cooldown still apply.
03 · Checking and fixing
When the checker finds a problem, the builder gets a precise repair job. The same checker then tests it again. If the same problem keeps coming back, the factory stops and asks a person, instead of trying forever.
“Staff request equipment through the app. Up to €500 it is approved automatically. Above €500 a manager approves it — but never their own request.”
Build
Junior model · GPT Codex
Built the application and tried every rule in the browser.
114 actions
Independent check
Senior model · from a different AI company (Claude)
Every business rule passed. Two layout problems on phones.
Opened a repair · changed no product code
Repair
Junior model · GPT Codex
Fixed both layout problems and told the checker.
58 actions
Recheck
The same independent checker
Checked the repair and everything again.
103 actions in all
failed repair cycles
consecutive failed repairs
of the same acceptance item
disputes
on the same finding
Any one threshold pauses the episode for a human decision. The initial finding is not a failed repair. The direct-repair exception requires explicit authorization and a different-family peer check.
04 · Choosing the AI
Simple jobs go to fast, low-cost AI models; demanding ones to stronger models; the checks to a model from a different company. A table of every available model helps choose — its scores are estimates until each model has been measured.
Junior · 114 tool calls
Senior · 103 tool calls
The repair returned to the builder’s family: 58 tool calls. These counts describe the recorded run; they are not a cost or speed benchmark.
05 · Secrets
It protects the passwords and keys you have stored as secrets in the project: CodeHero knows those values and keeps them away from the AI. It cannot recognise a password it was never told about — for example one you type into a message or that shows up in a screenshot. So store every password as a secret; never paste it into a chat.
06 · Memory folding
An AI can only keep so much in front of it at once. On a long job — dozens of files, test runs, reports — that space fills up, and an AI that runs out of room slows down, costs more and starts to miss details. CodeHero’s agent works like a person at a desk: when it has finished with a long report, it writes a short note of what matters, puts the report away in a drawer and keeps only the note in front of it. Nothing is thrown away — if it needs a detail later, it opens the drawer. So it can work much longer, keep the thread, and spend less reading the same things again.
07 · Safe upgrades
While CodeHero itself is being upgraded, its new program can be in place before the database has been updated to match it. So during an upgrade no new work starts. Work already running finishes normally, and waiting work starts right after.
08 · Going back safely
You can return a project to an earlier state — from a quick copy on the server or from a backup. Before it restores, CodeHero saves the current state first, so a restore can itself be undone.
Hosting
Each application gets its own space on the server, with its own database and tools, an address with a secure connection, protection and backups. These are capabilities of the platform; a hosted service with agreed terms is discussed separately.
LXC project environments and service lifecycle management. The catalog includes PHP, Node.js, Python, Java, .NET, Go and Ruby; MySQL, MariaDB, PostgreSQL, MongoDB and Redis. Version availability is installation-dependent.
Project deployment routes a configured domain to its web path or container IP. Certificate upload, certificate matching, issuance and renewal controls are present. DNS and reachability remain deployment inputs.
Optional ModSecurity setup with OWASP CRS protects configured dashboard and web-project entry points. Network firewall rules are documented operator commands. This is not evidence of a general per-project firewall UI or automatic WAF coverage for every production domain.
ZIP levels cover files, databases, service configuration and, at Complete level, tickets, conversations and knowledge. BTRFS snapshots support local rollback. Database preparation is best effort: if a pre-snapshot hook fails, the snapshot can proceed as crash-consistent. Off-server copies and restore validation remain operational work.
Platform upgrades set an interlock to hold new ticket starts until schema and settings match. Existing-project planning reads map.md, technologies.md, the knowledge base and specifications before new work. Small fixes use a normal build ticket and the light verification loop.
Knowledge
Decisions, patterns, bugs and approaches that failed are stored with the project and linked to the work they came from, so the next piece of work — or the next person — can find them.
This is persisted, retrievable project knowledge. It depends on the records actually being written, their accuracy and the context selected for the next task. It does not mean every model sees the entire history or that undocumented intent is captured automatically.
No. CodeHero works with many AI companies at once and with models on your own hardware. You can change company or model at any time — the project, its rules and its history stay. Read the article
No. Passwords and keys you store as secrets are used by your application, but their values are never sent to the AI service. Read the article
Because one AI does not catch its own blind spots. In CodeHero one model builds and a model from a different company checks; problems go back for repair and are checked again. Read the article
It is a different kind of thing. Coding tools help a person who writes code. CodeHero does the whole job — asks, plans, builds, checks, hosts and maintains — for the person who knows the business. Read the article
You become the advisor: you decide the business rules, approve the plan and accept the result. CodeHero is the developer that asks, builds, checks and maintains. Read the article
With memory folding: when the AI has finished with a long result it keeps a short note of what matters and puts the rest away — it can open it again at any time. So it works much longer without losing the thread. Read the article
The factory gives it structure: smart tickets with one clear job each, a change ledger of every decision, a map of the code and search by meaning. The AI reads what it needs instead of guessing — which also saves a lot of cost. Read the article
Because it runs the whole production line on its own — planning, building, independent checking, repair, delivery and maintenance — with stations, rules and records, like a factory. A tool waits for a person to use it. Read the article
When the person who knows the work can get software made, checked, hosted and maintained without a development team, software can be made for every business and every need — not only for those that can afford a team. Read the article
Less repetitive work and fewer late nights. The factory takes the routine building, checking and fixing; developers decide the architecture, review what matters and handle the hard problems. Read the article
Because building and running belong together. The application runs where it was built, with its domain, secure connection, backups and recovery — and every later change returns to the same factory. No separate hosting panel to learn. Read the article
Always open, widely used technologies — PHP and MySQL first, and others such as Node, Python or .NET when the job needs them. Your application is never locked into a proprietary platform. Read the article
Because in our own measurements, for heavy daily work, a subscription has cost up to about 40 times less than paying per use for the same work. CodeHero runs the subscription AI tools (Claude Code, Codex, Grok Build) as workers in the factory. Read the article
It is built up and kept inside your installation: decisions, rules, changes and their reasons, next to the code. A new person or a new AI continues from there — the knowledge does not leave with them. Read the article
Inside the factory, yes — more than on their own. Small, clear tickets, a checklist for finishing, tool help and a stronger model that checks the result let small models on your own hardware do much of the building. Read the article