<!-- AANCER Developer Guide (English), step by step, part 1 of 3. All parts: https://aancer.ai/dev/llms.txt -->

<!-- © 2026 Evntx FZCO, Dubai, UAE. All rights reserved. -->

# AANCER Developer Guide

Step by step: build, sign, install and publish your own extensions

AANCER 1.0.0-rc2.3 · 27 November 2026 · Draft

## Before you start

### What you can build

You can extend AANCER without changing its code. Every extension is plain data in a signed file. This file is called a **pack** and ends in `.ancpack`.

| You want to | Build | Chapter |
|-|-|-|
| Give the AI a fixed way of working | a skill | 4 |
| Offer a ready-made workflow | a workflow template | 5 |
| Offer a ready-made agent | an agent blueprint | 6 |
| Show figures | a dashboard | 7 |
| Start something when something happens | a hook | 8 |
| Use your own look | a theme | 9 |
| Show your own web application | an embedded app | 10 |
| Connect another system | a connector | 11 |
| Call AANCER from a program | the API or the MCP server | 12 |

This guide shows the way, step by step. Every field, limit and error is in the **AANCER Developer Reference** and at [aancer.ai/developers](https://aancer.ai/developers).

### What you need

- A text editor
- The `aancer-pack` program. It comes in the developer kit: one program each for macOS (Apple Silicon and Intel), Windows and Linux, with everything it needs inside. You install nothing else
- A test installation of AANCER: the developer edition on your own machine (see "Your developer setup"), or a test system of your company. Never try a pack for the first time in a live system
- On a test system that is not your developer edition: somebody there with the right `extensions.manage`

### Your developer setup

The developer edition is AANCER on your own machine: one user, or up to 3 users once you activate the free developer licence; local only, a small local AI model, no GPU needed.

1. Unpack the developer edition from the kit and start it:

```bash
tar -xzf aancer-dev-<version>.tar.gz
cd aancer-dev-<version>
bash setup.sh --dev
```

2. Answer its questions: the administrator e-mail and password.
3. Open `http://localhost` and sign in.

You need: 16 GB of memory, 40 GB of free disk and a container runtime. On a Mac, use a container runtime for macOS. On Windows, install the developer edition inside the Linux subsystem for Windows. The kit's README has the exact steps for both.

> tip: The AI model is downloaded during the install, sized to your machine's memory. `bash setup.sh --dev --dev-model 3b` picks the size yourself (`1.5b`, `3b` or `7b`).

### The development loop

Once you are signed in, one command builds, signs, imports and activates your pack on every save:

```bash
aancer-pack login --target http://localhost --email you@example.com
aancer-pack init skill my-skill --id acme.my-skill --publisher "Acme Example Ltd"
aancer-pack dev my-skill --target http://localhost --watch
```

| Command | What it does |
|-|-|
| `login` | Signs in through the installation's own sign-in steps. The password is asked, or taken from `AANCER_PASSWORD` |
| `init <kind> [folder]` | Writes the smallest working pack of a kind: `skill`, `agent-blueprint`, `template`, `theme`, `dashboard`, `hook`, `app` or `bundle` |
| `dev [folder]` | Gives the pack a new test version, signs it with your developer key, imports and activates it. `--watch` repeats this on every save |
| `trust-key --print` | Prints your developer key, for the administrator of another installation |

The first `dev` makes your developer key on your machine. It never leaves the machine. On your developer edition the key is trusted at once. On any other installation an administrator adds it as a trust key first, so that a laptop key never becomes trusted in a live system by mistake.

> warn: The developer key is for testing. A pack you give to anybody else is signed with your publisher key (chapter 3, step 4).

### What the tool sends

`aancer-pack` sends usage reports to us, always: how the tool is used and the packs you build (by build id). It never sends file contents, pack contents, prompts, data, addresses or local paths. Add `--show-telemetry` to any command to see the report; nothing is sent then. `aancer-pack telemetry status` shows how many reports wait.

### The words

| Word | Meaning |
|-|-|
| Pack | The signed file you deliver |
| Manifest | `manifest.json`. It says what is in the pack |
| Item | One thing in the pack, for example one skill |
| Spec | The content of an item, as JSON |
| Parameter | A value the administrator fills in, for example the workspace |
| Trust key | Your public key, entered once by the administrator |
| Import | AANCER checks the pack. Nothing changes yet |
| Activate | The items are installed |
| Retire | The items are removed |

### Get the examples

1. Open [github.com/Aancer-ai/aancer-developers](https://github.com/Aancer-ai/aancer-developers).
2. Choose **Code** > **Download ZIP**, or run:

```bash
git clone https://github.com/Aancer-ai/aancer-developers.git
```

3. Look into `examples/`. There is a complete pack for every kind.

Or let the tool write one: `aancer-pack init <kind>` makes the smallest pack of a kind that imports as it is.

Examples and schemas may be used freely (MIT licence). The platform itself may not.

> tip: Start every new pack by copying an example. All names there, such as `acme` and `example.com`, are placeholders.

## Let an AI assistant help you

### Connect your assistant to the builder server

The builder server knows all guides and checks your files. It only reads and needs no account.

1. Open the connector or MCP settings of your assistant.
2. Add a new server with the address `https://aancer.ai/mcp` (type HTTP, no sign-in).
3. Ask, for example:

```text
Use the AANCER builder tools to make a workflow template that sorts
supplier invoices with a human approval, and validate it.
```

| Assistant | How |
|-|-|
| Claude | Settings > Connectors > add a custom connector |
| Claude Code | `claude mcp add --transport http aancer-builder https://aancer.ai/mcp` |
| ChatGPT | Switch on developer mode, create a connector without sign-in |
| Gemini | Open the [AANCER Builder Gem](https://gemini.google.com/gem/1-QrMUAZtHW0-ooIxLo6OXNqbvnTuxO0C?usp=sharing). Nothing to connect |
| Cursor, VS Code | Add an HTTP server with the address |

### Without a connection

1. Paste this into the assistant:

```text
Read https://aancer.ai/dev/llms.txt and the schema for the extension type at
https://aancer.ai/dev/schemas/ first. Then build an AANCER pack that
<what it should do>. Output manifest.json and every content/ file, and the
aancer-pack commands to sign it.
```

2. Say what kind you want: "a skill", "a workflow template", "an embedded app".
3. If the import shows an error, paste the exact text back.

> warn: The address `https://aancer.ai/mcp` is for building. Never give an assistant passwords, private keys or customer data.

## Your first pack

This chapter takes you once through the whole way. All other chapters use the same steps.

### Step 1: Make the folder

```text
my-pack/
  manifest.json
  content/
    vendor-review.json
```

### Step 2: Write the manifest

Save this as `manifest.json`:

```json
{
  "v": 2,
  "kind": "bundle",
  "id": "acme.business-skills",
  "version": "1.0.0",
  "title": "Acme business skills",
  "publisher": { "name": "Acme Example Ltd", "keyId": "pub-0123456789ab" },
  "requires": { "platform": ">=1.0.0" },
  "items": [
    { "kind": "skill", "schemaVersion": 1, "id": "vendor-review", "scope": "install",
      "spec": { "$ref": "content/vendor-review.json" } }
  ]
}
```

| Field | What to write |
|-|-|
| `id` | your company, a dot, a name. Small letters only |
| `version` | three numbers, such as `1.0.0` |
| `publisher.keyId` | your key id from step 4 |
| `scope` | `install` for everybody, `workspace` for one workspace |

### Step 3: Write the content

Save this as `content/vendor-review.json`:

```json
{
  "id": "vendor-review",
  "name": "Vendor review",
  "description": "Structured review of a new supplier: risk, contract terms, data protection.",
  "instructions": "# Vendor review\n\n1. Name the vendor and the service.\n2. Score financial, operational and data-protection risk (low, medium, high) with one reason each.\n3. List contract terms to negotiate.\n4. End with a recommendation.",
  "triggers": ["vendor review", "new supplier"]
}
```

### Step 4: Make your key

1. Run this once:

```bash
aancer-pack keygen --out acme.key
```

2. Copy the key id it prints, such as `pub-0123456789ab`, into the manifest.
3. Keep `acme.key` secret. Give out only `acme.pub`.

> warn: Do not put `acme.key` into the pack folder, an e-mail or a code repository. Whoever has it can sign in your name.

### Step 5: Sign and check

```bash
cd my-pack
aancer-pack sign manifest.json content/ \
  -o acme.business-skills-1.0.0.ancpack --key ../acme.key
aancer-pack verify acme.business-skills-1.0.0.ancpack --pubkey ../acme.pub
```

If `verify` prints OK, the pack is ready. Sign again after every change.

### Step 6: Enter your key in the test installation

Once for each publisher:

1. Choose **Platform Settings** > **Extensions**.
2. Go to **Trust keys** and choose **Add trust key**.
3. Enter your key id under **Key id** and the content of `acme.pub` under **Public key (PEM)**.
4. Choose **Save key**.

### Step 7: Import and activate

1. Choose **Import pack** and pick the `.ancpack` file.
2. Read the summary: items, parameters, warnings.
3. Choose **Configure & activate**, fill in the parameters and choose **Activate**.

A skill from a pack starts switched off. Chapter 4 shows how to switch it on.

> tip: On your developer edition, `aancer-pack dev my-pack --target http://localhost --watch` does steps 4 to 7 for you, on every save.

### Deliver a new version

1. Change the files.
2. Raise `version` in the manifest. The same version can never have other content.
3. Sign, import, activate.

To go back, open the pack and choose **Roll back to this** at the old version.

### Remove a pack

1. Open the pack and choose **Retire pack**.
2. Confirm.

A pack other things depend on cannot be removed. The message names them.

### Use parameters

Never write the id of a workspace or connection into a pack. Use a parameter:

```json
"parameters": [
  { "id": "target_workspace", "type": "workspace", "label": "Workspace", "required": true }
]
```

Then write `{{param.target_workspace}}` wherever the value belongs. The types are `connection`, `workspace`, `dataset`, `string`, `secret`, `workflow` and `agent`.


## Build a skill

A skill tells the AI how to do a certain job, always in the same way.

### The quick way: upload a file

> need: the right `skills.manage_own`.

1. Write a file named `SKILL.md`:

```
---
name: Vendor review
description: Structured review of a new supplier: risk, contract terms, data protection.
---
# Vendor review

1. Identify the vendor and the service.
2. Score financial, operational and data-protection risk with one reason each.
3. List contract terms to negotiate.
4. End with a recommendation: proceed, proceed with conditions, or stop.
```

2. Choose **Library** > **Skills**.
3. Upload the file.
4. Open a chat and ask something that fits the description.

`name` and `description` must each fit on one line.

### As a pack

1. Follow chapter 3. It uses exactly this example.
2. After activating, choose **Library** > **Skills** and switch the skill on for the workspaces.
3. If it must always apply, choose **Require**. Tick **Also apply in agent chats** if agents should use it too.

> tip: The AI decides by the description whether a skill fits. If it is not used, describe more clearly **when** it applies.

Next part: https://aancer.ai/dev/parts/guide/02-build-a-workflow-template.md
