Home

Agent

An agent is a directory containing an AGENT.md file with YAML frontmatter and an optional Markdown body providing system instructions. Agents are discovered from two locations: workspace .stencila/agents/ and user config ~/.config/stencila/agents/.

Properties

The Agent type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
alternateNamesAlternate names (aliases) for the item.String*Thing
descriptionA description of the item.StringThing
identifiersAny kind of identifier for any kind of Thing.(PropertyValue | String)*Thing
imagesImages of the item.ImageObject*Thing
nameThe name of the agent.String-
urlThe URL of the item.StringThing
workTypeThe type of CreativeWork (e.g. article, book, software application).CreativeWorkTypeCreativeWork
doiThe work's Digital Object Identifier (https://doi.org/).StringCreativeWork
aboutThe subject matter of the content.ThingVariant*CreativeWork
abstractA short description that summarizes a CreativeWork.Block*CreativeWork
authorsThe authors of the CreativeWork.Author*CreativeWork
provenanceA summary of the provenance of the content within the work.ProvenanceCount*CreativeWork
contributorsA secondary contributor to the CreativeWork.Author*CreativeWork
editorsPeople who edited the CreativeWork.Person*CreativeWork
maintainersThe maintainers of the CreativeWork.(Person | Organization)*CreativeWork
commentsComments about this creative work.Comment*CreativeWork
dateCreatedDate/time of creation.DateCreativeWork
dateReceivedDate/time that work was received.DateCreativeWork
dateAcceptedDate/time of acceptance.DateCreativeWork
dateModifiedDate/time of most recent modification.DateCreativeWork
datePublishedDate of first publication.DateCreativeWork
fundersPeople or organizations that funded the CreativeWork.(Person | Organization)*CreativeWork
fundedByGrants that funded the CreativeWork; reverse of fundedItems.(Grant | MonetaryGrant)*CreativeWork
genreGenre of the creative work, broadcast channel or group.String*CreativeWork
keywordsKeywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.String*CreativeWork
isPartOfAn item or other CreativeWork that this CreativeWork is a part of.CreativeWorkVariantCreativeWork
licensesLicense documents that applies to this content, typically indicated by URL, but may be a CreativeWork itself.(CreativeWorkVariant | String)*CreativeWork
partsElements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.CreativeWorkVariant*CreativeWork
publisherA publisher of the CreativeWork.Person | OrganizationCreativeWork
bibliographyA bibliography of references which may be cited in the work.BibliographyCreativeWork
referencesReferences to other creative works, such as another publication, web page, scholarly article, etc.Reference*CreativeWork
textThe textual content of this creative work.TextCreativeWork
titleThe title of the creative work.Inline*CreativeWork
repositoryURL of the repository where the un-compiled, human readable source of the work is located.StringCreativeWork
pathThe file system path of the source of the work.StringCreativeWork
commitThe commit hash (or similar) of the source of the work.StringCreativeWork
versionThe version of the creative work.String | NumberCreativeWork
whenToUsePositive selection signals describing when this agent should be used.String*-
whenNotToUseNegative selection signals describing when this agent should not be used.String*-
frontmatterFrontmatter containing agent metadata.String-
contentThe content of the agent (the Markdown body providing system instructions).Block*-
modelsModel identifiers for the agent.String*-
providersProvider identifiers for the agent.String*-
modelSizeModel size preference for the agent.String-
reasoningEffortReasoning effort level for the agent.String-
historyThinkingReplayWhether to replay assistant thinking and reasoning in conversation history.String-
truncationPresetNamed preset for tool output truncation limits.String-
compactionTriggerPercentContext usage percentage that triggers proactive history compaction.UnsignedInteger-
trustLevelTrust level controlling how strictly the agent's operations are guarded.String-
allowedSkillsSkill names this agent can use.String*-
allowedToolsTool names available to the agent.String*-
allowedDomainsDomain allowlist for web_fetch.String*-
disallowedDomainsDomain denylist for web_fetch.String*-
enableMcpWhether to enable MCP tools.Boolean-
enableMcpCodemodeWhether to enable MCP codemode orchestration.Boolean-
allowedMcpServersMCP server IDs this agent is allowed to use.String*-
maxTurnsMaximum conversation turns (0 = unlimited).Integer-
toolTimeoutDefault timeout for tool execution in seconds.Integer-
maxToolRoundsMaximum tool-call rounds per user input.Integer-
maxSubagentDepthMaximum subagent nesting depth.Integer-
compatibilityEnvironment requirements for the agent.String-

Related

The Agent type is related to these types:

Bindings

The Agent type is represented in:


This documentation was generated from Agent.yaml by docs_types.rs.

© 2026 Stencila