Your agent finds the utility
Every agent starts at one small file on our site. This is ours, as an agent reads it.
- 1Who we are. Our name, and the domain this file was served from.
- 2Where you sign in. And the permissions an agent can ask you for, each one narrow: to see your account, your hourly usage or your bills, or to propose a plan switch.
- 3What it can ask the utility. Your account, meters, plans and bills, and the plan switch.
- 4Who it can talk to. Fernwick's own automated account guide.
- 5What we don't do through agents. And where an agent tells us what it couldn't do here.
- 6Changes wait for you, and usage comes in a standard shape. A plan switch comes back with its exact terms and is held until you approve it. Hourly usage and bills are also served read-only in the ESPI shape, as Atom XML, to an agent that asks for it.
/.well-known/poppy.jsonas served, with the two long lists folded · the whole file
{"protocol_version": "1.0",1"organization": {"name": "Fernwick Power & Light","domain": "energy-demo.poppylab.dev"},2"auth": {"issuer": "https://energy-demo.poppylab.dev","scopes": { 6 permissions, each described in words },"scope_hints": { for each one: whether it reads or changes something }},3"apis": [{"type": "openapi","url": "https://energy-demo.poppylab.dev/openapi.json","description": "Fictional electricity account: service address, meters and rate plans, monthly bills, and an approval-gated switch between the flat and time-of-use plans"}],4"agent": {"protocols": [{"type": "poppy","endpoint": "https://energy-demo.poppylab.dev/poppy/conversations","description": "Fernwick's deterministic account guide: supported requests, usage this month, the last bill, and an approval-gated rate plan change. Send {\"request\":\"help\"} in data."}]},"web": {},5"tasks": { "endpoint": "https://energy-demo.poppylab.dev/poppy/tasks" },6"extensions": {"operations": [{ "version": "3" }],"poppylab.dev/espi": [{"version": "1","espi_version": "4.0","resource_endpoint": "https://energy-demo.poppylab.dev/espi/1_1/resource","resources": ["UsagePoint","MeterReading","IntervalBlock","ReadingType","LocalTimeParameters","UsageSummary","Authorization","RetailCustomer"],"function_blocks": [1, 3, 4, 5, 12, 13, 15, 16, 51, 53, 54, 55]}]}}