Agently runtime

From AgentEra/Agently-Skills · View interactive version

Agently runtime is an AI agent skill from the GitHub repository AgentEra/Agently-Skills. Use for Agently runtime extensions: AgentExecution plugins and final review/artifact policies, Actions and MCP, Shell/BashExecutor and PowerShell permissions, ExecutionResource lifecycle, TaskWorkspace, RecordStore, auto_func and KeyWaiter, FastAPIHelper, or optional DevTools observation.

How to use this skill

Skill file

Agently Runtime

First use: read-only version check

Once per conversation across this package, read only sources from the sibling

skill-root .agently-skills-ui.json. Use only records for the official repository

with valid Git tree hashes and skills actually installed. With an already permitted

network tool, make at most one anonymous GET to

https://api.github.com/repos/AgentEra/Agently-Skills/contents/skills?ref=main.

Compare each installed skill's recorded tree with its directory sha; reuse

this result across skills and resumed context. Without usable records, skip the

request. Use a short timeout and bounded response when supported (6 s / 64 KB);

if unavailable or malformed, skip. Do not load or execute remote skill bodies.

Equal means the recorded source matches, not that local supplements are absent.

On a difference, briefly ask once whether to update or keep the current version;

a different hash alone does not prove a development checkout is older. Continue

using the installed version until explicitly approved. If declined, do not ask

again in this conversation. Missing records, offline access, failure or extra

permission requirements mean unknown: skip without retry or blocking the task.

Stay silent on a match; mention unknown only if relevant or asked. Never install

a checker, write a check cache, schedule work, obtain credentials or request extra

permissions for this check. Preserve local changes when an update is approved.

Use this Skill after the request or workflow owner is known. Use

agently-triggerflow when branching, concurrency, pause/resume, retry, or

multi-stage progression must remain visible in the execution graph. Use

agently-stage only for process-local lifetime and sync/async bridging.

Read by Need

artifact/review, or declared Agent capabilities:

agent-execution.md.

evidence: actions-runtime.md.

browsers/databases, Shell/BashExecutor, PowerShell, offline/online/host

profiles, approval, and streaming process I/O:

actions-execution-resource.md.

helpers-and-services.md.

devtools.md.

devtools-review.md. Requires DevTools 0.2; check the API

capability before using its writeback steps.

context-and-skills.md.

Owner Boundaries

| Owner | Responsibility |

|---|---|

| ActionRuntime | Model-callable operation schema, planning/dispatch, policy, and Action results. |

| ExecutionResource | Lifecycle of live clients, sandboxes, processes, browsers, databases, and MCP sessions. |

| TaskWorkspace | One task's contained files, generated artifacts, readback, identity, and promotion. |

| RecordStore | Durable records, links, retrieval, RuntimeEvents, checkpoints, snapshots, leases, and durable refs. |

| TaskContext / ContextReader | Task information bindings and consumer-bound progressive disclosure. |

| SkillLibrary | Installed immutable Skill revisions and resource reads; never execution permission. |

| AgentExecution | One run's replaceable producer, task-scoped bindings, context, control, terminal policies, result and streams. |

Do not collapse these into a generic Workspace or runtime manager. File space

is not record storage; records are not model-hot context; a Skill package is

not an executor or permission grant.

Runtime Rules

use_tool(s) names are compatibility surfaces.

authorization, and policy before dispatch; require recorded Action evidence

for claimed side effects.

browser, install, file-write, or MCP capabilities merely because an

AgentTask exists.

RecordStore for durable records and recovery. Keep large bodies cold behind

refs until an explicit consumer reads them.

MCP, ExecutionResources, script authorization, and side-effect proof remain

explicit host-owned bindings.

unrelated new request. A completed revision is immutable; explicit producer

rework advances the same execution while old result readers retain their

revision. See the execution contract above.

create_execution(...). Final .validate(handler) is a hard output gate;

.review(..., on_fail="warn" | "block") is a soft assessment with an explicit

terminal policy. Review does not silently rework; rework belongs to the

producer. .artifact(...) requires verified TaskWorkspace readback.

execution evidence, verification, and replan. create_task_loop(...) is a

compatibility spelling, not the recommended surface. Stable application

orchestration belongs to TriggerFlow.

resources through their provider/resolver during recovery.

not turn every observation into a durable event archive.

routing, authorization, workflow lifecycle, semantic acceptance, or retry.

Fail Closed

Reject unknown Skill revisions, resource refs, Action ids, selection keys,

context block keys, recovery providers, and external-resume identities. Offer

models one short host-issued selection key, validate it against the offered

set, then reconstruct canonical records in host code.

Do not use keyword or regex matching as the semantic owner for intent, Skill

relevance, route choice, evidence usefulness, or output quality. Do not fake

model-owned success with canned outputs or deterministic business mappings.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.