본문으로 건너뛰기
cccskills
무료GitHub에 공개

agent-lightning

Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and troubleshooting optional backends.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구DockerOpenAI
설치 방법 보기

포함된 파일(33)

  • SKILL.md5.5 KB
  • references/compatibility.md3.2 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json551 B
  • references/troubleshooting.md4.8 KB
  • scripts/check_agentlightning_install.py5.1 KB
  • sub-skills/agent-authoring/references/api-reference.md3.3 KB
  • sub-skills/agent-authoring/references/authoring-workflows.md4.8 KB
  • sub-skills/agent-authoring/references/troubleshooting.md3.8 KB
  • sub-skills/agent-authoring/scripts/agent_rollout_smoke.py2.5 KB
  • sub-skills/agent-authoring/SKILL.md2.6 KB
  • sub-skills/cli-and-services/references/cli-reference.md3.5 KB
  • sub-skills/cli-and-services/references/service-workflows.md3.4 KB
  • sub-skills/cli-and-services/references/troubleshooting.md3.2 KB
  • sub-skills/cli-and-services/scripts/check_litellm_proxy.py4.1 KB
  • sub-skills/cli-and-services/scripts/check_prometheus_metrics.py3.4 KB
  • sub-skills/cli-and-services/SKILL.md2.6 KB
  • sub-skills/examples-and-recipes/references/dependency-and-backend-matrix.md3.6 KB
  • sub-skills/examples-and-recipes/references/example-catalog.md4.6 KB
  • sub-skills/examples-and-recipes/references/example-contribution-guide.md3.0 KB
  • sub-skills/examples-and-recipes/references/troubleshooting.md2.7 KB
  • sub-skills/examples-and-recipes/SKILL.md1.9 KB
  • sub-skills/runner-store-training/references/api-reference.md4.1 KB
  • sub-skills/runner-store-training/references/status-model.md3.2 KB
  • sub-skills/runner-store-training/references/store-and-trainer-workflows.md5.4 KB
  • sub-skills/runner-store-training/references/troubleshooting.md3.8 KB
  • sub-skills/runner-store-training/scripts/store_status_smoke.py3.5 KB
  • sub-skills/runner-store-training/SKILL.md2.9 KB
  • sub-skills/tracing-and-instrumentation/references/api-reference.md3.6 KB
  • sub-skills/tracing-and-instrumentation/references/tracing-workflows.md4.3 KB
  • sub-skills/tracing-and-instrumentation/references/troubleshooting.md3.9 KB
  • sub-skills/tracing-and-instrumentation/scripts/local_trace_smoke.py3.6 KB
  • sub-skills/tracing-and-instrumentation/SKILL.md2.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Agent Lightning Repo Skill

Use this skill when a user asks for help with Agent Lightning (agentlightning): writing trainable agents, collecting spans and rewards, coordinating runners/stores/trainers/algorithms, using agl services, selecting example recipes, or diagnosing package/backend issues.

Agent Lightning's core loop is: a runner executes a LitAgent, a tracer emits spans into a LightningStore, algorithms read those traces and update resources, and Trainer wires those components together.

First steps for any task

  1. Identify the user's workflow and route to the nearest sub-skill below.
  2. If the user is using a different checkout or package version, read repo provenance before relying on version-sensitive details.
  3. For install or import trouble, run or adapt scripts/check_agentlightning_install.py and read compatibility plus cross-cutting troubleshooting.
  4. Treat GPU, MongoDB, cloud API, W&B/Tinker, Docker/SWE-bench, and dashboard workflows as optional unless the user explicitly provides those resources.

Route map

User intentUse this sub-skillWhat it contains
Write or wrap an agent, fix @rollout signatures, use PromptTemplate or LLM, debug one rolloutagent-authoringAgent function/class patterns, resource injection, return contracts, runner single-step smoke
Emit rewards/messages/objects, inspect spans, adapt traces to messages/triplets, debug missing token IDstracing-and-instrumentationOtelTracer, AgentOpsTracer, emitters, operation, adapters, trace troubleshooting
Operate LightningStore, runners, algorithms, Trainer.fit, Trainer.dev, status/retry behaviorrunner-store-trainingStore API, rollout/attempt lifecycle, resources, custom algorithms, training loop recipes
Use agl CLI, store/prometheus services, LLM proxy, vLLM bridge, endpoint checks, metricscli-and-servicesHelp-confirmed CLI flags, service launch patterns, safe LiteLLM/OpenAI-compatible checks
Choose or adapt examples such as APO, SQL, RAG, ChartQA, Unsloth, Azure, Claude Code, Tinkerexamples-and-recipesExample/backend catalog, optional dependency matrix, maintainer example rules

Installation orientation

General use:

python -m pip install --upgrade agentlightning
python - <<'PY'
import agentlightning as agl
print(agl.__version__)
print(type(agl.InMemoryLightningStore()).__name__)
PY

For source development, use the repository's uv workflow and choose only the optional groups needed for the task. CPU-only work can inspect and run base package APIs without CUDA. APO requires the apo extra (poml) plus an OpenAI-compatible endpoint for full examples. VERL/vLLM/Unsloth/vision/RAG examples require larger dependency groups and usually CUDA-compatible hardware.

Core public objects to recognize

  • Agent authoring: rollout, llm_rollout, prompt_rollout, LitAgent, PromptTemplate, LLM, ProxyLLM, NamedResources.
  • Execution: LitAgentRunner, Runner, Hook, Trainer, Algorithm, FastAlgorithm, Baseline, algo.
  • Store/control plane: LightningStore, InMemoryLightningStore, LightningStoreClient, LightningStoreServer, LightningStoreThreaded, RolloutConfig.
  • Tracing: OtelTracer, AgentOpsTracer, DummyTracer, emit_reward, emit_message, emit_object, emit_exception, operation, find_final_reward, TracerTraceToTriplet, LlmProxyTraceToTriplet, TraceToMessages.
  • Services: agl, LLMProxy, ProxyLLM, metrics backends, OpenAI-compatible endpoint patterns.

Fast validation

Use this when a user asks whether the installed package is basically usable:

python scripts/check_agentlightning_install.py

For deeper workflow checks, run the nearest sub-skill smoke script:

  • Agent authoring: python sub-skills/agent-authoring/scripts/agent_rollout_smoke.py
  • Tracing: python sub-skills/tracing-and-instrumentation/scripts/local_trace_smoke.py
  • Store/training control plane: python sub-skills/runner-store-training/scripts/store_status_smoke.py
  • Services: python sub-skills/cli-and-services/scripts/check_litellm_proxy.py --help or python sub-skills/cli-and-services/scripts/check_prometheus_metrics.py --duration 1 --host 127.0.0.1

Run scripts from the generated skill directory or pass explicit paths/URLs where the script supports them. The scripts are safe by default: they do not train models, download data, mutate Docker/Mongo/Ray, or print secrets.

Known limits

This skill was verified for CPU-compatible package import, CLI help, and in-memory store/runner/tracing smokes. It preserves guidance for optional GPU/cloud/service workflows but does not claim those backends were available or verified. When a user requests optional workflows, first confirm or detect the required hardware, credentials, endpoints, datasets, and dependency groups before running expensive commands.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고