{"$schema":"https://worldwideagenticweb.org/schemas/agent-network-0.3.schema.json","spec":"open-agentic-web","spec_version":"0.3","schema_version":"open-agentic-web/0.3","name":"meshdesk_civic","title":"MeshDesk — Open Agentic Civic & Local-Services Network","version":"1.0.0","front_man":"coordinator","metadata":{"description":"Standards-compliant 4-agent civic & local-services network executing directly in the browser with deterministic local mode, optional visitor BYO-LLM, federated peer agentic websites, and user-owned action confirmation.","publisher":"MeshDesk Open Agentic Web Project","license":"MIT","homepage":"https://meshdesk.gilbertcv.com","sample_queries":["Open a 160 sq ft sidewalk café permit and check ADA clearance & transit setbacks.","Enroll in ADA paratransit and medical-baseline utility discounts without sharing private IDs.","Verify ADU impact-fee exemption under 750 sq ft and solar net-metering rebate.","Check 48-hour emergency tenant relocation aid and 14-day utility shutoff moratorium."]},"runtime":{"entry_module":"https://meshdesk.gilbertcv.com/runtime/agent-runtime.js","actions_module":"https://meshdesk.gilbertcv.com/runtime/site-actions.js","bridge_url":"https://meshdesk.gilbertcv.com/bridge/action-bridge.html","window_bridge":"window.OpenAgenticWeb","execution_environment":"browser-es-module","supports_deterministic_local":true,"supports_byok":true,"supported_providers":["deterministic","openai","gemini","anthropic","ollama","openai-compatible"]},"endpoints":{"manifest":"https://meshdesk.gilbertcv.com/agent-network.json","well_known_manifest":"https://meshdesk.gilbertcv.com/.well-known/agent-network.json","site_manifest":"https://meshdesk.gilbertcv.com/agent-manifest.json","neuro_san_network":"https://meshdesk.gilbertcv.com/meshdesk_civic.network.json","links":"https://meshdesk.gilbertcv.com/links.json","a2a_agent_card":"https://meshdesk.gilbertcv.com/.well-known/agent-card.json","invoke":"https://meshdesk.gilbertcv.com/api/agent/invoke","peer_discover":"https://meshdesk.gilbertcv.com/api/peer/discover","peer_invoke":"https://meshdesk.gilbertcv.com/api/peer/invoke","validate_manifest":"https://meshdesk.gilbertcv.com/api/manifest/validate","intake_action":"https://meshdesk.gilbertcv.com/api/intake","health":"https://meshdesk.gilbertcv.com/health"},"llm_config":{"model_name":"deterministic-local-v1","byok_recommended_models":{"openai":"gpt-4o-mini","gemini":"gemini-2.5-flash","anthropic":"claude-3-5-haiku-latest","ollama":"qwen2.5:7b","openai-compatible":"alibaba/qwen3.8-flash"},"credential_custody":"browser-only-never-sent-to-peers"},"execution_limits":{"max_steps":12,"max_depth":4,"max_remote_calls":4,"timeout_ms":15000},"max_steps":12,"peer_policy":{"mode":"consent-required","allowed_peers":["https://meshdesk.gilbertcv.com/peers/transit/transit_advisor","https://meshdesk.gilbertcv.com/peers/utilities/utility_connect"],"deny_origins":[],"consent_required_before_contact":true,"note":"Same-site civic peers and user-approved HTTPS Open Agentic Web peers require explicit visitor consent before manifest fetch or invocation."},"sly_data_policy":{"default":"deny-cross-site","allow_fields_by_network":{},"note":"Private context (sly_data) never crosses peer agent-site boundaries by default. Only fields explicitly allowlisted per destination network identity may pass."},"link_labels":{"https://meshdesk.gilbertcv.com/peers/transit/transit_advisor":"Metro Transit Open Agentic Portal","https://meshdesk.gilbertcv.com/peers/utilities/utility_connect":"Civic Utilities & Clean Energy Portal"},"capabilities":["multi_agent_browser_orchestration","civic_service_discovery","statutory_compliance_verification","federated_peer_composition","sly_data_privacy_isolation","user_owned_irreversible_confirmation","json_rpc_2_0_invocation","manifest_conformance_validation"],"actions":[{"name":"search_civic_services","tool_name":"website_search_civic_services","description":"Search grounded municipal services, permits, grants, and accessibility programs.","effect":"read","requires_confirmation":false,"input_schema":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}},{"name":"get_service_details","tool_name":"website_get_service_details","description":"Retrieve exact fees, statutes, and required documents for a civic service ID.","effect":"read","requires_confirmation":false,"input_schema":{"type":"object","properties":{"service_id":{"type":"string"}},"required":["service_id"]}},{"name":"verify_compliance","tool_name":"website_verify_compliance","description":"Evaluate statutory prerequisites, ADA rules, and sly_data redaction guarantees.","effect":"read","requires_confirmation":false,"input_schema":{"type":"object","properties":{"service_ids":{"type":"array","items":{"type":"string"}},"request":{"type":"string"}},"required":["service_ids"]}},{"name":"submit_service_intake","tool_name":"website_submit_service_intake","description":"Submit a verified civic service intake packet and issue a tracked municipal receipt.","effect":"irreversible","requires_confirmation":true,"input_schema":{"type":"object","properties":{"service_id":{"type":"string"},"service_title":{"type":"string"},"applicant_name":{"type":"string"},"summary":{"type":"string"},"confirmed":{"type":"boolean"}},"required":["service_id","applicant_name","confirmed"]}}],"tools":[{"name":"coordinator","role":"Front Agent / Multi-Agent Orchestrator","entry_point":true,"endpoint":"https://meshdesk.gilbertcv.com/api/agent/invoke","capabilities":["intent_triage","multi_agent_delegation","execution_budget_enforcement","federated_peer_routing","json_rpc_trace_emission"],"function":{"description":"Public front agent for MeshDesk. Triages resident, small-business, or external-agent civic requests, delegates to specialist agents and consented peer agentic sites, enforces finite step/depth budgets, and returns a verified action plan.","parameters":{"type":"object","properties":{"request":{"type":"string","description":"Plain-language civic or local-services request."},"peers":{"type":"array","items":{"type":"string"},"description":"Optional list of peer slugs or peer agent-network URLs to consult."},"mode":{"type":"string","enum":["deterministic","byok"],"description":"Execution mode; defaults to deterministic local runtime."}},"required":["request"]},"output_schema":{"type":"object","properties":{"summary":{"type":"string"},"matched_services":{"type":"array"},"peer_findings":{"type":"array"},"compliance":{"type":"object"},"action_plan":{"type":"object"},"trace":{"type":"array"}},"required":["summary","compliance","action_plan"]}},"instructions":"You are the Coordinator front agent for MeshDesk, an Open Agentic Civic & Local-Services Website. Triage every request deterministically, delegate discovery to civic_researcher, pass all factual findings to compliance_verifier before quoting fees or statutory deadlines, and invoke action_synthesizer to produce a clear checklist and optional user-confirmed site intake action. Never forward private sly_data fields or visitor LLM API keys to federated peers.","tools":["civic_researcher","compliance_verifier","action_synthesizer"]},{"name":"civic_researcher","role":"Civic & Local-Services Researcher","entry_point":false,"endpoint":"https://meshdesk.gilbertcv.com/api/agent/invoke","capabilities":["civic_catalog_search","service_fee_lookup","federated_peer_discovery","cross_site_fact_grounding"],"function":{"description":"Searches MeshDesk's grounded municipal catalog (permits, housing, accessibility, small business grants) and consults visitor-approved federated peer agentic sites (Metro Transit and Civic Utilities) without inventing unverified facts.","parameters":{"type":"object","properties":{"query":{"type":"string","description":"Civic topic, permit name, or resident scenario to research."},"peers":{"type":"array","items":{"type":"string"},"description":"Approved federated peer network URLs or symbolic names."}},"required":["query"]},"output_schema":{"type":"object","properties":{"services":{"type":"array"},"peer_findings":{"type":"array"},"grounding_confidence":{"type":"number"}},"required":["services","peer_findings"]}},"instructions":"You are the Civic & Local-Services Researcher. Retrieve facts exclusively from website_search_civic_services, website_get_service_details, and consented federated peer agentic websites. Keep delegated peer prompts under 140 characters and strip all personal identifiers (names, SSNs, phone numbers, account numbers) before contacting any peer.","tools":["website_search_civic_services","website_get_service_details","https://meshdesk.gilbertcv.com/peers/transit/transit_advisor","https://meshdesk.gilbertcv.com/peers/utilities/utility_connect"]},{"name":"compliance_verifier","role":"Statutory & Privacy Compliance Verifier","entry_point":false,"endpoint":"https://meshdesk.gilbertcv.com/api/agent/invoke","capabilities":["statute_prerequisite_audit","fee_exemption_verification","ada_zoning_rule_validation","sly_data_privacy_enforcement"],"function":{"description":"Audits researched civic services against municipal statutes, ADA clearance rules, fee waivers, processing SLAs, and Open Agentic Web private-context (sly_data) redaction boundaries.","parameters":{"type":"object","properties":{"service_ids":{"type":"array","items":{"type":"string"},"description":"Identifiers of matched civic services to verify."},"request":{"type":"string","description":"Original user request for conditional rule evaluation."},"sly_data_keys":{"type":"array","items":{"type":"string"},"description":"Names (never values) of private context keys present in session."}},"required":["service_ids","request"]},"output_schema":{"type":"object","properties":{"status":{"type":"string","enum":["verified","needs_review","blocked"]},"checks":{"type":"array"},"missing_prerequisites":{"type":"array"},"privacy_audit":{"type":"object"}},"required":["status","checks","privacy_audit"]}},"instructions":"You are the Compliance Verifier. Inspect every cited fee, ADA requirement, zoning setback, statute reference, and privacy boundary using website_verify_compliance. Flag conditional rules clearly and confirm zero private sly_data fields crossed untrusted peer origins.","tools":["website_verify_compliance"]},{"name":"action_synthesizer","role":"Action Plan & User-Confirmed Intake Synthesizer","entry_point":false,"endpoint":"https://meshdesk.gilbertcv.com/api/agent/invoke","capabilities":["checklist_generation","fee_and_timeline_rollup","site_action_proposal","irreversible_confirmation_gating"],"function":{"description":"Synthesizes verified research and compliance checks into a step-by-step resident action checklist, fee/SLA rollup, and a proposed website_submit_service_intake payload gated by browser-enforced irreversible confirmation.","parameters":{"type":"object","properties":{"request":{"type":"string","description":"Original resident or agent request."},"services":{"type":"array","items":{"type":"object"},"description":"Grounded service definitions."},"compliance":{"type":"object","description":"Verification output from compliance_verifier."}},"required":["request","services","compliance"]},"output_schema":{"type":"object","properties":{"headline":{"type":"string"},"total_estimated_fees_usd":{"type":"number"},"processing_days_range":{"type":"string"},"steps":{"type":"array"},"required_documents":{"type":"array"},"proposed_action":{"type":"object"}},"required":["headline","steps","proposed_action"]}},"instructions":"You are the Action Synthesizer. Assemble an executable, plain-English action plan using only verified facts. Never execute website_submit_service_intake silently; always emit a structured proposal so the browser runtime displays an explicit confirmation modal to the user.","tools":["website_submit_service_intake"]}]}