本文へ移動
cccskills
無料GitHub で公開

adalflow

Use AdalFlow to build, debug, evaluate, optimize, trace, and operate LLM task pipelines, RAG systems, agents, tools, and structured-output workflows.

インストール方法を見る

含まれるファイル(43)

  • SKILL.md5.6 KB
  • references/package-overview.md4.1 KB
  • references/repo-provenance.md2.1 KB
  • references/repo-routing-metadata.json484 B
  • references/troubleshooting.md3.5 KB
  • scripts/check_adalflow_environment.py5.9 KB
  • sub-skills/agents-tools-and-streaming/references/agents-and-tools.md9.5 KB
  • sub-skills/agents-tools-and-streaming/references/mcp-and-permissions.md9.7 KB
  • sub-skills/agents-tools-and-streaming/references/streaming-and-run-results.md8.9 KB
  • sub-skills/agents-tools-and-streaming/references/troubleshooting.md11.6 KB
  • sub-skills/agents-tools-and-streaming/scripts/agent_runner_fake_planner_smoke.py6.7 KB
  • sub-skills/agents-tools-and-streaming/scripts/function_tool_smoke.py4.4 KB
  • sub-skills/agents-tools-and-streaming/SKILL.md3.2 KB
  • sub-skills/core-components-and-structured-io/references/core-api-reference.md8.2 KB
  • sub-skills/core-components-and-structured-io/references/structured-io-and-parsers.md6.9 KB
  • sub-skills/core-components-and-structured-io/references/troubleshooting.md6.3 KB
  • sub-skills/core-components-and-structured-io/scripts/core_component_smoke.py3.5 KB
  • sub-skills/core-components-and-structured-io/scripts/structured_io_smoke.py4.6 KB
  • sub-skills/core-components-and-structured-io/SKILL.md2.7 KB
  • sub-skills/evaluation-and-optimization/references/datasets-and-benchmarks.md6.2 KB
  • sub-skills/evaluation-and-optimization/references/evaluation-metrics.md6.7 KB
  • sub-skills/evaluation-and-optimization/references/optimization-and-training.md11.5 KB
  • sub-skills/evaluation-and-optimization/references/troubleshooting.md8.6 KB
  • sub-skills/evaluation-and-optimization/scripts/evaluation_metrics_smoke.py4.0 KB
  • sub-skills/evaluation-and-optimization/SKILL.md4.2 KB
  • sub-skills/model-client-and-generator-workflows/references/api-reference.md7.5 KB
  • sub-skills/model-client-and-generator-workflows/references/generator-workflows.md11.6 KB
  • sub-skills/model-client-and-generator-workflows/references/model-clients.md9.7 KB
  • sub-skills/model-client-and-generator-workflows/references/troubleshooting.md9.8 KB
  • sub-skills/model-client-and-generator-workflows/scripts/generator_fake_client_smoke.py6.8 KB
  • sub-skills/model-client-and-generator-workflows/SKILL.md3.7 KB
  • sub-skills/retrieval-rag-and-data-pipelines/references/data-pipelines.md5.7 KB
  • sub-skills/retrieval-rag-and-data-pipelines/references/rag-recipes.md6.0 KB
  • sub-skills/retrieval-rag-and-data-pipelines/references/retrievers.md6.2 KB
  • sub-skills/retrieval-rag-and-data-pipelines/references/troubleshooting.md5.2 KB
  • sub-skills/retrieval-rag-and-data-pipelines/scripts/localdb_smoke.py1.8 KB
  • sub-skills/retrieval-rag-and-data-pipelines/scripts/text_splitter_smoke.py1.0 KB
  • sub-skills/retrieval-rag-and-data-pipelines/SKILL.md3.0 KB
  • sub-skills/tracing-observability-and-configuration/references/api-reference.md4.5 KB
  • sub-skills/tracing-observability-and-configuration/references/tracing-and-config.md5.1 KB
  • sub-skills/tracing-observability-and-configuration/references/troubleshooting.md4.5 KB
  • sub-skills/tracing-observability-and-configuration/scripts/tracing_smoke.py14.0 KB
  • sub-skills/tracing-observability-and-configuration/SKILL.md1.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

AdalFlow Repo Skill

Use this skill when a task involves the AdalFlow Python package: building model-agnostic LLM task pipelines, structured outputs, RAG, agents, tool calling, evaluation, prompt/few-shot/text-gradient optimization, or tracing.

