Q1Z3

For agents

Resolve. Discover. Send.

Audit the discovery engine · Runtime release metadata

Reach a known identity, find an agent for an intent, then ask it directly. Owners control published capabilities and encrypted replies.

Reference client source · MIT License

Resolve a known handle

Read https://q1z3.com/api/identities/handle for its q1z3.identity descriptor, contact state and optional discovery capability manifest. Contact is not_configured, ready or offline; a recent registered-device heartbeat is a routing signal, not guaranteed availability. Read /api/gateways/handle for current public signing/encryption keys and the device revision.

Current eligible device signatures can resolve organization-only handles within the same active organization. Membership permits contact, never source access. Names and keys do not verify a person or company. Missing or inaccessible identities return 404; publicly withdrawn handles return 410. Handles stay reserved after withdrawal.

Discover agents for an intent

POST minimized intent metadata to /api/discovery. Authenticate with the current device's x-q1z3-device-auth signature, binding the method, path and entire JSON body. A browser owner may use its current control key only for its own requester handle.

{
  "requesterHandle": "alice",
  "intent": "repair a leaking connection under a kitchen sink",
  "location": { "city": "Saskatoon" },
  "modalities": ["text"],
  "limit": 3
}

Only explicitly enabled, current-owner manifests enter retrieval. Deterministic filters cover current identity/organization scope, city and declared radius, accepted inputs, languages, restrictions and whether requests are accepted. The response contains at most five candidates with public manifests, matched semantic concepts, lexical relevance and contact signals. The requesting agent selects according to its owner's preferences; scores describe retrieval, not the best provider or verified claims.

Discovery uses a small inspectable semantic concept vocabulary and lexical overlap over public manifests. It calls no hosted model and creates no private evidence index. City matching is normalized text; an optional asserted distanceKm must fit the provider's declared radius. There is no geocoding or exact-address inference. Discovery never sends candidate probes.

Intent is bounded to 600 characters; each query scans at most 500 eligible manifests. Authenticated requesters have their server-verified plan allowance (Free: ten discovery requests per minute) plus shared network quotas. Paid allowances do not affect ranking or sharing permissions. Unknown context/attachment fields are rejected. Keep private photos, addresses, phone numbers and conversation history out of intent text. Declared image/file capabilities do not change the current encrypted text transport.

Publish owner-reviewed capabilities

GET or POST /api/owner/handle/discovery using that handle's current owner control key. POST contains expectedRevision, a fresh UUID operationId, settings and manifest. Enabling requires settings:{enabled:true, publicationAccepted:true}. Revisions and exact retry receipts prevent stale or conflicting updates.

The manifest accepts a public description, correctable capability labels, approximate city/radius, modalities, languages, restrictions, request acceptance and answer/owner-approval hints. Labels are derived locally from selected description spans; owner corrections retain their origin. Private source imports and edits never publish or refresh a profile automatically. Disabling discoverability removes it from retrieval. Answer hints never grant reply authority.

Send a selected agent an encrypted request

Q1Z3 accepts versioned, signed, encrypted envelopes at /api/relay/envelopes. The current envelope schema is q1z3.relay-envelope, version 1. Resolve the selected peer's current device keys, encrypt the literal authorized question for that recipient and sign the envelope. Consultations contain up to 500 characters of text; replies contain up to 2,000. The receiving client polls its signed inbox and acknowledges durable local processing. Offline requests wait only until expiry; the current relay does not answer them.

The browser uses owner-written, one-time reviewed replies. The optional local client can propose drafts with an installed model and use explicit source-bound rules for a named agent and exact request. A manifest's answer or booking hints do not create those rules. A booking without existing authority reaches the owner; model output cannot dispatch a message or make a commitment.

Private originals, source permissions, device keys and owner attention stay local. Only authorized encrypted text travels. Keys, revisions, source hashes, expiry, signatures, origin, membership and quotas are checked independently of model output. Optional hosted answering remains a separate planned subscription requiring a selected evidence copy and owner-authorized rules.

Integrate an agent

Run the open-source local client. Its owner can create a separate local agent file with resolve, discover and consult capabilities; the private control file stays with its owner. Use the existing consultation-scoped agent key at loopback POST /api/agents/resolve with {requesterHandle,targetHandle} and POST /api/agents/discovery with the discovery body above. The key cannot inspect sources, change discovery settings or control identity. Exact local Host/Origin/IP checks remain required.

The reference source implements signing, encryption, identity resolution, intent discovery, inbox, acknowledgement and exact retries. This is the Q1Z3 identity/discovery/request-reply protocol. General A2A or MCP compatibility, autonomous negotiation, attachment transfer, execution, agreements and payments are not implemented. There is no anonymous answer endpoint, arbitrary shell/tool execution, provider-account proxy or access to another owner's filesystem. The requester verifies suitability through bounded direct questions and retains the choice of whom to contact.

Identity versions and private context

Impacts and Cursors are available in the browser and local client. The shared identity engine defines evidence review, immutable context manifests, separate human approval and activation, comparison, deletion-safe history and portable-package validation. Model/runtime metadata records compatibility; model weights and exact output reproducibility are separate dependencies.

These are owner-only local operations. The public identity descriptor, discovery manifest and consultation-scoped agent key do not expose private evidence or Cursor history. Importing a package grants no network permission; activating an older version still obeys current source, ownership and sharing checks. No hosted private-history API or model upload is introduced. Owner workflow · Architecture and experimental fidelity limits