Установка
SKILL.md
Engine Config
Comparable to: infrastructure as code, worker manifests, runtime policy config
Key Concepts
Use the concepts below when they fit the task. Not every deployment needs all workers or adapters.
- config.yaml / iii-config.yaml defines engine workers, modules, adapters, ports, observability, RBAC, and worker manager listeners
- Environment variables use
${VAR:default}syntax (default is optional) - Workers are the building blocks — each enables a capability (API, state, queue, cron, etc.)
- Managed workers are registry, binary, OCI image, or local workers controlled by the worker manager and
iii workerCLI - Adapters swap storage and messaging backends: file/KV, Redis, RabbitMQ, local/in-memory where supported
- Queue configs control retry count, concurrency, ordering, and backoff per named queue
- The engine's private worker WebSocket commonly listens on port 49134
- The console commonly runs on 3113, HTTP on 3111, stream WebSocket on 3112, and Prometheus on 9464 when enabled
Architecture
The engine loads YAML config at startup, expands environment variables, initializes modules and built-in daemons, opens configured ports, starts the worker manager, then installs or starts managed workers. SDK workers connect over WebSocket; registry-managed binary and OCI workers can be reproduced from iii.lock.
Runtime Workers and Config Surface
| Worker / Config | Purpose |
|---|---|
iii-http | HTTP API server (port 3111) |
iii-stream | WebSocket streams (port 3112) |
iii-state | Persistent key-value state storage |
iii-queue | Background job processing with retries |
iii-pubsub | In-process event fanout |
iii-cron | Time-based scheduling |
iii-sandbox | MicroVM command/filesystem isolation |
shell | Controlled host/sandbox command and file tools |
iii-directory | Engine/registry/skills discovery |
iii-observability | OpenTelemetry traces, metrics, logs |
iii-http-functions | Outbound HTTP call security |
iii-exec | Spawn external processes |
iii-bridge | Distributed cross-engine invocation |
iii-telemetry | Anonymous product analytics |
iii-worker-manager | Worker connection lifecycle and RBAC listeners |
iii-worker-ops | Worker lifecycle operations |
iii (iii-engine-functions runtime) | Core engine introspection (engine::*) and platform authoring reference |
iii.lock | Reproducible managed-worker lockfile |
iii worker sync --frozen | Verify lockfile without mutation |
Code Example
workers:
- name: iii-http
config:
host: 127.0.0.1
port: ${III_HTTP_PORT:3111}
- name: iii-queue
config:
queue_configs:
payments:
max_retries: 5
concurrency: 2
type: fifo
message_group_field: orderId
adapter:
name: builtin
config:
store_method: file_based
file_path: ./data/queue
- name: iii-state
config:
adapter:
name: kv
config:
store_method: file_based
file_path: ./data/state
- name: iii-worker-manager
config:
listeners:
- host: 127.0.0.1
port: 49134
private: true
- host: 0.0.0.0
port: 49135
rbac:
auth_function_id: auth::browser-session
Common Patterns
Code using this pattern commonly includes, when relevant:
iii --config ./config.yaml— start the engine with a config filedocker pull iiidev/iii:latest— pull the Docker image- Dev storage:
store_method: file_basedwithfile_path: ./data/... - Prod storage: Redis adapters with
redis_url: ${REDIS_URL} - Prod queues: RabbitMQ adapter with
amqp_url: ${AMQP_URL}andqueue_mode: quorum - Queue config:
queue_configswithmax_retries,concurrency,type,backoff_msper queue name - Env var with fallback:
port: ${III_PORT:49134} - Health check:
curl http://127.0.0.1:3111/health - Ports: 3111 (API), 3112 (streams), 49134 (engine WS), 9464 (Prometheus)
- RBAC listener: configure
iii-worker-managerwith listenerhost,port,middleware_function_id, andrbac - HTTP security policy: configure exposed functions, auth function, registration hooks, and forbidden functions on public worker-manager listeners
- Observability: configure OTLP exporter, service name, sampling, metrics, and logs on the observability worker
Worker Config Format
Workers use name: and optional config::
workers:
- name: iii-http
config:
port: 3111
host: 127.0.0.1
- name: iii-state
config:
adapter:
name: kv
config:
store_method: file_based
file_path: ./data/state_store.db
- name: iii-queue
config:
adapter:
name: builtin
config:
store_method: file_based
file_path: ./data/queue_store
- name: iii-stream
config:
port: 3112
host: 127.0.0.1
adapter:
name: kv
config:
store_method: file_based
file_path: ./data/stream_store
- name: iii-cron
config:
adapter:
name: kv
- name: iii-pubsub
config:
adapter:
name: local
- name: iii-observability
config:
enabled: true
service_name: my-service
exporter: memory
sampling_ratio: 1.0
metrics_enabled: true
logs_enabled: true
- name: iii-sandbox
config:
auto_install: true
image_allowlist:
- python
- node
Managed Workers and Lockfiles
- Browse registry workers at
https://workers.iii.dev/. - Registry workers are installed with
iii worker add NAME[@VERSION]. - Direct OCI workers use image references such as
ghcr.io/org/worker:tag. - Local workers point at local binary or development paths when supported by the worker config.
iii.lockrecords resolved binary artifacts or OCI image digests for reproducible installs.- Commit
iii.lockwith config. Useiii worker verifyin CI andiii worker syncafter cloning. - Use
iii workerCLI commands for managed-worker lifecycle, lockfile, and verification workflows.
RBAC and Security
- Public worker access should go through an RBAC-enabled
iii-worker-managerlistener. auth_function_idreturns allowed and forbidden functions, trigger type permissions, registration permission, registration prefix, and context.forbidden_functionsoverride exposure filters.- Discovery is filtered: denied functions should look forbidden, not available.
- Keep RBAC policy examples close to the worker-manager configuration they protect.
Adapting This Pattern
Use the adaptations below when they apply to the task.
- Start with file_based adapters for development, switch to Redis/RabbitMQ for production
- Define queue configs per workload: high-concurrency for parallel jobs, FIFO for ordered processing
- Use environment variables with defaults for all deployment-sensitive values (URLs, ports, credentials)
- Enable only the workers you need — unused workers can be omitted from the config
- Use
iii worker addto add registry-managed workers, then commit both config andiii.lock - Set
max_retriesandbackoff_msbased on your failure tolerance and SLA requirements - Configure the observability worker with your collector endpoint and sampling ratio
- Use
host: 127.0.0.1instead ofhost: localhostto avoid IPv4/IPv6 mismatches on macOS - Keep private worker ports bound to localhost unless a listener has explicit RBAC/security policy
Pattern Boundaries
- For function registration, trigger binding, invocation modes, built-in trigger shapes, custom
triggers, channels, and HTTP-invoked functions, prefer
iii-core-primitives. - For SDK instrumentation APIs and language-specific package usage, prefer
iii-sdk-reference. - For complete backend designs that combine queues, state, streams, and pub/sub, prefer
iii-architecture-patterns. - For worker-backed HTTP, queue, cron, pubsub, state, stream, observability, lifecycle, lockfile, and RBAC behavior, use the matching worker docs under
engine/src/workers/**/skills. - Stay with
iii-engine-configwhen the primary problem is configuring or deploying the engine itself.
When to Use
- Use this skill when the task is primarily about
iii-engine-configin the iii engine. - Triggers when the request directly asks for this pattern or an equivalent implementation.
Boundaries
- Never use this skill as a generic fallback for unrelated tasks.
- You must not apply this skill when a more specific iii skill is a better fit.
- Always verify environment and safety constraints before applying examples from this skill.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: iii-engine-config](https://darkplay.ru/ai/skills/iii-iii-engine-config)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Та же категория — сравните, что ещё подойдёт под вашу задачу.
azure-pipelinesmicrosoft · Проверка изменений пайплайна Azure DevOps для сборки VS Code без полного CI
archifytt-a1i · Создание профессиональных диаграмм архитектуры, workflow, последовательностей, потоков…
docker-expertsickn33 · Эксперт по Docker: оптимизация контейнеров, безопасность, multi-stage сборки и…
omarchybasecamp · Обязателен для настройки Linux-десктопа, оконного менеджера и системных конфигов…
backend-dev-guidelineslangfuse · Общее руководство по бэкенду для монорепозитория Langfuse на Next.js, tRPC, BullMQ и…
deepevalconfident-ai · Рабочий процесс оценки DeepEval для ИИ-агентов и LLM-приложений: добавление evals…
vercel-clivercel · Развёртывание, управление, инспекция и отладка проектов Vercel из командной строки…
portlessvercel-labs · Настройка и использование portless для именованных локальных URL dev-серверов (наприме�…
hf-clihuggingface · CLI Hugging Face Hub (hf) для скачивания, загрузки и управления моделями, датасетами…
drawio-skillAgents365-ai · Для запросов диаграмм: блок-схемы, архитектурные, ER, UML (sequence/class), SysML/MBSE…Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
mattpocock-skillsmattpocock · Агентские навыки Matt Pocock для настоящей инженерии: разбор задач, потоки спецификаций и…
Django Build Resolveraffaan-m · Специалист по ошибкам Django: pip/Poetry, миграции, импорты, collectstatic.
Django Revieweraffaan-m · Ревьюер Django: ORM, DRF, миграции, безопасность и production-практики.
Harness Optimizeraffaan-m · Анализирует и улучшает конфигурацию локального агентного харнесса по надёжности и цене.
Mle Revieweraffaan-m · Ревьюер ML-инженерии: данные, признаки, обучение, оценка, сервинг и мониторинг.
Network Config Revieweraffaan-m · Проверяет конфигурации роутеров и свитчей: безопасность, ошибки и риски изменений.
React Build Resolveraffaan-m · Чинит сборки React в Vite, webpack, Next.js и других: JSX, гидратация, типы.
agent-skillsaddyosmani · Инженерные навыки продакшн-уровня, охватывающие все этапы разработки ПО: спецификация…
Presentation Vibe Codingshanraisshan · Агент для обновления и правки презентации VIBE-CODING: слайды, структура, стили, переходы…
Senior Software Engineershanraisshan · Практичный инженер: разумно планирует, выпускает небольшие обратимые изменения с тестами…Лучшие ИИ-инструменты для программирования
Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные
GenAPIGenapi
Notepad++ AINotepad-plus-plus
Creatium MaxCremax
Emacs AIGnu
KiteKite
Amazon Q DeveloperAmazonЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachat