Services / Direction

iCode HQ: your company's AI head office

One private repository for plans, decisions and handoffs, with one set of rules for every AI agent. A public template, and a paid setup service from iCode.

The short version

iCode HQ is a public GitHub template that we also use in our own work. A technical owner can set it up alone. If you would rather not, we set it up with you as a paid service.

HQ drawn as two connected brains above an office building, with lines running down to floors labelled sales and marketing, software delivery, operations, finance, people and customer support
The picture at the top of the template: the HQ above the parts of a company it serves.

What this covers

iCode HQ gives a company one private repository to run its work with AI agents. Plans, decisions, progress notes, reviews and handoffs are files in it, so a new agent session reads the trail and carries on where the last one stopped.

Every agent follows the same written rules: show evidence before calling something done, get an independent review, stop at the owner gates for anything risky, and stop altogether when a PAUSE file appears. Questions for the owner go into a decision queue, each with a recommended default, so work carries on while the owner decides.

You begin by pasting a starter prompt into your agent. It interviews you with a handful of questions and proposes your first plan as a pull request, which you read and merge yourself.

What the system does, and what your people keep

Every system we build has a clear line between what it does on its own and what stays with a person.

What the system does and what your people keep, by task
TaskThe systemYour people
Plans and recordsWrites plans, progress entries with their evidence, and handoff notes as files in the repository.The owner reads, edits and merges them.
DecisionsAdds a queue item for each question, with a recommended default, and carries on with other work.The owner decides, or accepts the default.
ReviewHas a different agent review each change, so no author certifies their own work.A person merges. At the default autonomy level, agents never merge.
SafetyScans for secrets in CI, protects the rules files with code owners, and stops when PAUSE exists.The owner raises the autonomy level, creates PAUSE, and rotates any secret that leaks.
Check-insProvides prompts for a start of day, a morning brief and a continuous check. Nothing runs on a schedule by default.The owner decides whether any check-in is scheduled, and how.

Safeguards, as built

These defaults are on from the first commit. Loosening any of them is the owner's decision.

  1. Agents propose, people merge

    Autonomy level zero is the default. Agents open pull requests and a person merges. Only the owner raises the level, with a decision record.

  2. Protected rules

    The rules, prompts, tools, modules and workflow files have the owner as code owner, so a change to them asks for the owner's review.

  3. Owner gates

    Spending money, deleting anything, publishing, changing permissions, contacting people outside the company and anything legal or financial wait for the owner.

  4. Outside content is data

    Text from issues, comments, web pages and emails informs the work. It never approves a change or starts an action.

  5. No secrets

    Nothing secret is committed, and CI scans every push and pull request. Customer data stays out of the repository.

  6. A stop switch

    Create a file named PAUSE in the root of the repository and every agent session stops before doing any work.

The optional modules

Each module is a folder for one kind of work, with rules that add to the core rules and never weaken them. All four are off until the owner turns one on, by pull request.

Software delivery

  • Adds rules for agents that change code in other repositories: workstream briefs, pull requests, review, CI gates and version pins.
  • Needs GitHub access to those repositories, and branch protection on each one.
  • The main risk is merge rights, so every repository starts with agents unable to merge.

Funding watch

  • Adds a table of funding opportunities, checked against each funder's own page, and a prompt for one check.
  • Needs a list of funder pages and web access for the agent.
  • The main risk is wrong facts, so every amount and deadline is checked on the funder's page. Applying stays with the owner.

Sales and marketing

  • Adds a pipeline recorded by name and role, a content calendar and outreach drafts.
  • Needs a short description of what the company sells, and a person who sends every message.
  • The main risk is something sent or claimed that should not be, so agents only draft.

Compliance

  • Adds a policy register with owners and review dates, and an evidence log.
  • Needs a named owner for each policy.
  • The main risk is false comfort. It tracks review dates and evidence links, and does not make a company compliant with anything.

In the template

These images come from the template itself: its own README, and the status page it builds from an invented example company.

The template's README: the heading HQ, your company's AI head office, then lists headed Who it is for, What you get and What it does not do
The template's README, rendered locally in a dark theme.
The HQ status page for an example company: counts of projects, decisions waiting for the owner, work in flight and recent progress, then a table for each, with a recommended default beside every decision
The optional status page, built from the invented company Acme Widgets. It stays on your machine.

Who it suits, and what it does not do

It suits owners who are happy with git and a terminal. It is early software, still settling.

It suits

  • Technical owners and leads who are comfortable with git, GitHub and a terminal, and use an AI coding agent such as Claude Code.
  • Small teams that want agents to do real work without losing track of what was decided, what is done and what waits for a person.
  • Companies that want the rules for every agent written down in one place and reviewed like any other change.

What it does not do

  • It does not replace your judgement. Agents follow written rules, and you still review and merge.
  • It does not schedule anything by itself. A repository cannot run agents, so check-ins depend on your agent product or on a GitHub Action you turn on.
  • It gives no compliance claim. It does not make a company compliant with any law or standard.
  • It is not hosted. It is files in your own repository.
  • It does not make agents safe on its own. Its rules work alongside the permissions in your agent product and your GitHub settings.

If you are not a technical owner, you do not have to be. iCode offers a paid setup service: we set up the repository with you and walk your team through it, under a written proposal.

Deliverables

The exact scope is in the written proposal. These are the usual deliverables.

  • A private HQ repository created from the template, with branch protection and the checks switched on
  • The starter interview run with your owner, and your first project, plan and decision queue merged
  • Company rules written down: who approves, and what agents must never do
  • The modules that suit your work turned on, and the rest left off
  • A walk-through of the decision queue, review and the stop switch for your owner and leads
  • An agreed way of working for check-ins, which may be manual

Typical stack

  • GitHub
  • Git
  • Markdown
  • Node.js
  • GitHub Actions
  • Claude Code

How an engagement runs

Nothing is built before you agree the proposal. A senior team, assembled for your requirements, stays with the work from first slice to handover.

  • Our product

    iCode HQ: your company's AI head office

    iCode HQ is a public GitHub template for running a company's work with AI agents. One private repository holds the plans, decisions and handoffs, and one set of rules applies to every agent.

How it connects

  1. Start here

    DirectionThis service

    Decide where AI pays off, choose the tools, and get your team using them safely.

    With a direction agreed, we build the first system that proves it.

  2. Then

    Build

    Retrieval, agents and the product around them, built into the software you already run.

    Whatever we build, we measure, so you can trust it in production.

  3. Throughout

    Assure

    Evaluation, tracing and governance that show what the system does and stop it when it drifts.

    What the measurements show feeds the next round of direction.

Talk to us about icode hq: your company's ai head office

Bring a use case, a worry or a codebase. We come back with a short written view of what we would do and what it would take.