AG

agently-runtime

Provides tools for managing and extending the Agently agent runtime environment.

Install

mkdir -p .claude/skills/agently-runtime && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11719" && unzip -o skill.zip -d .claude/skills/agently-runtime && rm skill.zip

Installs to .claude/skills/agently-runtime

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when the user wants Agently runtime extension capabilities: Action Runtime, built-in action packages, legacy tool compatibility, MCP access, Execution Environment lifecycle, FastAPIHelper or streaming API exposure, auto-function helpers, KeyWaiter, or optional agently-devtools observation, evaluation, and playground integration.
334 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Develop custom agent actions using `@agent.action_func`
  • Integrate built-in action packages like Search and Browse
  • Manage ExecutionResource lifecycle for dependencies
  • Expose streaming APIs using FastAPIHelper
  • Utilize `agently-devtools` for observation, evaluation, and playground integration
  • Configure Workspace instances for shared task information

How it works

The skill provides interfaces for custom actions, built-in packages, and resource management. It allows for exposing APIs, integrating devtools, and configuring workspaces for agent execution.

Inputs & outputs

You give it
Agent application requiring model-callable capabilities or managed execution
You get back
Agent with extended runtime capabilities, custom actions, or integrated tools

When to use agently-runtime

  • Develop custom agent actions
  • Integrate MCP tools
  • Manage execution resources
  • Expose agent streaming API

About this skill

Agently Runtime

Use this Skill after the request/workflow owner is known. Start with agently when the layer is still undecided, and use agently-triggerflow for visible branching, concurrency, pause/resume, retry, or multi-stage orchestration.

Read Only What the Task Needs

  • Actions, Search/Browse, MCP, approval, Action artifacts, or AgentTask evidence: read references/actions-runtime.md.
  • Action versus ExecutionResource, managed runtimes, sandbox/process/browser/ SQLite resources: read references/actions-execution-resource.md.
  • RuntimeEvent, logs, traces, evaluation, playground, or DevTools: read references/devtools.md.
  • Stage task lifetime, sync/async bridging, loop-neutral handles, settlement, StageStream, Tunnel, or EventEmitter: use agently-stage.
  • TaskContext, ContextReader, TaskWorkspace, RecordStore, SkillLibrary, or the SkillsExecutor compatibility facade: read ../agently/references/context-and-skills.md.

Owner Boundaries

OwnerResponsibility
ActionRuntimeModel-callable operations, schema validation, dispatch, policy, and Action results.
ExecutionResourceLifecycle of live clients, sandboxes, processes, browsers, database connections, and MCP sessions.
TaskWorkspaceOne task's existing files, generated artifacts, path containment, bounded readback, file identity, and verified terminal promotion.
RecordStoreRecords, links, retrieval, RuntimeEvent persistence, checkpoints, snapshots, leases, and durable artifact refs.
TaskContextSole task-information aggregate; revisioned bindings/direct entries, internal derived ContextIndex, and read-handle lifecycle.
ContextReaderTaskContext-created intent-driven, budgeted progressive-disclosure handle for one consumer and phase.
SkillLibraryInstalled immutable real-world Skill revisions and resource reads.
AgentExecutionTask-scoped Skill binding, TaskContext preparation, route selection, execution, and result/stream APIs.

Do not merge these owners into a generic Workspace or runtime manager. File space is not record storage; record storage is not model-hot context; a Skill package is not an executor or permission grant.

Native Action Rules

  • Prefer @agent.action_func and agent.use_actions(...); tool_func, use_tool, use_tools, and agently.builtins.tools are compatibility surfaces.
  • Mount built-in Search/Browse with agent.use_actions(Search(...)) / agent.use_actions(Browse(...)); do not invent enable_search(...).
  • Treat multi-Action package registration as atomic. A partial Search or MCP registration failure must remove batch-created Actions and restore any same-id host registration.
  • Treat model-planned Action arguments as untrusted. Validate against the registered schema, authorization, and policy before dispatch.
  • Treat Action output and Action artifacts as evidence only after the host has recorded the actual call. Model prose claiming a side effect is not Action evidence.
  • Keep permission profiles explicit and narrow. Do not expose shell, filesystem, MCP, browser, install, or network capabilities merely because an AgentTask exists.

File and Storage Rules

  • Select a task file root with agent.use_task_workspace(path, mode=...). Enable model-callable file work with agent.enable_task_workspace_file_actions(...) or agent.enable_coding_agent_actions(...).
  • TaskWorkspace is a file boundary only. Use its read/write/edit/glob/grep/ patch/export methods for task files and artifacts; do not store arbitrary durable records inside it through a hidden database API.
  • Direct .ensure_long_output() delivery uses execution-private TaskWorkspace files for raw segments, immutable accepted units, manifests, and final candidate readback. Those refs are staging evidence, not automatically durable public artifacts. Every accepted write must be completely read back with matching bytes and digest before the manifest advances. Structured units must also pass their slot schema before commit. Model-repairable final validation may add new units without discarding accepted ones, but any manifest/readback/digest/lineage mismatch fails immediately.
  • A required AgentTask terminal deliverable starts as a staged candidate. The verifier receives a complete readback; only acceptance permits digest-pinned atomic promotion to the target and a complete post-promotion readback. Rejection preserves the previous target, and promotion/readback failure blocks delivery.
  • For TaskWorkspace-bound shell execution, resolve relative workdir values inside the injected root. Accept ./child paths and consume an already root-prefixed logical .agently/files/<execution-id> locator exactly once; reject paths outside the root.
  • Select durable records with agent.use_record_store(...) or pass a RecordStore to an explicit TriggerFlow execution. Use it for put, get, retrieve, links, RuntimeEvents, snapshots, checkpoints, leases, and durable artifact refs.
  • Keep process state in memory/logs by default. Enable AgentTask record_store_recovery only when restart-safe recovery is required.
  • Keep ordinary observation in logs/DevTools. Bind RuntimeEvent persistence explicitly; a RecordStore does not become an event archive merely because it is available.
  • Keep large bodies cold behind TaskWorkspace, RecordStore, SkillLibrary, or another attached ContextSource. Put only compact handles, descriptors, bounded previews, status, and lineage facts in execution state and model-hot context. TaskContext's internal ContextIndex narrows reusable candidates; ContextReader obtains exact bodies from the source before delivery.

Real-World Skills

  • Treat standard SKILL.md packages as guidance plus addressable resources. They do not own execution strategy, routing, Action mounting, permissions, or side-effect proof.
  • Install and inspect immutable revisions through SkillLibrary or the thin Agently.skills_executor management facade. Use registered SkillSourceProvider implementations for authorized local or Git sources; pin a Git ref and optional subpath rather than inventing a host checkout helper.
  • Bind optional or required Skills on an AgentExecution with execution.use_skills(...), execution.require_skills(...), or execution.use_skills_packs(...).
  • Let AgentExecution prepare the shared TaskContext and read it for the actual consumer/phase with async_prepare_task_context() and async_read_task_context(...).
  • Provide Actions/MCP/ExecutionResources explicitly. Reading a Skill may inform the model that an operation exists; it never creates or authorizes that operation.
  • When a trusted, exactly bound Skill revision contains an executable script, call agent.bind_skill_script_action(...) only after execution.async_prepare_task_context(). Pass the host-issued binding_id, exact resource path, and SkillScriptAuthorization; the binding registers an ordinary Action and never makes every script automatically callable. For a host-directed run, dispatch bound_action.action_id through agent.action.async_execute_action(...), then read its published artifact path through the same execution's TaskWorkspace.
  • Agently.skills_executor is a compatibility facade for source-backed or local install, configure, inspect, list, resource read, context-pack projection, and the TaskDAG Skill resolver. It is not a plugin route, planner, strategy registry, React loop, capability manager, or execution owner.
  • agent.run_skills_task(...) remains a thin compatibility adapter to an ordinary AgentExecution. New code should create/configure the execution directly.
  • There is no SkillsManager, skill_activation Block, Skills route, single_shot/staged/react Skills strategy family, or configure_skill_capabilities(...) auto-mount path in the current development-line contract.

