Servicialo

Open protocol for professional service delivery. AI agents can discover, schedule, verify and settle professional services.

Servicialo

The orchestration layer for the AI-agent service economy

An open protocol for scheduling, identity, delivery verification, and financial settlement of professional services.

Open protocol Machine-readable Agent-native MIT license

WebsiteSpecificationGovernanceMCP Servernpm

Leer en Español


The problem

Without a standard protocol, every service platform speaks its own language. An AI agent that wants to schedule a medical appointment, verify a home repair, or settle a legal consultation needs a different integration for each one. Data stays siloed, interoperability requires custom integrations, and collective intelligence about service delivery never forms.

Servicialo is the common protocol. It defines the minimum viable schema so that any AI agent can coordinate any professional service on any compatible platform — with no additional integration.


Protocol primitives

Servicialo defines four coordination primitives. Together they cover the complete value chain of professional service delivery:

PrimitiveWhat it solvesProtocol surface
Schedule coordinationMulti-party availability intersection (provider, client, resource) with exception handling9 lifecycle states, 7 exception flows, 3-variable scheduler
Identity verificationProvider credentials, trust scores, client-payer separationProvider credentials, trust_score, payer_id separation
Financial settlementBilling, invoicing, collection, and revenue sharing with dispute resolutionbilling dimension, Service Order ledger, payment_schedule
Demand signalsAggregate, anonymous operational telemetry across network nodesTelemetry Extension (contribute-to-access model)

Each primitive is specified independently. Implementations adopt what they need.


What is a service

A service is a promise of transformation delivered at a specific time and place.

Unlike a product, a service cannot be stored, resold, or returned. It is consumed the moment it is delivered. That makes it fundamentally different — and that is why it needs its own protocol.

A service originates from three sources:

OriginKey questionExample
From an assetWhat do you have that others need?An empty apartment → temporary lodging
From an advantageWhat do you know that others don't?Physiotherapy certification → sports rehabilitation
From your timeWhat can you do that others won't or can't?Available hours → professional cleaning

The 8 dimensions

Every professional service — from a physiotherapy session to a tax audit — is modeled with the same 8 dimensions:

DimensionWhat it capturesExample
1WhatThe activity or outcome being deliveredPhysiotherapy session, electrical repair
2Who deliversThe service provider, with credentialsCertified physiotherapist, licensed electrician
3Who receivesThe client — with payer explicitly separatedPatient (insurer pays), employee (company pays)
4WhenAgreed time window2026-02-10 from 10:00 to 10:45
5WherePhysical or virtual location, with optional resource_id linking to a physical Resource (3.5b: room, box, chair, equipment)Clinic room 3, home visit, video call
6LifecycleCurrent position in the 9 lifecycle statesCollected → next: Verified
7EvidenceHow delivery is provenGPS + duration + client signature
8BillingFinancial settlement, independent from lifecycle$35 USD · collected · prepaid package

The payer is not always the client. In healthcare the insurer pays. In corporate the employer pays. In education the guardian pays. The protocol explicitly separates client from payer — because in practice they are rarely the same person.


The 9 universal states

Whether it's a massage or an audit, every service transitions through the same lifecycle:

Requested → Scheduled → Confirmed → In Progress → Completed → Documented → Invoiced → Collected → Verified
#StateWhat happens
1RequestedThe client or their agent defines what they need, when, and where
2ScheduledTime, provider, and location are assigned. Calendar is blocked
3ConfirmedBoth parties acknowledge the commitment
4In ProgressCheck-in detected. The service is being delivered
5CompletedThe provider marks delivery as complete
6DocumentedFormal record generated: clinical notes, work report, minutes
7InvoicedTax document issued
8CollectedPayment received and confirmed
9VerifiedThe client confirms — cycle closed

Verified is the closure. The client cannot verify until they have the complete picture: documented evidence, issued invoice, and applied charge. Premature verification forces the client to confirm something that has no formal record yet.


Exceptions are the rule

Exceptions are not edge cases. They occur in 15–30% of appointments. A well-designed service defines what happens when things don't go as planned:

ExceptionTransitionWhat happens
Client no-showConfirmed → CancelledPenalty applied, provider's time freed
Provider no-showConfirmed → Reassigning → ScheduledAutomatic replacement search
CancellationAny pre-delivery → CancelledAgreed cancellation policy applied
Quality disputeCompleted → DisputedBilling frozen, evidence requested
ReschedulingScheduled/Confirmed → Rescheduling → ScheduledSame provider kept if possible
Resource conflictScheduled → Rescheduling → ScheduledResource double-booked or unavailable — reassign resource or reschedule
Partial deliveryIn Progress → PartialDelivered portion documented, invoice adjusted