AdalFlow uses PyTorch-like Component building blocks. A typical workflow combines Prompt, ModelClient, Generator, DataClass/parser objects, retrievers, tools, agents, metrics, and tracing callbacks.

First checks

  1. Read repository provenance before assuming this skill is current for a checkout.
  2. For a package install/import task, read package overview and root troubleshooting.
  3. For a quick environment smoke, run check_adalflow_environment.py in the target Python environment.
  4. Then route to the most specific sub-skill below.

Install/import guidance

For AdalFlow 1.1.1, use Python 3.9+ and include the OpenAI SDK for reliable top-level import because the current Generator module imports OpenAI response event types:

python -m pip install "adalflow[openai]"
python - <<'PY'
import adalflow as adal
print(adal.__version__)
from adalflow import Component, DataClass, Generator, Agent, Runner
print("adalflow import ok")
PY

Install additional extras only for workflows that need them, such as provider SDKs, FAISS/LanceDB/Postgres/Qdrant retrieval, MCP, torch/transformers, datasets, or SQLAlchemy. Do not treat a missing API key, service, dataset, or accelerator as a base package failure.

Route map

Core components and structured I/O

Read core-components-and-structured-io for:

  • Component, DataComponent, Sequential, ComponentList, Prompt, DataClass, and required_field.
  • JSON/YAML/list/int/float/bool parsers and DataClassParser structured-output prompts.
  • Service-free mini-pipeline checks that do not call a model provider.

Model clients, generators, and embedders

Read model-client-and-generator-workflows for:

  • ModelClient, Generator, GeneratorOutput, Embedder, and BatchEmbedder.
  • prompt_kwargs, model_kwargs, ModelType, output processors, cache behavior, and async/streaming basics.
  • Provider extras and no-credential fake-client tests.

Retrieval, RAG, and data pipelines

Read retrieval-rag-and-data-pipelines for:

  • Document, TextSplitter, LocalDB, ToEmbeddings, and RetrieverOutputToContextStr.
  • BM25Retriever, FAISSRetriever, LanceDB, Postgres, Qdrant, and RAG context assembly.
  • Optional vector-store, embedding-dimension, stale-index, and service troubleshooting.

Agents, tools, streaming, HITL, and MCP

Read agents-tools-and-streaming for:

  • FunctionTool, ToolManager, FunctionDefinition, FunctionOutput, and ToolOutput.
  • Agent, Runner, ReActAgent, RunnerResult, StepOutput, and stream events.
  • Human approval/permission handlers, safe tool patterns, and optional MCP tools.

Evaluation and optimization

Read evaluation-and-optimization for:

  • AnswerMatchAcc, RetrieverEvaluator, cautious LLMasJudge, and dataset loaders.
  • Parameter, GradComponent, AdalComponent, Trainer, BootstrapFewShot, TGDOptimizer, EvalFnToTextLoss, LLMAsTextLoss, and optimize_anything.
  • Training/benchmark workflows that require provider credentials, data, and runtime budget.

Tracing, observability, and configuration

Read tracing-observability-and-configuration for:

  • setup_env, logging helpers, config loading, and default artifact roots.
  • GeneratorStateLogger, GeneratorCallLogger, callbacks, spans, trace providers, and optional MLflow.
  • Debug artifacts, path hygiene, and trace/log troubleshooting.

Cross-workflow rules

  • Start service-free when possible: validate DataClass, parser, TextSplitter, metrics, fake ModelClient, or fake Runner behavior before adding providers.
  • Choose provider extras only after the required ModelClient is known. API credentials and network calls are workflow prerequisites, not skill smoke checks.
  • For RAG, separate data preparation, retrieval index construction, context formatting, generator configuration, evaluation metrics, and tracing; each has a different owner sub-skill.
  • For agents, verify tools independently with FunctionTool/ToolManager before letting an LLM planner call them.
  • For optimization, define evaluation and loss contracts before running Trainer.fit; prefer Trainer.diagnose or metric smokes before expensive training.
  • For tracing/logging, keep artifacts in explicit writable directories and avoid logging secrets, provider payloads, or machine-specific paths.

When not to use this skill

  • The task is only about editing this repository's release process, CI, or publishing scripts.
  • The task needs a different package's APIs and only mentions AdalFlow as background context.
  • The user asks Creator to perform downstream research directly; switch to Researcher mode instead of using this operating graph here.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年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-Skill3322026年9月3日 更新

acme

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する