SDK
The TypeScript SDK wraps the REST surface. Install it and pass an API key.
import { AgenticFy } from "@agenticfy/sdk";
const client = new AgenticFy({ apiKey: process.env.AGENTICFY_API_KEY });
// Assessment + proof
const assessment = await client.assessments.get(id);
const proof = await client.assessments.proof(id);
// Workspace activation setup
const setup = await client.workspaces.setup(workspaceId);
// Integrations + sandboxes
const sandboxes = await client.sandboxes.list();Notes
- ·Never hardcode the API key. Read it from the environment, as above.
- ·Gated calls (commerce, install) return 402 with an upgrade URL when the plan is insufficient.