Service and Service Order

The protocol is built on two objects and their relationship:

Organization
└── Service Order                ← commercial agreement (optional)
    ├── scope                     what services, how many, what type
    ├── pricing                   how value is calculated
    ├── payment schedule          when money moves
    └── Services                 ← atomic delivery units
        └── 8 dimensions each

The Service is the atomic unit of delivery — what actually happened. The Service Order is the commercial agreement that groups services under a scope, pricing model, and payment schedule.

When a Service belongs to an Order, its billing dimension is informational — it records the economic value, but does not generate an invoice. Invoicing is the exclusive responsibility of the Order.

The same structure works across any vertical:

VerticalExampleScopePayments
HealthcarePhysiotherapy plan12 sessionsPer session
ConsultingHourly contract40 hours of legal advisoryMonthly based on usage
ProjectsDue diligence in 3 phasesDefined milestonesPer approved milestone

Evidence by vertical

Each vertical defines what constitutes proof that the service occurred — with no ambiguity, so an algorithm can resolve 80% of disputes without human intervention:

EvidenceDescriptionCapture
Check-in recordGPS timestamp when provider arrivesauto
Check-out recordGPS timestamp when provider leavesauto
Signed clinical notesClinical record signed by provider and patientmanual
Treatment plan adherenceChecklist of treatment plan items completedmanual

Resolution rule: If check-in/out records exist and clinical notes are signed by both parties → service delivered. If notes or signature missing → escalate.

EvidenceDescriptionCapture
Before photoPhoto of initial state with timestamp and GPSmanual
After photoPhoto of final result with timestamp and GPSmanual
Task checklistAgreed tasks marked as completedmanual
Client signatureDigital signature confirming receptionmanual

Resolution rule: If before/after photos exist with valid metadata and checklist is complete → service delivered. If client signature missing → escalate.

EvidenceDescriptionCapture
Meeting minutesRecord of what was discussed and agreedmanual
Document deliveryConfirmation of generated documents deliveredmanual
Time logBillable hours with activity descriptionsmanual

Resolution rule: If minutes exist and logged hours are within agreed range → service delivered. If hours exceed agreement without justification → escalate.

EvidenceDescriptionCapture
Attendance recordConfirmation of student and teacher presenceauto
Material deliveryMaterials or assignments delivered to studentmanual
EvaluationSession evaluation or feedbackmanual

Resolution rule: If attendance recorded and material delivered → service delivered. If evaluation missing and contract requires it → escalate.


Dispute resolution

When there is disagreement, the mechanism does not depend on goodwill, does not require a centralized judge, and an AI agent can execute it with the same confidence as a human:

1. Opening — Either party opens a dispute within the defined window. Billing is frozen automatically.

2. Evidence review — Additional evidence is requested from both parties. The system compares recorded evidence against the contract.

3. Resolution — If provider wins: Collected → Verified. If client wins: Cancelled with balance restored.

80/20. 80% of disputes are resolved automatically by comparing evidence against contract. No human intervention, no discretion, no delay. The remaining 20% escalate to peer arbitrators from the same professional vertical who vote within 48 hours.


MCP Server

Servicialo exposes its tools as an MCP server, enabling AI agents to discover and coordinate professional services natively.

Quickstart

npx -y @servicialo/mcp-server

With that, your agent can already search organizations, check availability, and list services — no credentials required.

Authenticated mode

For the full cycle — schedule, verify delivery, collect payment:

{
  "mcpServers": {
    "servicialo": {
      "command": "npx",
      "args": ["-y", "@servicialo/mcp-server"],
      "env": {
        "SERVICIALO_API_KEY": "your_api_key",
        "SERVICIALO_ORG_ID": "your_org_id"
      }
    }
  }
}

Credentials are obtained by each organization from their Servicialo-compatible platform.

The 6 agent phases — 20 tools

A well-designed agent follows this order:

#PhaseWhat it solvesTools
1DiscoverWhat's availableregistry.search · registry.get_organization · scheduling.check_availability · services.list
2UnderstandService dimensions and rulesservice.get · contract.get
3CommitClient identity and bookingclients.get_or_create · scheduling.book · scheduling.confirm
4ManageState and transitionslifecycle.get_state · lifecycle.transition · scheduling.reschedule · scheduling.cancel
5VerifyProof of deliverydelivery.checkin · delivery.checkout · delivery.record_evidence
6CloseDocumentation and billingdocumentation.create · payments.create_sale · payments.record_payment · payments.get_status

The protocol guarantees that any agent can complete the full cycle with any compatible implementation.

Full examples

Physiotherapy session — Healthcare vertical. GPS check-in, signed clinical notes, bank transfer payment.

