
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@getcolter/sdk
Advanced tools
Official Colter SDK for Node.js — check if AI agents can shop your store
Official Node.js SDK for Colter.
It supports:
/api/v1/*): check, results, shares (revocable share links + PDF).verify, replay, diff, export.npm install @getcolter/sdk
import { ColterClient } from '@getcolter/sdk';
const client = new ColterClient();
const result = await client.check('example-store.com');
console.log(result.verdict); // "AGENT-READY" | "PARTIALLY AGENT-READY" | "NOT AGENT-READY"
console.log(result.agent_ready); // true if any protocol detected
console.log(result.protocols.ucp); // { detected: true, endpoint: "/.well-known/ucp", ... }
console.log(result.protocols.acp); // { detected: false, error: "...", ... }
import { ColterClient } from "@getcolter/sdk";
const client = new ColterClient();
const share = await client.createShare({
result_id: "00000000-0000-0000-0000-000000000000",
brand: "Acme Agency",
whitelabel: true,
client_friendly: true,
expires_in_days: 30,
});
console.log(share.url); // https://agenticcom.ai/s/<token>
import { ColterCLI } from "@getcolter/sdk";
const cli = new ColterCLI(); // requires `colter` on PATH (or set COLTER_PATH)
const result = await cli.check("example.com");
const { pack } = await cli.verify("example.com", { throwOnFail: false });
// Custom base URL (for self-hosted or staging)
const client = new ColterClient({
baseUrl: 'https://staging.agenticcom.ai',
});
new ColterClient(options?)Creates a new Colter API client.
| Option | Type | Default | Description |
|---|---|---|---|
baseUrl | string | https://agenticcom.ai | API base URL |
client.check(url): Promise<CheckResult>Runs an agent-readiness check against the given store URL. The URL can be a bare domain (e.g. "example.com") or include a scheme.
Throws ColterError for HTTP errors (400, 422, 429, 5xx).
client.getResult(id): Promise<CheckResult>Fetch a stored result by id.
client.getResultPdf(id, opts?): Promise<ArrayBuffer>Download a PDF for a stored result.
client.createShare(req): Promise<ShareCreateResponse>Create a revocable share token for a result.
client.resolveShare(token): Promise<ShareResolveResponse>Resolve a share token to the result plus share metadata.
client.getSharePdf(token): Promise<ArrayBuffer>Download the branded PDF for a share token.
client.revokeShare(token, revokeToken): Promise<{ ok: true; revoked: true }>Revoke a share token.
client.lensTraffic({ siteId, period? }): Promise<LensTrafficResponse>Fetch Lens traffic analytics. The response includes agent/path/product buckets plus optional by_source and capture metadata that tells you whether the site is using full edge/log capture or partial beacon capture.
import { ColterClient, ColterError } from '@getcolter/sdk';
try {
const result = await client.check('example.com');
} catch (err) {
if (err instanceof ColterError) {
console.error(`Status ${err.statusCode}: ${err.message}`);
if (err.retryAfter) {
console.error(`Retry in ${err.retryAfter}s`);
}
}
}
All response types are exported:
CheckResult — full readiness check responseProtocolStatus — UCP, ACP, MCP detection resultsProtocolCheck — single protocol detectionWebSignals — JSON-LD, sitemap, robots.txt, OG tagsStoreStatus — platform, product count, detectabilityCoverageStatus — Google and OpenAI ecosystem coveragePlainLanguage — merchant, agency, developer summariesVerdict — "AGENT-READY" | "PARTIALLY AGENT-READY" | "NOT AGENT-READY"ShareCreateRequest, ShareCreateResponse, ShareResolveResponseLensTrafficResponse, LensCaptureProfile, LensSourceBucket, LensTrafficComparison, LensTierfetch)The Colter API is rate limited to 5 requests per minute per IP. When rate limited, check() throws a ColterError with statusCode: 429 and retryAfter set to the number of seconds to wait.
Full documentation at agenticcom.ai/docs.
FAQs
Official Colter SDK for Node.js — check if AI agents can shop your store
We found that @getcolter/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.