iii-getting-started
하는 일
iii 엔진을 설치하고, 프로젝트를 만들고, 첫 워커를 시작하는 과정을 안내합니다. 설정 단계를 추측하지 않고 동작하는 백엔드를 원하는 iii 입문자를 위한 스킬입니다.
사용하는 경우
- ✓새 iii 프로젝트를 처음부터 시작하고 싶을 때.
- ✓iii SDK를 설치하고 제대로 동작하는지 확인해야 할 때.
- ✓처음 한 iii 설정이 실행되지 않아서 다시 시작하고 싶을 때.
스킬 링크
https://github.com/iii-hq/iii/blob/main/skills/iii-getting-started/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“iii를 설치하고 새 프로젝트를 만들어 주세요. 그다음 엔진이 실행 중인지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 설치 프로그램으로 엔진을 설치하고, 템플릿으로 프로젝트를 만든 뒤 compose 파일로 프로젝트를 시작합니다. 마지막으로 엔진이 연결을 기다리는지 확인해, 설정이 제대로 되었는지 알려 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
새 프로젝트에는 무엇이 만들어지나요?
compose 파일이 들어 있는 프로젝트 폴더가 만들어지며, 에이전트와 콘솔 인터페이스를 갖춘 harness 같은 선택형 템플릿도 포함될 수 있습니다.
어떤 템플릿으로 시작해야 하나요?
기본을 익히려면 barebones 프로젝트를, 더 완성된 예제를 원하면 harness나 quickstart 템플릿을 고르세요.
엔진은 어떤 포트를 쓰나요?
보통 localhost의 49134 포트에서 연결을 기다립니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 19k
- 순위
- #10495
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
iii-sandbox
19k에이전트가 신뢰할 수 없거나 AI가 만든 코드를 임시 격리 가상 머신 안에서 안전하게 실행하고, 끝나면 버리도록 돕습니다.
configuration
19k에이전트가 스키마로 검사하는 이름 있는 설정 값의 공유 레지스트리를 만들도록 돕습니다. 워커가 변경을 읽고 반응할 수 있습니다.
iii
19k에이전트가 iii 워커의 작동 방식을 익혀, 먼저 이미 있는 기능을 확인한 뒤 워커를 만들어 기능을 추가하도록 가르칩니다.
iii-observability
19k에이전트가 iii 엔진에 추적, 구조화된 로그, 지표, 알림을 추가하도록 돕습니다. OpenTelemetry를 써서 시스템에서 무슨 일이 일어나는지 볼 수 있습니다.