Electrical repair — Home vertical. Home visit, before/after photos, task checklist, client signature, cash payment.


The 8 principles

#Principle
1Every service has a lifecycleWhether it's a massage or an audit. The 9 states are universal.
2Delivery must be verifiableIf you can't prove the service happened, it didn't happen. Servicialo defines what constitutes valid evidence so humans and AI agents can trust it.
3The payer is not always the clientIn healthcare the insurer pays. In corporate the employer pays. In education the guardian pays. The protocol explicitly separates client from payer.
4Exceptions are the ruleNo-shows, cancellations, rescheduling, disputes. A well-designed service defines what happens when things don't go as planned.
5A service is a productIt has a name, price, duration, requirements, and expected outcome. Defined this way, any AI agent can discover and coordinate it.
6AI agents are first-class citizensThe protocol is designed so an AI agent can request, verify, and close a service with the same confidence as a human.
7The agreement is separate from deliveryThe Service Order defines what was agreed. The atomic service defines what was delivered. Two distinct objects with two distinct lifecycles.
8Collective intelligence is a protocol commonsEvery node that implements the protocol contributes operational data. The aggregate intelligence improves all nodes — like Waze, where each driver contributes and everyone navigates better. No single implementation owns the network data.

Layered architecture

Adopt only what you need. Core covers the complete service lifecycle. Extensions add capabilities for specialized operations.

Servicialo Core — stable

Everything needed to model a professional service from start to finish.

For any platform where two parties make a delivery commitment and need a verifiable account of what happened — from a psychology practice to a cleaning company with multiple accounts, teams, and high staff turnover.

Includes: lifecycle (9 states) · 8 dimensions · resource management · service orders · exception flows · proof of delivery · MCP protocol (20 tools)

Servicialo/Finance — in design

Payment distribution between provider, organization, and infrastructure — with clear settlement rules.

For platforms that intermediate payments between clients and providers, or that charge commissions.

Servicialo/Disputes — in design

Formal resolution with algorithmic arbitration (~80%) and peer arbitration from the same vertical (~20%).

For platforms with enough volume or where the amount per service makes disputes economically relevant.


Schema

JSON Schemas for automated validation: schema/service.schema.json and schema/service-order.schema.json

# ── SERVICIALO v0.7 ──────────────────
# The 8 dimensions of a service

service:
  id: string
  service_order_id: string              # Optional — reference to parent Order
  type: string                          # Service category
  vertical: string                      # health | legal | home | education | ...
  name: string
  duration_minutes: integer
  visibility: public | unlisted | private  # Discovery level (default: public)

  provider:
    id: string
    credentials: string[]               # Required certifications
    trust_score: number                  # 0-100, computed from history
    organization_id: string

  client:
    id: string
    payer_id: string                    # May differ from client

  schedule:
    requested_at: datetime
    scheduled_for: datetime
    expected_duration: minutes

  location:
    type: in_person | virtual | home_visit
    address: string
    room: string
    resource_id: string               # Optional — reference to Resource (3.5b)
    coordinates:
      lat: number
      lng: number

  lifecycle:
    current_state: enum[9]              # The 9 universal states
    transitions: transition[]
    exceptions: exception[]

  proof:
    checkin: datetime
    checkout: datetime
    actual_duration: minutes
    evidence: evidence[]                # GPS, signature, photos, documents

  billing:                              # Informational if part of an Order
    amount:
      value: number
      currency: string                  # ISO 4217
    payer: reference                    # May differ from client
    status: pending | charged | invoiced | paid | disputed
    charged_at: datetime
    payment_id: reference
    tax_document: reference

Implementations

Any platform can implement Servicialo. To be listed it must model the 8 dimensions, implement the 9 states, handle at least 3 exception flows, and expose an API connectable to the MCP server.

PlatformVerticalCoverageStatus
CoordinaloHealthcare8/8 dimensions · 9/9 states · 6/6 exceptions · 7/7 principlesLive

Building for professional services? Open an issue to list your implementation.


What's in this repository

servicialo/
├── app/                  # servicialo.com — protocol website (Next.js)
├── components/           # Website components
├── examples/             # Agent-server conversations
├── lib/                  # Protocol data
├── packages/
│   └── mcp-server/       # @servicialo/mcp-server — MCP server (npm)
├── schema/               # JSON Schemas for validation
├── PROTOCOL.md           # Full specification
├── GOVERNANCE.md         # Network governance and data policy
└── README.md
VersionStatus
Protocol0.6Stable
@servicialo/mcp-server0.6.0npm

License

MIT — Servicialo is an open protocol. Anyone can implement it.

Related Servers