Skip to main content
Advertek Agent
AGENT RAIL

The physical production layer for agentic commerce.

Agent Rail gives software a structured path across specification, quoting, approval, settlement, production submission, status, and shipment.

Product overview

The core system translates software intent into production-safe specifications. It validates required fields, maps products and finishes to manufacturing rules, returns system-priced quotes, records approvals, routes orders, and normalizes status.

  1. 01

    Specification

    Product, dimensions, stock, finish, artwork, turnaround, and ship-to are validated into a production-safe model.

  2. 02

    Quote

    Pricing logic returns a deterministic quote in CAD, then converts to the requested settlement unit.

  3. 03

    Approval

    Buyer confirms the quote. Exception rules route custom, high-value, or risky jobs to human review.

  4. 04

    Settlement

    A payment request is generated with a memo-matched order id. The payer wallet authorizes the transfer.

  5. 05

    Production

    The order maps to a product code and POSTs to the production API; status events flow back.

Structured production ontology

A valid spec is the foundation of every downstream step. Missing or incompatible fields fail fast instead of becoming production errors.

FieldRule
Product familyMapped to a validated product line.
Finished dimensionsWidth, height, depth, and tolerances.
QuantityInteger unit count.
Material / stockSubstrate, weight, color, and grade.
Print processOffset, digital, wide-format, dye-sub, etc.
ColorColor mode and profile requirements.
FinishesMatte, gloss, soft-touch, foil, emboss, spot UV, etc.
Artwork filesURL, SHA-256, type, bleed/safe rules.
TurnaroundStandard, expedited, rush.
Ship-to destinationAddress, postal code, country, service level.
Compliance fieldsCustoms value, hazardous materials, postal rules.
Exception flagsNew SKU, oversized, manual preflight required.

Deterministic quoting

Prices come from configured production-pricing and spot-rate sources, not from a language model. The quote is bound to a validated spec, carries an expiry, and is always returned in integer minor units.

Agent rule

Agents must never invent prices, SKU codes, settlement amounts, order ids, or success states.

Artwork and preflight controls

Artwork URLs, SHA-256 digests, and file types are validated at intake. Unsupported resolutions, missing bleeds, or mismatched color modes trigger an assisted path.

Payment and settlement

Orders are priced in CAD and converted to a settlement amount. USDC on Solana is the baseline integration. Card, invoice, and bank-transfer settlement are evaluated for enterprise pilots.

PILOTPayment requests are generated server-side; the payer wallet controls the transfer.

Order lifecycle

01

Submitted

Specification and artwork received and validated.

02

Quoted

System returns a deterministic, non-invented price.

03

Approved

Buyer approves and payment settles against the request.

04

In production

Job routed to the appropriate production workflow.

05

Shipped

Tracking and delivery confirmation returned to the caller.

Production routing and exception handling

The system handles three paths. The exception model makes assisted review explicit, rather than implying fully autonomous production.

Clean path

Specification validates and the order follows the automated workflow.

Assisted path

Artwork, engineering, compliance, capacity, or commercial rules require named human review.

Rejected path

The system returns structured failure reasons and next actions.

Security and approval controls

  • Zod validation at every trust boundary
  • API-key auth with per-IP rate limiting
  • Bigint money in integer minor units only
  • Webhook signature verification hooks
  • Secret separation between web tier and treasury worker
  • Audit logs and structured error responses

Current product status

FeatureStatusNotes
Catalog endpointPILOTPublic catalog returns configured product lines and the POD price list.
Quote endpointPILOTReal-time quote validates the spec and returns a priced response; production pricing config is deployment-gated.
CAD pricing sourceDEMOProduction CAD pricing client is used only when ADVERTEK_PRICING_API_URL is set; otherwise falls back to inspection mocks.
CAD-to-USDC spot-rate sourceDEMOLive spot-rate client is used only when SPOT_RATE_API_URL is set; otherwise returns a fixed inspection value.
MCP endpointPILOTMCP-over-HTTP endpoint is available behind API-key auth; underlying pricing follows deployment config.
create_order toolPILOTOrder intake validates, prices, persists, and mints a payable request; production submission is gated by config.
Payment request generationPILOTUSDC settlement instructions are computed server-side; the wallet controls the transfer.
Solana transfer confirmationDEMOConfirmation polling and memo parsing are implemented; mainnet end-to-end verification is pending.
QuickNode webhook verificationPLANNEDWebhook handler is stubbed; signature verification and production stream are not yet verified.
Order persistencePILOTOrders and status events are stored in the configured Postgres backend.
Advertek production API submissionPILOTFulfillment order builder maps product lines and POSTs to the production API when credentials are configured.
Production status webhooksPILOTAdvertek status mapping and outbound webhooks are implemented; production event stream is pilot-gated.
Treasury sweepPLANNEDSweep worker is available for deployment but not wired into the public web tier.
OKX conversion and reconciliationPLANNEDOKX deposit, conversion, and fiat allocation logic is implemented in the treasury worker; not production-verified.

Roadmap

Phase 1

Verify catalog, specification, quote, and demo flows.

Phase 2

Complete a controlled end-to-end pilot with human exception review.

Phase 3

Add repeat ordering, webhooks, enterprise controls, and measured service levels.

Phase 4

Add qualified production endpoints after repeat demand and routing data exist.

Request pilot access

Tell us what your agent or platform needs to produce. We will assess product fit, workflow, volume, integration, and pilot scope.

Request Agent Rail Access