AgentExecution and AgentTask

  • Use a fresh agent.create_execution() for multi-statement setup. A completed execution is an immutable run record; create another execution for another run.
  • Use agent.create_task(...) / agent.create_task_loop(...) only when the model should own planning, bounded execution, evidence, verification, and replan. They return AgentExecution drafts, not public AgentTask handles.
  • strategy("direct") selects an ordinary model request with the Action loop. strategy("auto") may select AgentTask when structural task signals exist; flat and taskboard explicitly select the corresponding AgentTask shape.
  • Use AgentExecutionResult.get_data() for the business value, get_full_data() for the route/task envelope, get_text() for user-facing text, and get_meta() for process facts.
  • Treat instant as provisional structured progress and delta as printable text. Irreversible work must wait for the final parsed result and host validation.
  • Add non-blocking operator context to a running task with execution.async_add_guidance(...). Use TriggerFlow pause/resume when an answer is required before work can continue.
  • Require actual Action evidence for required side effects. TaskWorkspace readback proves a file fact; it does not prove an unrelated Action call.
  • When a sufficient completed TaskBoard control result provides a draftable artifact manifest without a body, let the dedicated artifact-draft stage materialize it with the same bounded canonical Action/readback evidence ledger. Framework-owned materialization is not semantic remaining_work; the resulting candidate still requires terminal verification and promotion.

TriggerFlow and Recovery

  • Use TriggerFlow execution state for per-execution handoff. flow_data is shared across executions and is not concurrency-safe task memory.
  • Bind snapshot_store, runtime_event_store, and other recovery po

Content truncated.

When not to use it

  • When a parallel action/tool dispatcher is built before checking Action Runtime
  • When hand-rolling tool schema prompts or kwargs planners
  • When prompt-only or React Skills text is accepted as proof of side effects

Limitations

  • Prefer `@agent.action_func` and `agent.use_actions(...)` over compatibility surfaces
  • Built-in web packages should be used through `from agently.builtins.actions import Search, Browse`
  • Treat `agent_task.heartbeat` as observation only, not evidence or stall hiding

How it compares

This skill offers a structured way to extend Agently runtime capabilities with custom actions, built-in tools, and managed execution resources, providing a more integrated development experience than manual tool dispatching.

Compared to similar skills

agently-runtime side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
agently-runtime (this skill)02moReviewAdvanced
crewai46moNo flagsAdvanced
autonomous-agent-patterns46moReviewIntermediate
computer-use-agents106moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

crewai

davila7

Expert in CrewAI - the leading role-based multi-agent framework used by 60% of Fortune 500 companies. Covers agent design with roles and goals, task definition, crew orchestration, process types (sequential, hierarchical, parallel), memory systems, and flows for complex workflows. Essential for building collaborative AI agent teams. Use when: crewai, multi-agent team, agent roles, crew of agents, role-based agents.

459

autonomous-agent-patterns

davila7

Design patterns for building autonomous coding agents. Covers tool integration, permission systems, browser automation, and human-in-the-loop workflows. Use when building AI agents, designing tool APIs, implementing permission systems, or creating autonomous coding assistants.

451

computer-use-agents

davila7

Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives. Critical focus on sandboxing, security, and handling the unique challenges of vision-based control. Use when: computer use, desktop automation agent, screen control AI, vision-based agent, GUI automation.

1040

voice-ai-engine-development

sickn33

Build real-time conversational AI voice engines using async worker pipelines, streaming transcription, LLM agents, and TTS synthesis with interrupt handling and multi-provider support

427

crewai-developer

smallnest

Comprehensive CrewAI framework guide for building collaborative AI agent teams and structured workflows. Use when developing multi-agent systems with CrewAI, creating autonomous AI crews, orchestrating flows, implementing agents with roles and tools, or building production-ready AI automation. Essential for developers building intelligent agent systems, task automation, and complex AI workflows.

213

hummingbot

2025Emma

Hummingbot trading bot framework - automated trading strategies, market making, arbitrage, connectors for crypto exchanges. Use when working with algorithmic trading, crypto trading bots, or exchange integrations.

213

Search skills

Search the agent skills registry