소스 정보
- 저장소
- tangle-network/agent-runtime
- 최근 소스 활동
- 2026년 8월 4일 08:10
- 감지된 SKILL.md 언어
- 영어
- 스타
- 3
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tangle-network/agent-runtime --skill agent-graphs명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Batch mechanical tool work as one program so loops and intermediates stay out of context.
Choose and compose current runtime, eval, knowledge, and interface APIs before adding wrappers.
Write a custom control policy only when current runtime composition APIs cannot express it.
| name | agent-graphs |
| description | Author runGraph programs from AgentProfiles and versioned prompt directives. |
Use this skill when every role is known before execution and the relationship between roles must be reviewable as data.
The output is an AgentGraph executed by runGraph, not a new coordinator or workflow framework.
| Need | Use |
|---|---|
| Known roles with versioned work and analysis instructions | runGraph |
| A standard fixed shape such as parallel attempts, a chain, or a review panel | fanout, pipeline, verify, or panel |
| A model decides which workers to create while it works | supervise |
| One profile can complete the task directly | Run that profile without composition |
Do not force a dynamic task into a static graph. Do not use a graph when a smaller shipped primitive already expresses the work.
single-agent just because a brief sounds trivial (e.g., "write a one-line file"). If the brief implies roles, observers, or a specific tight budget, author the graph.delegates edges. Do not collapse identical parallel workers into a single node.analyzes edges. Do not omit analysts and attempt to merge their logic into the root's prompt.maxTraversals cap as a global stop condition. To stop after N findings, use deliverable.check or maxTraversals on a delegates edge.An AgentGraph has four required fields: nodes, edges, deliverable, and budget.
runGraph(graph, options) validates graph structure and prompt references before it spends compute.
Each node is { id, profile }, where profile is a complete canonical AgentProfile.
Set profile.name equal to id because Runtime uses that value to select and route the node.
Put the standing role in profile.prompt.systemPrompt and capabilities in the profile's tools, MCP, resources, hooks, and subagents.
Do not rebuild profile materialization in graph code.
A delegation edge is { kind: 'delegates', from, to, directive, maxTraversals? }.
The directive is a registered, versioned PromptHandle, such as promptHandle('delegates/research-brief/v1').
Each spawn and each later steer over the same edge consumes one traversal.
The default cap is defaultEdgeTraversalCap; exhaustion refuses further delegation.
The current graph form has one root and a static set of worker nodes. Every delegation edge starts at the root, and each worker has exactly one incoming delegation edge. Use a new directive version to change a brief instead of adding a second edge to the same worker.
An analysis edge is { kind: 'analyzes', analyst, over, to, directive, maxTraversals? }.
It runs after a listed worker settles and routes findings to one node.
analyst has two supported forms:
options.analysts runs a caller-supplied analysis function.AgentProfile as a tool-equipped analyst.An analyst node has no incoming delegation edge, so the root cannot hand it ordinary work.
An id cannot be both a registered lens and an analyst node.
over lists delegated worker nodes only; Runtime refuses the root and analyst nodes because neither settles as an ordinary worker.
An analysis traversal cap records excess findings as unpropagated; it does not stop the run.
deliverable.check(output) is the independent completion test.
It must accept a genuinely complete result and reject junk.
Put the concrete mission in deliverable.describe; Runtime uses that text as the root's task.
budget is one conserved pool for the full graph.
Set options.perWorker explicitly from the actual executor cost.
Size each allocation from measurements of the actual profile, mounted context, tools, and task shape when those measurements exist.
Do not turn one run's cumulative spend into a universal harness minimum; Runtime enforces the caller's conserved pool, not guessed per-harness floors.
Analyst nodes spend from the same pool and need the same honest accounting as ordinary workers.
single-agent, dynamic-workflow, or a static runGraph. If independent review or parallel workers are requested, use runGraph.AgentProfile. If N parallel instances of a role are requested, create N nodes. Merge roles only if their standing prompts and capabilities are identical.analyzes edges only when findings must be produced independently after a worker settles. Do not skip this if the brief asked for a watcher/reviewer.Use an injected brain plus makeWorkerAgent to exercise graph structure without a network call.
Cover invalid profiles, unknown directives, impossible analysis routes, traversal exhaustion, successful completion, and rejected junk.
Start from the runnable programs in examples/graphs/ rather than creating a second graph runner.
Offline execution proves control flow only. A real task must still use the intended backend, profiles, tools, completion test, and budget before claiming the graph solves that task.
| Field | Meaning |
|---|---|
result.result.kind and reason | Whether a result won and why execution ended |
result.result.spentTotal | Tokens and money, including whether each total is known |
result.ledger | Every delivered, stripped, empty, or unpropagated edge traversal with byte counts |
result.exhaustedEdges | Every edge whose cap was reached, including normal lifecycle endings |
Journal edge events | Durable copies of traversal evidence |
Zero traversals on an expected edge means the graph did not exercise that relationship.
usdKnown: false means cost is missing, not free.
A passing completion test proves only what that test checks.
single-agent because a brief sounds trivial, instead of respecting requested roles.analyzes edges when an observer or reviewer is explicitly requested.deliverable.describe.profile.name different from its id.analyzes.over.result.exhaustedEdges on budget or cancellation endings.Runtime already optimizes one inline skill through improve(profile, { surface: 'skills', skills: { resourceName }, ... }).
Put the exact skill bytes in profile.resources.skills, set profile.resources.failOnError: true, supply disjoint development and final-test tasks, and pass a complete Agent Eval optimization method.
Do not create a graph-specific optimizer, campaign runner, candidate store, or promotion path.
loop-writer when the required dynamic structure still cannot be expressed by supervise or another shipped primitive; pass the exact missing behavior and the completion test.verify before publishing a graph consumer; pass the real backend command, expected result fields, and failure cases.