A device is called many things (seed2 = vienna = devchovy), and an inventory that cannot say how to connect makes every agent rediscover user/port/key. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
18 KiB
OpenDevice
OpenDevice is one file an operator keeps about the machines they run: every server, desktop, laptop, phone and tablet, what each one is, where it runs, what it costs, and what anyone on the internet can already see about it. A security dashboard reads it to list the boxes that have no agent yet, a finance tool reads it to put hosting bills that never touch a linked bank account on the books, and a fleet manager reads it instead of a spreadsheet. It is maintained by Profullstack, Inc. as part of the LogicSRC open-standards surface.
Status: 0.1. A description of a file our own tools already read, published so any tool can read the same one.
Slug: opendevice
The problem
An operator's list of machines lives in four places that disagree. The security agent knows the boxes it was installed on. The finance tool knows the charges that hit a linked card, and nothing about the box paid by PayPal or in crypto. The fleet manager knows the machines that enrolled. The spreadsheet knows everything as of the day someone last opened it. Ask "how many machines do we run and what do they cost a month" and each tool answers a different question.
The pieces exist. OpenServer already describes what a hosting provider sells, offer by offer. What is missing is the other side of the sale: the file that says "we bought that offer, it is this box, it is called dev2, it costs 149 a month, and here is what the internet sees when it looks at it", in one shape every tool reads.
Terms
- An operator is whoever runs the machines: a person, a team, a company. Their inventory is the file.
- A device is one machine: a physical server, a virtual one, a desktop, a laptop, a phone, a tablet, a router.
- A profile says what kind of device it is and which extra keys apply:
server,desktop,phone,tabletorother. OpenDesktop, OpenPhone and OpenTablet are the client profiles; theserverprofile is the bought side of an OpenServer offer. - An observer collects public metadata about a device: a script, a scanner, a security daemon, a fleet agent.
- A reader is anything that reads an inventory: a dashboard, a finance tool, an agent.
Topology
OpenDevice (one record per machine, the inventory)
├─ profile: server ──offer──▶ OpenServer (what the provider sells)
│ └─ OpenCPU, OpenMemory, OpenDisk, OpenGPU, OpenBandwidth
├─ profile: desktop = OpenDesktop (desktops, laptops, workstations)
├─ profile: phone = OpenPhone
├─ profile: tablet = OpenTablet
└─ profile: other (routers, single-board computers, appliances)
A server device points at the offer it was bought from. The offer stays the provider's words; the device is the operator's.
The inventory
An operator serves or hands over a JSON document. Published, it lives at /.well-known/opendevice.json on the operator's origin; most inventories are private and are handed to a reader as a file or a URL behind the reader's own credential.
{
"operator": {
"name": "Northwind Labs",
"web": "https://northwind.example",
"profile": "https://northwind.example/.well-known/openprofile.md"
},
"updated": "2026-10-28T06:00:00Z",
"currency": "USD",
"devices": [
{
"id": "app1",
"name": "app1",
"profile": "server",
"role": "shared app box",
"hostnames": ["app1.northwind.example"],
"aliases": ["app1", "seed3"],
"access": [
{ "name": "app1", "user": "deploy", "auth": "key", "key": "SHA256:Qe1vT0pGq8...", "identity_file": "~/.ssh/id_ed25519", "sudo": true, "gives": "shell" },
{ "name": "app1-root", "user": "root", "port": 2202, "auth": "key", "secret": "vault:northwind/app1/ROOT_KEY", "gives": "root" }
],
"notes": "Root ssh only from the office allowlist. Do not restart the database during business hours.",
"addresses": { "ipv4": ["203.0.113.10"], "ipv6": ["2001:db8::10"] },
"provider": {
"name": "Example Racks",
"web": "https://racks.example",
"offer": { "descriptor": "https://racks.example/.well-known/openserver.json", "id": "dedi-epyc-16" },
"account": "order 56499"
},
"location": { "country": "US", "region": "Buffalo, NY" },
"hardware": { "cores": 16, "ram_mb": 131072, "arch": "x86_64", "storage": [{ "type": "nvme", "size_gb": 1920 }] },
"os": { "name": "Ubuntu", "version": "26.04" },
"cost": {
"amount": 149,
"currency": "USD",
"interval": "month",
"payee": "RACKS EXAMPLE",
"paid_with": "paypal",
"scope": "business",
"next_due": "2026-11-17",
"since": "2026-09-17"
},
"status": "active",
"tags": ["prod"],
"observed": {
"at": "2026-10-28T05:00:00Z",
"dns": { "a": ["203.0.113.10"], "aaaa": ["2001:db8::10"] },
"ptr": ["app1.northwind.example"],
"asn": { "number": 64500, "org": "EXAMPLE-RACKS" },
"tls": { "port": 443, "subject": "app1.northwind.example", "issuer": "Let's Encrypt", "not_after": "2027-01-12T00:00:00Z" },
"ssh": { "port": 22, "banner": "SSH-2.0-OpenSSH_10.0", "keys": ["ssh-ed25519 SHA256:e33oVG..."] },
"http": { "status": 200, "server": "nginx" },
"ports": [22, 80, 443]
}
},
{
"id": "ops-phone",
"name": "Work phone",
"profile": "phone",
"vendor": "Google",
"model": "Pixel 9",
"os": { "name": "Android", "version": "17", "patch": "2026-10-05" },
"cost": { "amount": 25, "currency": "USD", "interval": "month", "payee": "CARRIER EXAMPLE", "scope": "business" },
"observed": {
"at": "2026-10-28T05:00:00Z",
"support": { "os_updates_until": "2031-08-01", "source": "https://support.google.com/pixelphone/answer/4457705" },
"latest_patch": "2026-10-05"
}
}
]
}
The smallest valid inventory is one device with a name:
{ "devices": [{ "name": "app1" }] }
The rules, and every one degrades:
devices[].nameis the only required key. A reader lists what it was given and reports the rest as unstated rather than assumed.idis stable for as long as the device is the same machine. It is the dedupe key: a reader that sees the same inventory andidtomorrow updates its row. Absent, the reader derives one fromname. A rebuilt box on a new IP with the same job keeps itsid; a second box doing the same job gets its own.profileisserver,desktop,phone,tabletorother. Absent meansserverwhen the device hashostnamesoraddresses,otherwhen it has neither. Each profile's own keys are in its section below.hostnamesare names that resolve to the device.addressesare its publicipv4andipv6addresses. Private addresses (RFC 1918, CGNAT, link-local, a tailnet's) go underprivateinsideaddressesand are never collected by an observer.aliasesare the other names people and agents call the device: nicknames, old names, role names likeseed2, short ssh names. Plain strings, unique within the inventory and never equal to another device'sid. They need not resolve in DNS. A reader looking a device up by name triesid, thenhostnames, thenaliases, and lists the device under every one, so "which box is seed2" has one answer. A name that moves to another box comes off the old device'saliasesin the same edit.accessis how to get in: a list of entries, each one what anssh_configHostblock says.nameis the short name a client uses (ssh <name>), unique within the inventory;protocolisssh(absent meansssh),mosh,rdp,vnc,httpsor another URI scheme;hostis the address or hostname to dial (absent means the first ofhostnames, thenaddresses);port(absent means the protocol's default);user;authiskey,password,certificate,agentornone;keyis the public key fingerprint the server accepts (SHA256:...) andidentity_filethe client-side path a reader would use;secretis where a password or private key is kept, as a vault reference, a password-manager item or a URL behind the reader's own credential;jumpis thenameof another entry to go through (ProxyJump);sudoistrue,falseornopasswd;givesis what the entry lands in (shell,root, an app, a menu);noteis free text. A reader can write anssh_configfrom thesshentries alone. Credentials never appear inline: no password, private key or token in the file, only the reference insecret, so the same inventory can go to a reader who holds none of them.notesis free text about the device for the people and agents who run it: what is special, what not to touch, what is pending. Never a credential.provideris who the device is rented from.offernames the OpenServer offer it was bought as, by the provider's descriptor URL and the offer'sid, so a reader can show the provider's own specs and price beside the operator's.accountis the operator's own reference at the provider, an order number or a contract, never a credential.locationis where the device is:countryan ISO 3166-1 alpha-2 code,regionin the operator's words. A phone or a laptop states it only if its owner wants it stated; an observer never infers a personal device's location.hardwareuses OpenServer's units unchanged:vcpu,cores,ram_mb,vram_mb,arch, andstorageas a list of{type, size_gb}.osisname,version, and for client profilespatch, the security patch level as the device reports it (YYYY-MM-DD).statusisactive,standby,retiredorunknown. A retired device stays in the file with its cost ended, so last month's books still add up. Absent meansactive.updatedis when the inventory last changed; ISO 8601.currencyis the default for everycostthat states none.- Unknown keys are kept. An operator says more than this document names, and a reader passes it through.
Cost
cost is what the device costs to run. It is optional, and a published inventory may leave it out; the private copy handed to a finance tool keeps it.
amountis a number;currencyan ISO 4217 code;intervalishour,month,yearoronce.- Monthly run rate is
amountpermonth,amount / 12peryear,amount * 730perhour. Aoncecost is a purchase, not a run rate: a reader leaves it out of the monthly figure unlessamortize_monthsis set, when it countsamount / amortize_monthsuntil that many months aftersincehave passed. payeeis the name as it appears on a bank or card statement, so a finance reader can tell when a declared cost is a charge it already sees.paid_withis how it is paid:card,bank,paypal,crypto,invoice, or the operator's own word. A cost paid by PayPal or crypto is the reason this block exists: no bank feed will ever show it.scopeisbusinessorpersonal.categorydefaults tohostingfor servers anddevicesfor client profiles.next_dueis the next billing date;sinceanduntilbound the cost. A cost pastuntilis not counted.groupis an id shared by several devices on one bill. A reader counts a group's cost once, from the device that statesamount; the others stategroupalone.
Rule for finance readers. A declared cost and an observed charge for the same thing are one cost. A reader that matches a statement row to a device (by payee, amount within 10 percent, and the billing interval) shows the observed charge and marks the device's cost as matched; an unmatched declared cost is counted as declared and shown as such. The inventory never states its own total; every reader adds it up.
Public metadata
observed is what an observer saw. The rule that bounds it:
An observer collects only what anyone on the internet could see or look up about the device without its credentials. DNS records, reverse DNS, the routing registry, a TLS certificate or SSH banner the device hands to every connection, an HTTP response header, which of a short list of well-known ports answer, and what the vendor publishes about the model. Never content, never anything behind a login, never a scan of devices the operator does not run.
Every observation carries at, when it was taken. A reader shows stale observations as stale.
| key | what | profiles |
|---|---|---|
dns |
a and aaaa records of each hostname |
server, other |
ptr |
reverse DNS of each public address | server, other |
asn |
number and org of the network announcing each address, from a public routing registry |
server, other |
tls |
port, subject, issuer, not_after of the certificate served |
server, other |
ssh |
port, banner, keys (fingerprints) of the host keys offered |
server, other |
http |
status and server header of / |
server |
ports |
which of 22, 25, 53, 80, 443, 465, 587, 993, 2202, 3000, 5432, 6379, 8080, 8443 accept a connection | server, other |
wellknown |
which of /.well-known/security.txt, openprofile.md, openserver.json, opendevice.json answer 200 |
server |
support |
the vendor's published end of OS or security updates for the model, with source |
desktop, phone, tablet, other |
latest_patch |
the newest security patch level the vendor has published for the model | phone, tablet, desktop |
release |
when the model was first sold, from the vendor | desktop, phone, tablet |
A reader that compares os.patch with observed.latest_patch can say a phone is behind without ever touching it.
Profiles
server
The device is a machine that serves. It may state provider.offer to point at the OpenServer offer it was bought as; a reader that fetches that offer shows the provider's specs and list price beside the operator's hardware and cost, and flags the two disagreeing. role is what the box is for, in the operator's words. agents lists the software watching it, as {name, version, id} (a security daemon, a fleet agent), so a reader can tell which devices have none.
desktop
OpenDesktop: desktops, laptops, mini PCs and workstations. Adds form (desktop, laptop, mini, workstation), vendor, model, serial (optional, and never in a published file) and user, the person it is assigned to, as an OpenProfile.md URL.
phone
OpenPhone: a phone. Adds vendor, model, user and line, true when it carries a paid mobile line whose cost is the device's cost. The phone number is never a key; it is personal data and no reader of this file needs it.
tablet
OpenTablet: a tablet. The same keys as a phone, with cellular as a boolean in place of line.
other
A router, a single-board computer, a NAS, an appliance. Takes the server keys that apply.
Discovery
A reader finds an inventory three ways, in this order:
- A file or URL the operator hands it, with whatever credential the reader already uses for that operator. This is the usual case.
/.well-known/opendevice.jsonon the operator's origin, for an operator that publishes its fleet.<link rel="opendevice" href="...">on the operator's home page, when the file lives somewhere else.
A published inventory is a claim by the operator; that it came from the operator's own origin is the verification. A device's observed block is a claim by the observer, and every reader may observe again.
What is deliberately absent
No credentials. No passwords, private keys, tokens or API secrets, ever. account is an order number, not a login. access says how to connect and where the secret is kept (secret, a reference), and a public key fingerprint is not a secret. A published inventory at /.well-known/opendevice.json leaves out access and notes entirely: they map the way in.
No live stats. Load, memory in use and uptime belong to the fleet agent that reports them every few seconds. The inventory is what the device is, not how it is doing.
No personal tracking. No phone numbers, no location history, no browsing, no app lists. A client device's location is stated by its owner or not at all.
No totals. The inventory states each device's cost and nothing summed; every reader adds it up, so two readers of the same file agree.
Related standards
- OpenServer: the offer a server device was bought as, and its resource blocks OpenCPU, OpenMemory, OpenDisk, OpenGPU, OpenBandwidth.
- OpenThreat: what a scanner found on a device, keyed by the same hostnames.
- OpenProfile.md: the operator, and the person a client device is assigned to.
- OpenFleet: the agents an operator runs. OpenFleet is who works; OpenDevice is what they work on.
Implementations
@profullstack/fleet: read, validate and observe an inventory, add up the monthly run rate, and export the costs for a finance tool. Ships thefleetCLI.- ThreatCrush: the dashboard's fleet list shows every device in the inventory, with or without the daemon, and its monthly cost.
- CoinPay: finances counts declared device costs beside bank charges, matched or declared.
- W3BS Fleet: the device classes it manages are these profiles.
Version history
| Version | Date | Change |
|---|---|---|
| 0.1 | 2026-10-28 | First publication: the inventory, five profiles, the cost block and its matching rule, public metadata and its bound. |
| 0.2 | 2026-11-15 | aliases (the other names a device goes by; lookup order id, hostnames, aliases), access (how to connect, shaped like an ssh_config Host block, credentials by reference only) and notes. Additive; a 0.1 reader keeps them as unknown keys. |
License
The specification text is CC BY 4.0. Serve it, copy it, extend it.