iii-getting-started
Qué hace
Te guía para instalar el motor iii, crear un proyecto y arrancar tu primer worker. Es para quienes empiezan con iii y quieren un backend funcionando sin adivinar los pasos de configuración.
Cuándo usarla
- ✓Cuando quieres empezar un proyecto nuevo de iii desde cero.
- ✓Cuando necesitas instalar el SDK de iii y comprobar que funciona.
- ✓Cuando tu primera configuración de iii no está en marcha y quieres empezar de nuevo.
Link de la skill
https://github.com/iii-hq/iii/blob/main/skills/iii-getting-started/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Instala iii y configura un proyecto nuevo para mí, y después muéstrame que el motor está en marcha.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill instala el motor con su instalador, crea un proyecto a partir de una plantilla y lo arranca con un archivo compose. Después comprueba que el motor está escuchando, para que sepas que la configuración funciona.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Getting Started with iii
iii replaces your API framework, task queue, cron scheduler, pub/sub, state store, and observability pipeline with a single engine and three primitives: Function, Trigger, Worker.
Step 1: Install the Engine
curl -fsSL https://install.iii.dev/iii/main/install.sh | sh
Verify it installed:
iii --version
Step 2: Create a Project
iii project init my-app # barebones project
iii project init my-app -t harness # or: the harness template (agent + console UI)
cd my-app
iii project init --learn-iii scaffolds the harness template and starts it in one step; the
installer offers the same when you answer "y" at its prompt. iii project init --template quickstart
scaffolds the Quickstart with a Python and a TypeScript worker.
Step 3: Start the Project
iii compose --namespace dev --up --file worker-compose.yaml
The file's engine: section starts the engine; containers: starts project workers. The engine
commonly listens on ws://localhost:49134. Keep this foreground supervisor running.
--namespace dev names the daemon and becomes III_NAMESPACE for every worker it starts, so your
workers register and call each other in dev; that is why the iii trigger commands below pass
-n dev. Engine-owned functions (engine::*, configuration::*) stay in default, and SDK calls
to them resolve there without a namespace (see iii-sdk-reference).
Step 4: Install the SDK
Pick your language:
# TypeScript / Node.js
pnpm add iii-sdk @iii-dev/helpers
# Python
pip install iii-sdk iii-helpers
# Rust
cargo add iii-sdk iii-helpers
Step 5: Write Your First Worker
TypeScript
import { registerWorker, TriggerAction } from "iii-sdk";
import { Logger } from "@iii-dev/helpers/observability";
const iii = registerWorker(process.env.III_URL ?? "ws://localhost:49134");
iii.registerFunction(
"hello::greet",
async (input) => {
const logger = new Logger();
const name = input?.name ?? "world";
logger.info("Greeting user", { name });
return { message: `Hello, ${name}!` };
},
{ description: "Greet a user by name" },
);
iii.registerTrigger({
type: "http",
function_id: "hello::greet",
config: { api_path: "/hello", http_method: "POST" },
});
Python
from iii import register_worker, InitOptions
from iii_helpers.observability import Logger
iii = register_worker(address="ws://localhost:49134", options=InitOptions(worker_name="hello-worker"))
def greet(data):
logger = Logger()
name = data.get("name", "world") if isinstance(data, dict) else "world"
logger.info("Greeting user", {"name": name})
return {"message": f"Hello, {name}!"}
iii.register_function("hello::greet", greet, description="Greet a user by name")
iii.register_trigger({"type": "http", "function_id": "hello::greet", "config": {"api_path": "/hello", "http_method": "POST"}})
Rust
use iii_sdk::{register_worker, InitOptions, RegisterFunction};
use iii_sdk::protocol::RegisterTriggerInput;
use iii_helpers::observability::Logger;
use serde_json::json;
let iii = register_worker("ws://127.0.0.1:49134", InitOptions::default());
iii.register_function(
"hello::greet",
RegisterFunction::new(|input: serde_json::Value| -> Result<serde_json::Value, iii_sdk::Error> {
let logger = Logger::new();
let name = input["name"].as_str().unwrap_or("world");
logger.info("Greeting user", Some(json!({ "name": name })));
Ok(json!({ "message": format!("Hello, {}!", name) }))
}).description("Greet a user by name"),
);
// Deprecated since 0.25, still how you bind to the http worker: compiles with a warning.
#[allow(deprecated)]
iii.register_trigger(RegisterTriggerInput::new(
"http",
"hello::greet",
json!({ "api_path": "/hello", "http_method": "POST" }),
))?;
registerTrigger logs a one-time deprecation warning in iii 0.25. It keeps working, and it is still
the way to bind to the http, cron, queue, state, stream, and pub/sub workers, which have not
moved to source functions yet. To run a function after another one, use iii.observe (see
iii-observe).
Step 6: Test It
The http trigger type comes from the http worker. Add it once through the running Compose
daemon, then call your endpoint:
iii trigger -n dev compose::add worker=http
curl -X POST http://localhost:3111/hello \
-H "Co
Preguntas frecuentes
¿Qué se crea en un proyecto nuevo?
Una carpeta de proyecto con un archivo compose, además de una plantilla opcional, como un arnés con un agente y una interfaz de consola.
¿Con qué plantilla debo empezar?
Con un proyecto básico para los fundamentos, o con las plantillas harness o quickstart para un ejemplo más completo.
¿Qué puerto usa el motor?
Normalmente escucha en localhost, en el puerto 49134.
Detalles
Descripción original del autor
Install the iii engine, set up your first worker, and get a working backend running. Use when a user wants to start a new iii project, install the SDK, or needs help with initial setup and configuration.
repo: iii-hq/iii
Popularidad
- Estrellas en GitHub
- 19 mil
- Posición en el ranking
- #10495
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
iii-sandbox
19 milAyuda a tu agente a ejecutar código no fiable o generado por IA de forma segura dentro de una máquina virtual aislada y temporal, y descartarla al terminar.
configuration
19 milPermite que tu agente configure un registro compartido de valores de configuración con nombre, validados contra un esquema, para que los workers puedan leer los cambios y reaccionar a ellos.
iii
19 milEnseña a tu agente cómo funcionan los workers de iii, para que pueda añadir una capacidad comprobando primero lo que ya existe y después construyendo un worker.
iii-observability
19 milAyuda a tu agente a añadir trazado, registros estructurados, métricas y alertas a un motor iii, usando OpenTelemetry para que puedas ver lo que está pasando.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.