شعار Workflow Agent Spectrum Classifier

Workflow Agent Spectrum Classifier

المجتمع
AnthonyAlcaraz
workflow-agent-spectrum-classifier

Place an AI system on Ch1's continuous workflow-agent spectrum instead of the false binary "is it an agent or not". Scores the three dimensions of agency (autonomy / action / authority) plus how predefined the execution path is, returns a spectrum position (0 = workflow, 1 = agent) and a band (WORKFLOW / BLENDED / AGENT), applies Ch1's action test (a system that cannot effect change is an assistant/advisor, not an agent), and reports the four emergent capabilities (autonomous decision-making, contextual understanding, strategic tool utilization, memory persistence). Accepts numeric dimensions or a free-text system description. Use to right-size an architecture — deterministic workflow, blended human-in-the-loop, or full agent. NOT for ranking model quality, NOT for systems with no LLM in the loop.

نظرة عامة

الناشرAnthonyAlcaraz
المستودعagentic-graph-rag-skills
اسم المهارةworkflow-agent-spectrum-classifier
النجوم
29
التفريعات
9
الملفات المرفقة
3
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها AnthonyAlcaraz على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Workflow Agent Spectrum Classifier في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills/tree/main/skills/crisis/workflow-agent-spectrum-classifier
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills.git /tmp/agentic-graph-rag-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-graph-rag-skills/skills/crisis/workflow-agent-spectrum-classifier .claude/skills/workflow-agent-spectrum-classifier
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Workflow Agent Spectrum Classifier في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Workflow Agent Spectrum Classifier تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Workflow Agent Spectrum Classifier بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Workflow-Agent Spectrum Classifier

Overview

Ch1 rejects "is it an agent or not" as the wrong question. Following Andrew Ng ("systems can be agent-like to different degrees") and Anthropic's workflow-vs-agent distinction, it places systems on a continuous spectrum:

  • Workflow end — "predefined execution paths: orchestrated sequences that follow explicit instructions." Reliable and deterministic, limited adaptability. Chapter examples: a FAQ generator, a fund-analysis app.
  • Agent end — systems that "determine processes dynamically, providing flexibility at the cost of predictability." Chapter examples: coding agents, deep research agents.
  • Blended middle — "deterministic workflows with nondeterministic LLMs inserted at key points," with humans in the loop where judgment is required. Chapter example: an investment firm's market-commentary report — the LLM retrieves, analyzes, and submits; humans review for compliance and submit to regulators.

