# © 2026 Evntx FZCO, Dubai, UAE. All rights reserved. # AANCER packs — instructions for a coding assistant You are helping a developer build an **AANCER pack**: one signed file (`.ancpack`) with items an AANCER installation imports. The developer never changes AANCER itself. Read this page first; the details are in the books in this folder. ## Tool The developer has `aancer-pack` on their PATH (one program, no runtime needed). Commands (`aancer-pack --help`): ``` aancer-pack keygen --out aancer-pack lint [--json] aancer-pack sign [contentDir] -o --key aancer-pack verify --pubkey [--publisher-pubkey ] aancer-pack inspect aancer-pack init [dir] [--id ] [--publisher ] kinds: skill, agent-blueprint, template, theme, dashboard, hook, app, bundle, connector aancer-pack connector check [dir] [--json] (the certification build's rules, locally) aancer-pack connector pack [dir] [--key ] [--out ] [--id ] [--publisher ] (the signed connector pack; default key: your developer key) aancer-pack connector run [dir] [--props ] [--auth ] [--payload ] [--hook run|test|enable|disable] aancer-pack login --target [--email
] (password: prompt, or AANCER_PASSWORD) aancer-pack login --target --browser (single sign-on: sign in in your browser) aancer-pack dev [dir] --target [--params ] [--watch] [--trust-key-on-target] aancer-pack validate --remote (the installation's import checks, nothing installed) aancer-pack doctor [--target ] [--install-dir ] [--json] (checks a developer install; one fix per problem; exit 1 = a problem) aancer-pack trust-key --print (your developer key, for an admin to trust) aancer-pack telemetry status|project (any command: --show-telemetry prints, sends nothing) aancer-pack --version ``` Exit codes: `0` ok · `1` the connector's own step failed (`connector run`) or `doctor` found a problem · `2` invalid input or usage · `3` signature or verification refused. ## The developer's installation - **Developer edition** on their own machine: `bash install.sh --dev` (Docker Compose; `--dev-model 1.5b|3b|7b`) or `bash setup.sh --dev` (Kubernetes). `--full` adds the safety scanner and context compression (standard package, 12 GB memory); `--llm-url
[--llm-model ]` uses their own OpenAI-compatible model server. The installer needs 8 GB memory (12 GB with `--full`), 2 CPU cores and at least 10 GB free disk; it exits `10` below these floors, `11` on a package signature failure, `12` for `--full` on a package without the built-in model runtime. When something does not start, run `aancer-pack doctor` and apply its `fix:` lines. - Without a licence the developer edition runs for one user. A free developer licence (up to 3 users, 90 days) is requested at https://aancer.ai/developers-licence with the installation's fingerprint, then activated on the licence page. - **Any other installation** (EVAL, test, production): the pack is signed with the publisher key from `keygen`, the administrator trusts that key under Extensions → Trust keys and imports the pack. `aancer-pack validate --remote ` runs the import checks first without installing anything. ## How to work 1. Start from a scaffold: `aancer-pack init ` writes the smallest pack of that kind that lints, signs and imports unchanged. Change it step by step; do not write a manifest from nothing. 2. After every change run `aancer-pack lint /manifest.json /content`. Each problem is printed as `: ` — fix exactly that path. `--json` gives the same as data. 3. Try it on the developer edition with `aancer-pack dev --target ` (`--watch` repeats on save). On any other installation, sign it and run `aancer-pack validate --remote ` before the import. The installation answers errors with a code and the paths at fault; read them before changing anything else. 4. Never invent a field. When a field is not in the scaffold or in the pages below, say so and ask. ## Pack layout ``` /manifest.json the pack: v 2, kind, id, version, title, publisher, parameters, items /content/.json an item's spec, referenced as { "$ref": "content/.json" } /content/ woff2 / png / svg / jpg / ico only ``` A manifest: ```json { "v": 2, "kind": "bundle", "id": "acme.identity", "version": "1.0.0", "title": "Acme identity", "publisher": { "name": "Acme GmbH", "keyId": "acme-2026" }, "parameters": [ { "id": "target_workspace", "type": "workspace", "label": "Workspace", "required": true } ], "items": [ { "kind": "theme", "schemaVersion": 1, "id": "acme-theme", "scope": "install", "spec": { "platformName": "Acme AI", "primaryColor": "#1f5c4d", "secondaryColor": "#1d4ed8", "defaultTheme": "light" } }, { "kind": "link", "schemaVersion": 1, "id": "intranet-hr", "scope": "workspace", "workspace": "{{param.target_workspace}}", "spec": { "label": "HR intranet", "url": "https://intranet.acme.example/hr", "group": "Operations", "order": 90 } } ] } ``` ## Hard rules (the installation refuses a pack that breaks one) - Pack id: `^[a-z0-9][a-z0-9._-]{2,63}$`. Version: strict semantic version (`1.2.3`, `1.2.3-rc.1`). - Every file in the pack is named by an item (`$ref`) or listed as an asset; any other file is refused as unsigned. - Assets: `woff2`, `png`, `svg`, `jpg`, `ico`; at most 4 MiB each, 32 MiB per pack, 256 items per pack. - Theme image addresses are relative (the installation serves them); locale values are plain text. - `publisher.keyId` is the key id `keygen` printed; the installation trusts the pack only when its administrator added that public key under Extensions → Trust keys with the same id. - Connectors: on the developer edition `aancer-pack connector pack` or `dev` signs with the developer key, and the pack installs only on that installation (bound to its install id; the key needs the **developer key** tick, otherwise `PACK_SIGNER_NOT_ALLOWED`). Every other edition accepts only connector packs AANCER signs through certification. An action reaches only its `egressHosts` (or the host from its connection), through a saved connection with outbound access switched on; anything else fails with a bare `fetch failed`. - Never put a private key, a password or a secret into a pack or into the repository. `dev` keeps the developer key in `~/.aancer/dev-signing.key`; a publisher key from `keygen` stays with the publisher. ## Where the details are (files in this folder) | Need | File | |---|---| | step by step: the setup, the development loop, the first pack, every kind of extension | `AANCER-Developer-Guide-EN.md` (German: `AANCER-Entwicklerhandbuch-DE.md`) | | every field, limit and error code: packs, skills, workflow templates, agents, dashboards, hooks, themes, embedded apps, connectors, the API | `AANCER-Developer-Reference-EN.md` | | the smallest working pack of every kind (made by `aancer-pack init`) | `examples//` | | a complete embedded app with sign-in hand-off | `examples/app-code-handover/` | The same books as PDF are beside them, for people. Search the Markdown files; they are the same text.