agentimus_envelope | filter | ( array $envelope, Registry $registry ): array | The whole assembled discovery.json β add x-<vendor> extension keys. |
agentimus_documents | filter | ( array $docs, Registry $registry ): array | Add a standard document Agentimus can't auto-detect to the documents map. |
agentimus_schema_url | filter | ( string $url ): string | The $schema URL of the discovery document; return '' to omit it. |
agentimus_well_known_routed | filter | ( string[] $names ): string[] | Route a flat /.well-known/<name> you serve so it resolves on every host. |
agentimus_well_known_nested | filter | ( string[] $names ): string[] | Route an exact-match nested /.well-known/<dir>/<file>. |
agentimus_well_known_specs | filter | ( array $specs ): array | Label a /.well-known name with the standard that governs it (name => label). |
agentimus_signed_surfaces | filter | ( string[] $surfaces ): string[] | Which discovery documents your companion signer signs. |
agentimus_mcp | filter | ( array $mcp, array $resources ): array | The advertised MCP descriptor at /.well-known/mcp.json. |
agentimus_mcp_card_server | filter | ( string $id, array $servers ): string | Pin which server the MCP server card describes ('' = auto). |
agentimus_mcp_server_abilities | filter | ( string[] $names ): string[] | The abilities Agentimus exposes over its own MCP server to external agents (default: its nine read-only abilities). Trim to narrow what leaves the site. |
agentimus_bootstrap_mcp_adapter | filter | ( bool $bootstrap ): bool | Veto loading the bundled MCP Adapter library entirely (e.g. a host that manages the adapter itself), independent of the owner's enable_mcp_server setting. |
agentimus_agent_skills | filter | ( array $skills, array $resources ): array | Entries in the Agent Skills index. |
agentimus_post_types | filter | ( string[] $types, string[] $available ): string[] | Which post types are agent-visible (each gets an llms.txt section). |
agentimus_post_type_source | filter | ( string $source, string $post_type ): string | Attribute a post type's llms.txt section (and the Agent preview picker) to your plugin. |
agentimus_changes_max | filter | ( int $max ): int | Size of the change-feed window β newest items it can hold (default 200, max 2000). |
agentimus_tombstone_retain_days | filter | ( int $days ): int | How long a deletion stays in the change feed before it's pruned (default 90). |
agentimus_page_checks | filter | ( array $checks, array $stats, WP_Post $post ): array | Add, retune or drop the per-page "AI Readability" checks shown in the editor. |
agentimus_ai_assist_enabled | filter | ( bool $enabled ): bool | Whether the editor "Draft with AI" / "Fix with AI" assist is offered (default: on when a text-capable AI provider is configured in WordPress). |
agentimus_markdown_source | filter | ( ?string $html, WP_Post $post ): ?string | Supply rendered HTML for page-builder content (null = render normally). |
agentimus_topic_exclude | filter | ( string[] $slugs ): string[] | Topic/category slugs to omit from the llms.txt Topics list and per-page derived topics. |
agentimus_derive_taxonomies | filter | ( string[] $taxonomies, WP_Post $post ): string[] | Which taxonomies auto-fill a post's Topics for AI (default category, post_tag). A vendor adds e.g. product_cat; terms flow through the derive toggle, exclude list and cap. |
agentimus_post_topics | filter | ( string[] $topics, WP_Post $post ): string[] | Add or refine a post's Topics-for-AI list (β JSON-LD keywords + Markdown). Re-normalised after (deduped, capped). |
agentimus_topic_links | filter | ( string[] $urls, string $topic, WP_Post $post ): string[] | Reference URLs (Wikidata, Wikipediaβ¦) for a topic β schema.org about sameAs. Core supplies none (no automatic lookups); you map them. Drop-in example: topic-links-wikidata.php. |
agentimus_topic_suggestions | filter | ( string[] $pool ): string[] | The autocomplete pool in the editor's Topics-for-AI box (default: used topics + tags/categories + Expertise). |
agentimus_topic_meaningful | filter | ( bool $meaningful, string $name, ?object $term ): bool | Whether an auto-derived taxonomy term becomes a topic. Default drops purely-numeric names ("67", stray IDs); return true to keep a number that really is the subject (e.g. "1984"). |
agentimus_llms_full_item_max_bytes | filter | ( int $bytes ): int | Per-item byte cap for the llms-full.txt edition. |
agentimus_llms_full_avg_item_bytes | filter | ( int $bytes ): int | Average item size used to estimate llms-full.txt in the admin. |
agentimus_yield_surface | filter | ( bool $yield, string $surface ): bool | Cede a surface (llms_txt, robots, β¦) to your own producer. |
agentimus_defer_schema | filter | ( bool $active ): bool | Whether to emit the front-end JSON-LD (stand down for an SEO plugin). |
agentimus_schema_for_post | filter | ( array $node, WP_Post $post ): array | Replace a post's JSON-LD node (e.g. a Product). |
agentimus_post_description | filter | ( string $desc, WP_Post $post ): string | The last word on a post's AI description (editor value β excerpt/summary fallback). Feeds the JSON-LD description, the .md lead and the meta tag; re-cleaned (tags stripped, capped) after. |
agentimus_emit_meta_description | filter | ( bool $emit, WP_Post $post ): bool | Whether Agentimus manages the page <meta name="description"> on this request. Return false to leave the <head> to your theme. (Already stands down for a dedicated SEO plugin.) |
agentimus_schema_graph | filter | ( array $graph ): array | Last-chance edit of the entire JSON-LD @graph. |
agentimus_faq_pairs | filter | ( array $pairs, WP_Post $post ): array | Contribute extra FAQPage question/answer pairs. |
agentimus_sitemap | filter | ( array $sitemap ): array | Declare a sitemap Agentimus can't auto-detect. |
agentimus_sitemap_max_urls | filter | ( int $max ): int | Cap the number of URLs in the generated sitemap. |
agentimus_rest_discovery | filter | ( bool $enabled ): bool | Master switch for REST namespace auto-discovery. |
agentimus_rest_namespaces | filter | ( string[] $namespaces ): string[] | REST namespaces to publish in the discovery document. |
agentimus_rest_skip_namespaces | filter | ( string[] $namespaces ): string[] | REST namespaces to exclude from discovery. |
agentimus_discoverable_ability | filter | ( bool $discoverable, string $name, mixed $ability ): bool | Include or exclude a single WP ability. |
agentimus_serve_security_txt | filter | ( bool $serve ): bool | Whether Agentimus generates a security.txt. |
agentimus_security_txt | filter | ( string $body ): string | Edit the final security.txt body. |
agentimus_security_txt_expires_days | filter | ( int $days ): int | The security.txt Expires window, in days. |
agentimus_readiness_checks | filter | ( array $checks, Settings $settings ): array | Add or adjust the admin Discovery Hub readiness checks. |
agentimus_signing_secret_key | filter | ( string $key ): string | Supply the Ed25519 signing key from a constant or vault. |
agentimus_exposed_paths | filter | ( string[] $paths, Settings $settings ): string[] | The sensitive-path list the exposed-files scan probes for. |
agentimus_verified_bot_domains | filter | ( array $map ): array | The verifiable-bot rDNS map (registry token β reverse-DNS domain suffixes), sourced from the owner-editable registry. |
agentimus_verifier_registry | filter | ( array $entries ): array | The effective Verified-bots registry after the owner's edits β the source for both verification methods (rDNS domains and published IP-range files). |
agentimus_trusted_proxies | filter | ( string[] $cidrs ): string[] | Trusted proxy/CDN CIDRs for real-client-IP resolution. A forwarded header is only honoured when the direct peer is a proven proxy β it can't be used to spoof a source IP. |
agentimus_referral_beacon | filter | ( bool $enabled ): bool | Master switch for the opt-in "CDN mode" referral beacon (count AI visits in the browser). |
agentimus_markdown_cache | filter | ( bool $cache ): bool | Enable or disable the per-post .md cache (on by default). |
agentimus_flagged_ip_retention_days | filter | ( int $days ): int | Retention window for the opt-in flagged-IP store (default ~14). |