The placement is grounded in the three dimensions of agency, which "exist on sliding scales, not as binary attributes":

  • Autonomy — degree of independent decision-making without external direction.
  • Action — ability to execute decisions that affect the environment. "Without this capability to effect change, you have an assistant or advisor, not an agent."
  • Authority — scope and limitations of permitted actions. (Ch1's real-estate-agent example: high autonomy to market a property, little authority over price.)

When a system operates across these dimensions, four capabilities emerge: autonomous decision-making, contextual understanding, strategic tool utilization, and memory persistence. The skill reports them alongside the band.

When to Use

  • Right-sizing an architecture: deterministic workflow vs blended human-in-the-loop vs full agent
  • Settling a "is this really an agent?" debate with a shared rubric
  • Auditing whether a "read-only advisor" is being over-sold as an agent (the action test)
  • Teaching the three agency dimensions with concrete placements

Phrases: "is this a workflow or an agent", "where on the spectrum", "classify this system", "is it agentic", "workflow vs agent", "does this count as an agent".

When NOT to Use

  • Ranking model quality — the spectrum is about system design, not the underlying model.
  • Non-LLM systems with no autonomy/action to speak of — placement is trivially WORKFLOW and uninformative.
  • As an authority control. This reports the authority dimension; it does not enforce permissions. Use capability-authorization-gate (Ch3) for that.

Process

StepInputActionOutputVerification
1autonomy / action / authority / determinism (0..1)lib.classify(...)spectrum position + bandposition in 0..1; band matches cutoffs
2autonomy + path_determinismlib.spectrum_position(...)0..1 positionrises with autonomy, falls with determinism
3action valueread is_agent_by_action_testagent-vs-advisor gatefalse when action < the agent threshold
4autonomy + memory/tool/contextual signalslib.emergent_capabilities(...)four-capability checklistflags reflect the supplied signals
5free-text descriptionlib.classify_text(text)placement + estimated_dimensionsdynamic-agent text -> not WORKFLOW; scripted text -> not AGENT
6list of systemsCLI batchper-system placementeach system carries a band + notes

Rationalizations

Agent rationalizationDocumented rebuttal
"It uses an LLM, so it's an agent."Ch1: agency is a spectrum, not a label. A FAQ generator uses an LLM on a predefined path — it sits at the WORKFLOW end. Score autonomy and path determinism, don't assume.
"It reasons brilliantly, so it's a top-tier agent."Ch1's action test: "Without this capability to effect change, you have an assistant or advisor, not an agent." A read-only diagnostic with high autonomy still fails the action test.
"This complex process must be a full agent."Ch1: the most complex enterprise processes are BLENDED — "deterministic workflows with nondeterministic LLMs inserted at key points," humans in the loop. Full-agent framing removes the human judgment the process requires.
"Give it maximum autonomy and authority — more agentic is better."Ch1: the dimensions are calibrated, not maximized (the real-estate agent has high autonomy, low pricing authority). Miscalibrated authority is a safety problem, not an agency win.
"The band is just cosmetic labeling."The band drives the architecture in later chapters: WORKFLOW -> explicit deterministic edges, AGENT -> conditional adaptive edges (Ch1 GraphRAG Flexibility section). Misplacing the band mis-designs the graph.

Red Flags

  • A system scores AGENT but fails the action test. It is an advisor sold as an agent; either grant it (bounded) action or stop calling it an agent.
  • Everything lands BLENDED. Either the dimensions are all set near 0.5 (under-specified) or the free-text description is too vague — supply concrete autonomy/action signals.
  • High autonomy paired with high authority and no human-in-the-loop note. Verify this is intended; unbounded authority under high autonomy is the configuration Ch1 warns to calibrate.
  • classify_text disagrees with your intuition. It is best-effort keyword inference; read estimated_dimensions, correct them, and re-run classify with the numeric values.

Non-Negotiable Verification

  1. Run the benchmark battery. python cli.py benchmark must report 8/8:
    • FAQ generator -> WORKFLOW, DevOps agent -> AGENT, market-commentary -> BLENDED
    • the read-only advisor fails the action test and carries the advisor note
    • position is monotonic in autonomy and determinism
    • emergent-capability flags reflect the supplied signals
    • free-text dynamic-agent text is not WORKFLOW; scripted text is not AGENT
  2. Verify CLI help. python cli.py --help exits 0 and prints the SKILL.md description.
  3. Inspect the scenario. python cli.py scenario devops should show the four DevOps systems spread across all three bands.

Security Posture

  • Prompt injection. Numeric classify has no text surface. classify_text and the describe subcommand read a free-text description with regex keyword matching only — no eval, no instruction execution — so a crafted description can at worst bias the estimated dimensions, which are returned transparently under estimated_dimensions for the caller to correct.
  • Data exfiltration. No network calls; the only file read is the systems JSON path the caller supplies (default: the bundled sample). --json output goes to stdout.
  • Privilege escalation. No shell invocation, no dynamic import, no file writes. Placement is advisory and must not be wired to real permission grants — the action/authority scores describe intent, they do not enforce it.

Source Attribution

Distilled from Agentic GraphRAG (O'Reilly, by Anthony Alcaraz and Sam Julien), Chapter 1 — Defining Agentic AI, "Classifying Agentic Systems: The Workflow-Agent Spectrum" and the "three dimensions of agency" definition. The spectrum framing follows Andrew Ng ("agent-like to different degrees") and Anthropic's workflow-vs-agent distinction, both named in the chapter; the workflow / blended / agent examples (FAQ generator, market-commentary report, coding & deep-research agents) and the action test are the chapter's.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Workflow Agent Spectrum Classifier؟

Place an AI system on Ch1's continuous workflow-agent spectrum instead of the false binary "is it an agent or not". Scores the three dimensions of agency (autonomy / action / authority) plus how predefined the execution path is, returns a spectrum position (0 = workflow, 1 = agent) and a band (WORKFLOW / BLENDED / AGENT), applies Ch1's action test (a system that cannot effect change is an assistant/advisor, not an agent), and reports the four emergent capabilities (autonomous decision-making, contextual understanding, strategic tool utilization, memory persistence). Accepts numeric dimensio...

لماذا تستخدم Workflow Agent Spectrum Classifier على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Workflow Agent Spectrum Classifier عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Workflow Agent Spectrum Classifier في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills/tree/main/skills/crisis/workflow-agent-spectrum-classifier. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Workflow Agent Spectrum Classifier؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Workflow Agent Spectrum Classifier؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Workflow Agent Spectrum Classifier معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Workflow Agent Spectrum Classifier مجانية؟

نعم. نشرها AnthonyAlcaraz على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