Developers

A few lines — production-grade agents in.

Model APIs use your PAYG Key and separate Credits. Membership OAuth SDKs use membership entitlements. Inspect prices, protocol and current admission per execution profile.

examples/contract-review.ts
import { Acosmi } from "@acosmi/sdk";

const acosmi = new Acosmi({ apiKey: process.env.ACOSMI_KEY });

const agent = await acosmi.agents.run("contract-review", {
  file: pdfBuffer,
  jurisdiction: "CN",
  riskLevel: "high",
});

console.log(agent.findings);
// → [ { clause: "§ 8.3", risk: "high", suggestion: ... } ]
SDK runtimes
  • TypeScript npm i @acosmi/sdk-ts@2.19.6
  • PAYG HTTP curl / Go / Rust per selected profile
  • OpenAI / Anthropic Official SDKs gated by runtime /v1 support
  • OAuth SDK Go / TS / Rust in membership SDK documentation
Live now
Model observations pending
Accepted profiles only
Separate API Credits billing
Invite RewardsNo. 24-A

Refer a friend. Get a weekly-quota reset.

Generate your personal invite link — when a friend signs up and starts using crabcode, you get 1 weekly-quota reset (valid for 30 days, up to 5 per month). After that, earn up to 10% cash back on what they actually spend.

01Send invite linkInstant
02Friend signs up and uses it+1 reset
03Friend keeps spendingUp to 10% back
Reset validityUse within 30 days

Grab the SDK and ship today.