Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.
Examples
Example 1: A complete agent
This example shows every frontmatter field and a one-line prompt body.
---slug: sql-injectionname: SQL Injectiondescription: SQL built from untrusted input instead of parameterized queries.version: 0.1.0author: your-github-handlenoiseTier: normalprecondition: # optional, omit to always run regex: patterns: - regex: "\\.(query|execute)\\s*\\(" in: ["**/*.{ts,js,py,go,php}"] # prompt: "Run only if this project talks to a SQL database." # optional LLM gatewhere: extensions: [ts, js, py, go, php] excludePatterns: ["**/*.{test,spec}.*"] preFilter: - { regex: "\\.(query|execute)\\s*\\(", label: "raw SQL call" } maxFilesPerBatch: 3 maxTurnsPerBatch: 40validationPrompt: | # optional, replaces the validator's default rules Return 'confirmed' when untrusted input reaches the query as concatenated SQL. Return 'false-positive' when the value is a bound parameter.liveProofRule: | # optional, adds to the live proof rules The response must show data that the injected input selected.liveReproducible: true # optional, false skips live validationreferences: - CWE-89 - OWASP-A03:2021---You are reviewing source code for SQL injection...
Example 2: An agent with no file scope
This example declares no where block, so it has no file scope. Its scope is
the whole repository, and it finds its own targets with Read, Glob, and Grep.
See Agents with no file scope.
---slug: no-authz-anywherename: No Authorization Layer Anywheredescription: The codebase has no authorization check on any route, not one route missing a check.version: 0.1.0author: your-github-handlenoiseTier: normalprecondition: prompt: "Run only if this project exposes at least one HTTP API."references: - CWE-862---You are reviewing this entire repository for the absence of anyauthorization layer...
This example leaves maxTurnsPerBatch out, so it gets 150 turns, the default
for an agent with no file scope. The default is 50 for an agent with a file
scope. A declared value wins over either default, so the agent in example 1
gets the 40 it asks for.
Frontmatter fields
Field
Required
Description
slug
Required
A unique identifier in kebab-case. The -t flag can select the agent by this value.
name
Required
A human-readable name for the agent.
description
Required
A one-line summary. The agentgg agents list command shows it.
version
Optional
A semantic version string, for example 0.1.0. The default is 0.0.1.
author
Optional
The author’s GitHub handle. Official agents use agentgg. The default is no author.
noiseTier
Optional
One of precise, normal, or noisy. See the table below. The default is normal.
precondition
Optional
A gate that decides whether the agent runs on a repository. Omit it to always run.
where
Optional
The files the agent scans, chosen by extension, glob, or a prefilter regex. Declaring neither extensions nor filePatterns leaves the agent with no file scope: its scope is the whole repository. See Targeting.
validationPrompt
Optional
Validation rules for this agent’s own findings. They replace the validator’s default rules whenever --validate classifies a finding this agent reported. See Agent-supplied validation rules. The default is the validator’s own rules.
liveProofRule
Optional
What a live test must show before a finding from this agent counts as reproduced. It adds to the general proof rules and never replaces them. Write one only when the general rules are not enough for the bug class, and state the rule itself. See Test findings against a running app. The default is the general rules only.
liveReproducible
Optional
Set it to false when the agent reports a missing control, such as a missing security header, that no attacker action can show in a browser. Live validation then skips the agent’s findings and records not-reproducible. The default is true.
references
Optional
A list of identifiers for triage, for example CWE-89 or OWASP-A03:2021.
The slug rule
The slug value must match the filename. The filename must be <slug>.md.
noiseTier
The noiseTier field sets the false-positive rate to expect from the agent. It does not change how the agent runs.
Value
What to expect
precise
This tier has few false positives.
normal
This tier has a typical rate of false positives.
noisy
This tier has many false positives. Expect to dismiss some findings.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"AgentGG","colors":{"primary":"#ff8c42","light":"#ffaa6b","dark":"#e0701f"},"logo":{"light":"https://mintcdn.com/agent-gg/98PlcJv2abehqhSS/images/logo-wordmark-light.png?fit=max\u0026auto=format\u0026n=98PlcJv2abehqhSS\u0026q=85\u0026s=fc389901d63eb050a08135dcc324f948","dark":"https://mintcdn.com/agent-gg/98PlcJv2abehqhSS/images/logo-wordmark-dark.png?fit=max\u0026auto=format\u0026n=98PlcJv2abehqhSS\u0026q=85\u0026s=8e0660ccb92abf8efb0bdf1ddadc7a48","href":"/"},"favicon":"https://mintcdn.com/agent-gg/98PlcJv2abehqhSS/images/favicon.png?fit=max\u0026auto=format\u0026n=98PlcJv2abehqhSS\u0026q=85\u0026s=d95023cfb56fd82eeb219c36eefad304","appearance":{"default":"dark"},"background":{"decoration":"grid","color":{"dark":"#0a1018"}},"navbar":{"links":[{"href":"https://github.com/agentgg-dev/agentgg","label":"GitHub"}],"primary":{"type":"button","label":"Open the platform","href":"https://app.agentgg.dev"}},"footer":{"socials":{"github":"https://github.com/agentgg-dev"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agent-gg","hasAudioNarration":false,"actualSubdomain":"agent-gg","customDomains":["docs.agentgg.dev"],"gitSource":{"type":"github","owner":"agentgg-dev","repo":"agentgg-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6acad1f130925e44ebb4fd2b","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"CLI","count":19},{"language":"default","tag":"Get started","count":13},{"language":"default","tag":"Platform","count":11},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Agents","count":6},{"language":"default","tag":"Scanning","count":4},{"language":"default","tag":"Help","count":3},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Concepts","count":2},{"language":"default","tag":"Providers","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:2.5rem}"}]}
{"page":{"pagePath":"agents/anatomy","slug":"/agents/anatomy","pageMetadata":{"title":"Agent anatomy","description":"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.","href":"/agents/anatomy"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`example-1-a-complete-agent`,children:`Example 1: A complete agent`}),`\n`,_jsx(_components.p,{children:`This example shows every frontmatter field and a one-line prompt body.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`---`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`sql-injection`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`SQL Injection`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`SQL built from untrusted input instead of parameterized queries.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1.0`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`author`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`your-github-handle`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`noiseTier`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`normal`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`precondition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional, omit to always run`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` regex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` patterns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`regex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.(query|execute)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`s*`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`(\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"**/*.{ts,js,py,go,php}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # prompt: \"Run only if this project talks to a SQL database.\" # optional LLM gate`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`where`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` extensions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`js`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`py`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`go`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`php`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` excludePatterns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"**/*.{test,spec}.*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` preFilter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`regex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.(query|execute)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`s*`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`(\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"raw SQL call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` maxFilesPerBatch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` maxTurnsPerBatch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`validationPrompt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`|`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # optional, replaces the validator's default rules`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Return 'confirmed' when untrusted input reaches the query as concatenated SQL.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Return 'false-positive' when the value is a bound parameter.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`liveProofRule`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`|`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # optional, adds to the live proof rules`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` The response must show data that the injected input selected.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`liveReproducible`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # optional, false skips live validation`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`references`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`CWE-89`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`OWASP-A03:2021`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`---`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`You are reviewing source code for SQL injection...`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`example-2-an-agent-with-no-file-scope`,children:`Example 2: An agent with no file scope`}),`\n`,_jsxs(_components.p,{children:[`This example declares no `,_jsx(_components.code,{children:`where`}),` block, so it has no file scope. Its scope is\nthe whole repository, and it finds its own targets with Read, Glob, and Grep.\nSee `,_jsx(_components.a,{href:`/agents/targeting#agents-with-no-file-scope`,children:`Agents with no file scope`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`---`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`no-authz-anywhere`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`No Authorization Layer Anywhere`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`The codebase has no authorization check on any route, not one route missing a check.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1.0`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`author`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`your-github-handle`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`noiseTier`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`normal`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`precondition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` prompt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Run only if this project exposes at least one HTTP API.\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`references`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`CWE-862`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`---`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`You are reviewing this entire repository for the absence of any`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`authorization layer...`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This example leaves `,_jsx(_components.code,{children:`maxTurnsPerBatch`}),` out, so it gets 150 turns, the default\nfor an agent with no file scope. The default is 50 for an agent with a file\nscope. A declared value wins over either default, so the agent in example 1\ngets the 40 it asks for.`]}),`\n`,_jsx(Heading,{level:`2`,id:`frontmatter-fields`,children:`Frontmatter fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`slug`})}),_jsx(_components.td,{children:`Required`}),_jsxs(_components.td,{children:[`A unique identifier in kebab-case. The `,_jsx(_components.code,{children:`-t`}),` flag can select the agent by this value.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`A human-readable name for the agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`Required`}),_jsxs(_components.td,{children:[`A one-line summary. The `,_jsx(_components.code,{children:`agentgg agents list`}),` command shows it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`A semantic version string, for example `,_jsx(_components.code,{children:`0.1.0`}),`. The default is `,_jsx(_components.code,{children:`0.0.1`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`author`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`The author’s GitHub handle. Official agents use `,_jsx(_components.code,{children:`agentgg`}),`. The default is no author.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`noiseTier`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`One of `,_jsx(_components.code,{children:`precise`}),`, `,_jsx(_components.code,{children:`normal`}),`, or `,_jsx(_components.code,{children:`noisy`}),`. See the table below. The default is `,_jsx(_components.code,{children:`normal`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`precondition`})}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`A gate that decides whether the agent runs on a repository. Omit it to always run.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`where`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`The files the agent scans, chosen by extension, glob, or a prefilter regex. Declaring neither `,_jsx(_components.code,{children:`extensions`}),` nor `,_jsx(_components.code,{children:`filePatterns`}),` leaves the agent with no file scope: its scope is the whole repository. See `,_jsx(_components.a,{href:`/agents/targeting`,children:`Targeting`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`validationPrompt`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`Validation rules for this agent’s own findings. They replace the validator’s default rules whenever `,_jsx(_components.code,{children:`--validate`}),` classifies a finding this agent reported. See `,_jsx(_components.a,{href:`/cli/guides/validation-and-scope#agent-supplied-validation-rules`,children:`Agent-supplied validation rules`}),`. The default is the validator’s own rules.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`liveProofRule`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`What a live test must show before a finding from this agent counts as reproduced. It adds to the general proof rules and never replaces them. Write one only when the general rules are not enough for the bug class, and state the rule itself. See `,_jsx(_components.a,{href:`/cli/guides/live-validation`,children:`Test findings against a running app`}),`. The default is the general rules only.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`liveReproducible`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`Set it to `,_jsx(_components.code,{children:`false`}),` when the agent reports a missing control, such as a missing security header, that no attacker action can show in a browser. Live validation then skips the agent’s findings and records `,_jsx(_components.code,{children:`not-reproducible`}),`. The default is `,_jsx(_components.code,{children:`true`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`references`})}),_jsx(_components.td,{children:`Optional`}),_jsxs(_components.td,{children:[`A list of identifiers for triage, for example `,_jsx(_components.code,{children:`CWE-89`}),` or `,_jsx(_components.code,{children:`OWASP-A03:2021`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`the-slug-rule`,children:`The slug rule`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`slug`}),` value must match the filename. The filename must be `,_jsx(_components.code,{children:`\u003cslug>.md`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`noisetier`,children:`noiseTier`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`noiseTier`}),` field sets the false-positive rate to expect from the agent. It does not change how the agent runs.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`What to expect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`precise`})}),_jsx(_components.td,{children:`This tier has few false positives.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`normal`})}),_jsx(_components.td,{children:`This tier has a typical rate of false positives.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`noisy`})}),_jsx(_components.td,{children:`This tier has many false positives. Expect to dismiss some findings.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent anatomy","description":"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.","href":"/agents/anatomy"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"Example 1: A complete agent","slug":"example-1-a-complete-agent","depth":3,"children":[]},{"title":"Example 2: An agent with no file scope","slug":"example-2-an-agent-with-no-file-scope","depth":3,"children":[]}]},{"title":"Frontmatter fields","slug":"frontmatter-fields","depth":2,"children":[]},{"title":"The slug rule","slug":"the-slug-rule","depth":2,"children":[]},{"title":"noiseTier","slug":"noisetier","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"agent-gg","siteName":"AgentGG","title":"Agent anatomy - AgentGG","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-11T00:01:58.402Z","originalFileLocation":"agents/anatomy.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AgentGG\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent anatomy - AgentGG\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AgentGG\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentgg.dev/agents/anatomy\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agent-gg.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Agent+anatomy\u0026amp;description=Every+agent+is+one+markdown+file.+This+page+lists+its+frontmatter+fields%2C+the+slug+rule%2C+and+the+noiseTier+values.\u0026amp;theme=7c559b40121ad98d9d95f64a\u0026amp;signature=d42ee21dea4977cd532af9fcddd9a3dd83dff99869259b8aa19ab2a8976e1d34\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Agent anatomy - AgentGG\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agent-gg.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Agent+anatomy\u0026amp;description=Every+agent+is+one+markdown+file.+This+page+lists+its+frontmatter+fields%2C+the+slug+rule%2C+and+the+noiseTier+values.\u0026amp;theme=7c559b40121ad98d9d95f64a\u0026amp;signature=d42ee21dea4977cd532af9fcddd9a3dd83dff99869259b8aa19ab2a8976e1d34\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/agent-gg/H-TXLNoliVMhz_ya/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AgentGG\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff8c42\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentgg.dev/agents/anatomy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/agents/anatomy.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentgg.dev/#organization\",\"name\":\"AgentGG\",\"url\":\"https://docs.agentgg.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agent-gg/98PlcJv2abehqhSS/images/logo-wordmark-light.png?fit=max\u0026auto=format\u0026n=98PlcJv2abehqhSS\u0026q=85\u0026s=fc389901d63eb050a08135dcc324f948\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentgg.dev#website\",\"name\":\"AgentGG\",\"url\":\"https://docs.agentgg.dev\",\"publisher\":{\"@id\":\"https://docs.agentgg.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentgg.dev/agents/anatomy#webpage\",\"url\":\"https://docs.agentgg.dev/agents/anatomy\",\"name\":\"Agent anatomy\",\"description\":\"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.\",\"dateModified\":\"2026-10-11T00:01:58.402Z\",\"isPartOf\":{\"@id\":\"https://docs.agentgg.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentgg.dev/agents/anatomy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentgg.dev/agents/anatomy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.agentgg.dev/agents/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent anatomy\",\"item\":\"https://docs.agentgg.dev/agents/anatomy\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.agentgg.dev/agents/anatomy#article\",\"headline\":\"Agent anatomy\",\"name\":\"Agent anatomy\",\"description\":\"Every agent is one markdown file. This page lists its frontmatter fields, the slug rule, and the noiseTier values.\",\"url\":\"https://docs.agentgg.dev/agents/anatomy\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentgg.dev/agents/anatomy#webpage\"},\"dateModified\":\"2026-10-11T00:01:58.402Z\",\"publisher\":{\"@id\":\"https://docs.agentgg.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentgg.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AgentGG\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AgentGG\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/agents/anatomy.md","siteName":"AgentGG","nav":{"global":null,"anchors":[{"anchor":"Platform","icon":"cloud","pages":[{"title":"Platform","href":"/platform/overview"}]},{"anchor":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/overview"}]},{"anchor":"Agents","icon":"file-code","groups":[{"group":"Get started","pages":[{"title":"Overview","description":"An agent is one markdown file with frontmatter and a prompt. Learn the three parts, the categories, and where agents come from.","href":"/agents/overview"},{"title":"Agent anatomy","href":"/agents/anatomy"},{"title":"Targeting","description":"How an agent decides whether to run on a repository, and which files inside it to review.","href":"/agents/targeting"},{"title":"Create from reports","href":"/agents/create-from-reports"},{"title":"Manage agents","href":"/agents/manage"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/agents/troubleshooting"}]}]}]},"basePath":"","title":"Agent anatomy - AgentGG","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":[],"chunks":[]}