# xAgent ID - full agent documentation Every agent-facing document on https://xagent.id, concatenated for a single fetch. The install manifest at https://xagent.id/.well-known/xagent-install.json?url= remains the source of truth for commands, versions and grants. Do not reconstruct install commands from prose in this file. --- ## Index (llms.txt) # xAgent ID > Customer-controlled installation and evidence for SEO, AEO, GEO and AGO. ## Start here 1. Installation contract: `/.well-known/xagent-install.json?url=https://example.com`. 2. A2A interfaces and skills: `/.well-known/agent-card.json`. 3. Credentials and stop conditions: `/auth.md`. 4. Canonical installation workflow: `/skill.md`. 5. Quickstart: `/agent-quickstart.md`. The install manifest is the source of truth for version, integrity, host, grants, files, commands and rollback. Do not reconstruct install commands here. ## Payment status - People buy Identity or AInbox by card: `/claim?plan=identity`, `/claim?plan=ainbox`. Agentic and Operate website checkout is not open. - Agents cannot pay by themselves yet (x402, AP2 off); a person pays. ## What the service does xAgent ID connects a customer-owned website Agent to measurement and recommendations: - convert any public HTTPS website into a source-backed, A2A-compatible business Agent Card draft; - audit public SEO, AEO, GEO and AGO readiness; - collect observed crawler reads, fixed-question citations and conversion events; - return evidence-backed improvement work to the website Agent; - verify bounded changes with a customer receipt and an independent public refetch; - retain rollback evidence and keep missing data separate from zero results; - expose A2A, MCP and OpenAPI contracts for implemented operations. ## Authority boundary - Default access is public read only. - Domain ownership must be verified before private website actions. - Site Agent credentials remain in a customer-controlled server, worker, CMS connector or repository Agent. - xAgent ID does not request general source repository or deployment access. - A bounded write requires explicit owner approval, an allowlisted AI-related path and a rollback method. - Installation does not guarantee ranking, citation, recommendation, conversion or revenue lift. - Synthetic and sample outcomes are not reportable evidence. ## Human business contact - Open a company's public xAgent ID profile and use the AInbox handoff form to prepare a business inquiry. - A person must review the message and click Send. An agent cannot send an inquiry automatically or execute tools through this path. - An unclaimed profile is not an official company contact channel. xAgent ID holds submitted inquiries until a domain-verified owner claims that AInbox. - Do not include the prior prompt text or a full referrer URL in a handoff message. ## Audit methodology - Public audit: `GET /api/agent/audit_report?url=https://example.com`; methodology: `/docs/audit-methodology.md`; counter: `GET /api/agent/public_stats` (aggregated only). Schema `agentx-r1-audit-report-v0.2` with `schema_version` and `methodology_url` in every report; weighted pass-rate, not a ranking. ## Public website to Agent Card - `GET /api/card?url=https://example.com`: build a source-backed card from bounded public pages. - `POST /api/card/legal-entity/confirm`: a verified-domain controller binds one exact GLEIF LEI. - Auto-matches are candidates; the `GLEIF LEI record` badge requires confirmation plus current domain and LEI records. - No CMS access; publishing needs owner approval and domain verification. - Candidate only: no certification, ranking, citation, conversion or revenue guarantee. ## Canonical public contracts - Release manifest: `/.well-known/agent-id-release.json` - Release receipt: `/.well-known/agent-id-release-receipt.json` - Public identity: `/.well-known/agent-id.json` - OAuth metadata: `/.well-known/oauth-authorization-server` - OpenAPI: `/agent/openapi.json` - MCP manifest: `/agent/mcp.json`; paste-ready client config in `invocation.mcp_servers` and `invocation.claude_code` - Machine pricing: `/agent/pricing.json` - Human dashboard: `/dashboard` ## Installation sequence 1. Fetch the target-bound install manifest. 2. Run the production preflight with no side effect. 3. Produce a dry-run plan in the actual website project root. 4. Show the owner the exact files, grants and rollback action. 5. Apply only after explicit owner approval. 6. Publish and verify the domain proof. 7. Activate read-only managed inspection if requested. 8. Use a one-time Dashboard pairing link for human review. Stop when the release is not ready, the target host does not match, domain ownership is unverified, owner approval is missing, or refetch does not match the receipt. ## Evidence channels - A1: observed AI crawler requests (customer-authorized logs only); does not prove citation. - A2: observed answers from a fixed prompt set; pending/failed kept separate; does not prove conversion. - B1: observed leads, RFQs, orders, CRM events or attribution surveys; does not prove incrementality. ## Agent calls - Public audit: `POST /api/agent/audit` - A2A audit task: `POST /a2a/v1/message:send` with `A2A-Version: 1.0` - Gemini Enterprise compatibility: `POST /a2a/v0.3/v1/message:send` with `A2A-Version: 0.3` - Private website actions: `POST /api/site_agents/call` with a verified-domain Site Agent Key - Read installation guide: `GET /api/site_agents/install_guide?url=https://example.com` - Read capabilities: `GET /api/agent/capabilities` Use the Agent Card, OpenAPI or installation guide for POST requests. ## Operational workflow registry - Route before modules: `POST /api/agent/workflow_router` (`w1_workflow_router`). Choose the route before running modules. - Review a package: `POST /api/agent/package_review` (`s2_package_review`) for Agent marketplace review. - Validate a skill package: `POST /api/agent/skill_package_validate` (`s1_skill_package_validation`); `validation_does_not_execute_package_code`. - Prepare marketplace evidence: `POST /api/agent/marketplace_submission` (`marketplace_submission_pack`); result is `not_marketplace_approved` until external approval exists. - Read readiness: `GET /api/agent/marketplace_readiness` (`marketplace_readiness_score`). - Record approvals: `POST /api/agent/marketplace_approval_receipts` (`marketplace_approval_receipts`); `approved_only_for_listed_platforms`. - Read billing guidance: `GET /api/agent/billing_guide` (`agent_billing_guide`); `checkout_intent_is_not_payment_confirmation`. Machine-readable Customer SDK contract: - createSiteAgentClient().contentWorkflow: content_workflow_package; content diagnosis, answer-first rewrite. - createSiteAgentClient().contentPublication: content_publication_package. - createSiteAgentClient().promptTestCycle: prompt_test_run_sheet -> prompt_test_results. - createSiteAgentClient().contentPack. - createSiteAgentClient().aiReads: a1_ai_reads; observed server/CDN logs. createSiteAgentClient().a1ReadPackage: a1_read_evidence_package. - createSiteAgentClient().conversions: b1_conversions. createSiteAgentClient().b1ConversionPackage: b1_conversion_evidence_package; not incrementality proof. - createSiteAgentClient().outcomeReport: outcome_report. createSiteAgentClient().outcomePackage: m1_outcome_evidence_package. createSiteAgentClient().outcomeReview. createSiteAgentClient().optimizationCycle: optimization_cycle. - createSiteAgentClient().jobDrafts: job_drafts. createSiteAgentClient().acceptJobDraft: accept_job_draft. createSiteAgentClient().decideJobDraft: decide_job_draft. createSiteAgentClient().draftDecisions: draft_decisions. These helpers do not start implementation work; does not accept drafts automatically. - createSiteAgentClient().monthlyEvidenceLoop. Required request field: url. Optional request fields: audit_url, questions, competitors, engines, content, content_pack, period. - Response fields: ok, action, pack, review, review_gate, repair_pack when blocked or advisory, repair_job_drafts when blocked or advisory, package, tracker, scorecard, dashboard, delivery_summary, steps. - The base sequence is `content_pack -> content_workflow_review -> monthly_package -> monthly_tracker -> monthly_scorecard -> monthly_dashboard`. content_repair_pack; repair_job_drafts; delivery_summary.decision_queue; does not accept or start jobs automatically; review_gate repair_items; not an AI citation claim. ## Google identity boundary The `agt_*` identifier is an xAgent ID portable alias, not Google Agent Identity. Google provisions that identity; xAgent ID only prepares and verifies a binding candidate. Read `/api/agent/google_identity_bridge` for the onboarding plan. A verified Google binding requires authenticated server-side Google API evidence and an issuer-signed receipt. ## Human and legal routes - Product home: `/` - Dashboard: `/dashboard` - Privacy: `/privacy` - Terms: `/terms` - Contact: `/contact` ## Pricing contract XAGENT-PRICING-20261007-v1: Free Check is free; Identity US$29.99/month, AInbox US$49.99/month, Agentic US$99.99/month, Operate US$199.99/month. Agent Skills are coming later, not available; planned slots: Agentic 1, Operate 2. Agent Store additions US$50/month/Agent, no purchase entry. Monitor/Scale: historical. Pricing: /pricing, /agent/pricing.json. --- ## Installation (/agent/install.md) # Agent ID install Agent ID is an Agent-first AEO service. It is not just a score API: it gives external agents and verified website agents a repeatable workflow for audit, content work, publication evidence, AI-read evidence, AI-citation evidence, and outcome reporting. ## External agent - Capabilities: https://xagent.id/api/agent/capabilities - Audit: https://xagent.id/api/agent/audit - Content Pack: https://xagent.id/api/agent/content_pack - Google Cloud alignment: https://xagent.id/api/agent/google_alignment - Trust and commerce stack: https://xagent.id/api/agent/trust_stack ## Executable content workflow - C1 content_optimization_plan: turn page content and buyer questions into diagnosis, answer coverage, answer-first rewrite, Schema guidance, community citation plan, citation-gap matrix, and a 30-day plan. - C4 content_workflow_package: package the C1 work as Agent-readable files for an owner, a managed-service operator, or an implementation connector. - C2 prompt_test_run_sheet: create fixed prompts and engines for month-to-month AEO/GEO measurement. - C3 prompt_test_results: import completed real AI answer rows only after a human, website agent, or authorized evaluator supplies observed results. - M8 content_publication_package: record which generated outputs were actually published, verified, rejected, or still pending. - M1 outcome_report: combine observed G1/G2, A1, A2, B1, SDK, and job evidence into a report without claiming causality. Boundary: this workflow does not fabricate AI citations, does not claim generated content is already cited, and does not guarantee ranking, citation, conversion, or business lift. ## Website SDK - Register: https://xagent.id/api/site_agents/register - Verify domain ownership: https://xagent.id/api/site_agents/verify_domain - Action catalog: https://xagent.id/api/site_agents/actions - Private call: https://xagent.id/api/site_agents/call - SDK: https://xagent.id/templates/aeo-site-sdk.js Keep the Site Agent Key in a backend, CMS connector, Cloudflare Worker, or website-agent runtime. Do not put the key in browser JavaScript or public files. ## Recommended server-side helper sequence - siteEvents: upload authenticated connector-observed page signals from a backend, CMS connector, Worker, or website Agent runtime. - siteSignalPackage: package observed SDK/connector page signals as S1 evidence without claiming AI read, citation, ranking, conversion, or causality. - contentPack: generate one Agent-ready content pack. - promptTestCycle: create C2, then import C3 only with real answer evidence. - contentPublication: prove what was published. - aiReads: upload observed Cloudflare, CDN, nginx, or server AI crawler rows. - conversions: upload observed lead, RFQ, order, CRM, or survey events. - monthlyEvidenceLoop: run content_pack -> content_workflow_review -> [content_repair_pack + job_drafts when C5 blocks release or citability findings need advisory repair] -> monthly_package -> monthly_tracker -> monthly_scorecard -> monthly_dashboard. - optimizationCycle: read O1 insights, G3 verification plan, audit-check job drafts, and M1 context without mutating the website. ## Identity - Agent Card: https://xagent.id/.well-known/agent-card.json - Passport: https://xagent.id/api/agent/passport - Proof graph: https://xagent.id/api/agent/proof_graph - Public ID: https://xagent.id/agentx/id/agt_0000 --- ## Credentials and stop conditions (/auth.md) # Agent ID authorization This guide separates work an Agent may prepare from decisions that require the website owner. ## Agent-safe work - Read the public Agent Card: https://xagent.id/.well-known/agent-card.json - Read the installation contract: https://xagent.id/api/site_agents/install_guide - Inspect public website files and prepare a local dry-run plan. - Report evidence, missing signals, and proposed changes without changing the website. ## Human authorization required - The website owner must approve domain ownership verification. - The website owner must explicitly approve file writes, deployment, secret creation, or any change to production. - An Agent must not make unattended ownership claims or represent an unverified domain. ## Credential boundary Site Agent Keys and signing keys belong in the customer's backend, secret manager, CMS connector, or website-Agent runtime. Never put them in browser JavaScript, public files, source control, logs, prompts, or reports. Public inspection does not grant Agent ID permission to modify a customer website. Every proposed write remains subject to customer policy and explicit approval. --- ## Canonical workflow (/skill.md) --- name: twin3-aeo-agent description: Agent-first AEO service for auditing websites, producing installable optimization files, and measuring AI-search outcomes with evidence. --- # twin3 AEO Agent Use this Skill when an Agent needs to evaluate or improve a website for SEO, AEO, GEO, AGO / Agentic Browsing, Agent Discovery, and measurable AI-search outcomes. ## Public workflow 1. Read capabilities: https://xagent.id/api/agent/capabilities 2. Read package review: https://xagent.id/api/agent/package_review or MCP tool `s2_package_review` 3. Validate this Skill package: https://xagent.id/api/agent/skill_package_validate or MCP tool `s1_skill_package_validation` 4. Run or request an audit: https://xagent.id/api/agent/audit 5. Generate a reviewable handoff package: https://xagent.id/api/agent/audit_file_package 6. Generate implementation files: https://xagent.id/api/agent/implementation_bundle 7. Generate content work: https://xagent.id/api/agent/content_optimization_plan 8. Review the generated Content Pack: https://xagent.id/api/agent/content_workflow_review 9. Measure outcomes through A1, A2, B1, G1/G2/G3, and M1 endpoints. ## Website Agent workflow 1. Register the website: https://xagent.id/api/site_agents/register 2. Verify domain ownership: https://xagent.id/api/site_agents/verify_domain 3. Use the issued Site Agent Key for private actions: https://xagent.id/api/site_agents/call 4. Read the action catalog: https://xagent.id/api/site_agents/actions 5. Fetch MCP tool `site_agent_install_descriptor` or private action `install_descriptor`; use its private `browser_sdk_install` payload to install the browser SDK after domain verification. 6. Prefer MCP tool `site_agent_optimization_cycle` or private action `optimization_cycle` when the verified website agent needs the read-only O1 state across SDK evidence, G3, I1 insights, audit-check job drafts, and M1 context. 7. Use MCP tool `site_agent_site_signal_package` or private action `site_signal_package` to package observed SDK or connector page-structure signals. 8. Use MCP tool `site_agent_job_drafts` or private action `job_drafts` to create scoped work proposals from evidence-backed insights, audit checks, or C5 review_gate repair_items. 9. Use MCP tool `site_agent_accept_job_draft` or private action `accept_job_draft` only after explicit owner or website-agent confirmation. 10. Use decision and job governance tools to record accept, defer, reject, job status, repair history, and implementation evidence before reporting outcomes. 11. Prefer MCP tool `site_agent_monthly_evidence_loop` or private action `monthly_evidence_loop` when the verified website agent needs the full Content Pack -> C5 review -> M2 -> M3 -> M4 -> M5 workflow in one call. 12. Run `c5_content_workflow_review` before publishing generated content or claiming AI-search improvement. 13. Read `agent-id.package-review.json` before any marketplace, partner, or scanner review. 14. Read `agent-id.tool-examples.json` before calling tools so credentials, private actions, and response expectations stay explicit. 15. Read `agent-id.source-map.json` to verify which files and endpoints support each capability claim. 16. Read `agent-id.billing-guide.json` before checkout, job funding, or payment proof submission. ## Evidence rules - Deterministic audit checks and imported evidence can be reported as evidence. - Manual AI prompt tests must be imported before they are treated as A2 citation evidence. - This Skill does not fabricate competitor scores, search volume, AI citations, or conversion results. - This Skill does_not_modify_customer_site; website changes require the owner, connector, or implementation partner. - This Skill does_not_guarantee_ai_recommendation or Google ranking. --- ## Quickstart (/agent-quickstart.md) # Agent ID quickstart Use this workflow when a coding Agent is asked to connect a website to Agent ID. 1. Read https://xagent.id/auth.md and follow its ownership and credential boundaries. 2. Read https://xagent.id/skill.md for supported workflows and evidence rules. 3. Ask the website owner for the exact HTTPS URL they control. Confirm the hostname is the intended customer domain before calling https://xagent.id/api/site_agents/install_guide?url=. 4. Verify domain ownership through the returned DNS, .well-known, or HTML challenge before requesting credentials or creating an installation plan. 5. Run the production preflight and installer in dry-run mode. 6. Present the exact `site_url`, detected framework, bounded opportunity report, `verified`, `content_validated`, `symlink_policy`, proposed managed files, excluded side effects, and verification steps to the owner. 7. Stop and obtain explicit human approval before any file write, domain proof, secret creation, deployment, or production action. 8. After approval, apply only the generated Agent ID managed files and verify the public proof URL and its returned agent identity. The local opportunity report checks only whether a fixed list of public integration paths exists. `present` means only that a non-symlink path was accessible; `verified: 0` and `content_validated: false` mean that contents, signatures, domain ownership, and public reachability are not proven. The installer does not upload customer source, read secret files, modify customer content, deploy the website, or create credentials during dry-run. Agent ID does not guarantee ranking, AI citation, recommendation, conversion, or business lift.