Fernwick Power & Light

How Fernwick works with your agent.

Fernwick takes requests from personal AI agents through Personal Agent Protocol, an open protocol. It takes three steps. Each is shown here as this site serves it.

Your agent finds the utility

Every agent starts at one small file on our site. This is ours, as an agent reads it.

  1. 1Who we are. Our name, and the domain this file was served from.
  2. 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.
  3. 3What it can ask the utility. Your account, meters, plans and bills, and the plan switch.
  4. 4Who it can talk to. Fernwick's own automated account guide.
  5. 5What we don't do through agents. And where an agent tells us what it couldn't do here.
  6. 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]}]}}

The utility says what it can do

The file leads to our API: a short route card of things an agent may ask for, each with one job. Reading opens once you sign in, and a plan switch waits for you.

Open to anyone

No sign-in

  • ask our agentPOST /poppy/conversationsopen

After you sign in

Only the meters you choose

  • accountGET /api/account/accountread only
  • billsGET /api/account/billsread only

Needs your approval

Held until you approve

  • change planPOST /api/account/planyour approval

Your account, our API and the ESPI-shaped usage data all show the meters you chose, and only those.

You approve the plan switch

Ask your agent: Switch my EV charger to the flat rate. It proposes the switch, and Fernwick answers with the exact terms and holds it. Your plan stays as it is until you approve, and then it switches once, from the next bill cycle.

How a change is approvedYou ask your agent for a change. Your agent sends it to Fernwick, which answers with the exact terms and changes nothing. You approve. Your agent sends the same request again with your approval, and Fernwick makes the change once.The switch waits · your plan hasn't changed1 · Ask for a change2 · Switch plan3 · 403 · exact terms4 · Approve5 · Again, with approval6 · Changed, onceYouYour agentFernwickHow a change is approvedYou ask your agent for a change. Your agent sends it to Fernwick, which answers with the exact terms and changes nothing. You approve. Your agent sends the same request again with your approval, and Fernwick makes the change once.The switch waits · your plan hasn't changed1 · Ask for a change2 · Switch plan3 · 403 · exact terms4 · Approve5 · Again, with approval6 · Changed, onceYouYour agentFernwick
Fernwick answers the first request with the terms, not with the switch. The yellow step is yours.

Questions

Do I have to set anything up?
No. Your agent finds Fernwick on its own. To see anything of yours you sign in on this site, on a page we show you, and tick the meters the agent may read.
What can an agent do without me?
Ask our automated account guide what it can help with, and read our plans and prices. Everything about your meters needs your sign-in.
What needs my approval?
A plan switch. You see the meter, the new plan, the day it starts and the estimated difference on last month's bill first, and Fernwick makes the switch once, after you approve. Nothing changes before the next bill cycle.
What is the ESPI shape?
A standard way utilities publish hourly usage and bills, as Atom XML. Ours is ESPI-shaped (modelled on NAESB REQ.21 ESPI), not certified, and read-only: an agent that asks for it reads the same meters you chose, at https://energy-demo.poppylab.dev/espi/1_1/resource.
Does the agent get my password?
No. You sign in on Fernwick's own page. The agent gets the meters and permissions you ticked, and you can disconnect it in your account.
What can't an agent do here?
These are not offered through an agent:
  • Start, stop or move electricity service
  • Pay a bill or set up automatic payments
  • Report an outage or a safety hazard
  • Download usage data as a file
Which agents work here?
Any personal agent that follows Personal Agent Protocol 1.0. Iris, the agent of Poppy Lab, is one you can try now. The addresses an agent needs are under For agents.