StackFactor SDK
The official Node.js client library for the StackFactor API — build, automate, and extend StackFactor from any JavaScript application.
Overview
The StackFactor SDK is a free, open Node.js client library that lets any developer integrate with the StackFactor API. Use it to read and write skills, roles, learning content, assessments, and more — directly from your own scripts, services, or agents.
It is the same library that powers our official agents and the open-source agent template, so anything our agents can do, you can do too.
Install the SDK
GET STARTEDAdd @stackfactor/client-api to any Node.js 18+ project using your preferred package manager.
Authenticate
CONNECTProvide your StackFactor API credentials via environment variables. The SDK reads them from process.env using dotenv.
STACKFACTOR_API_KEY=your-api-key
Make Your First Call
BUILDImport the client and start interacting with the StackFactor API from your application.
What You Can Build
USE CASESThe StackFactor SDK is published on npm and free for anyone to use. Build integrations on your terms — no vendor lock-in.
Need Help Integrating?
Our team can help you design and ship custom integrations with the StackFactor SDK for your specific use case.
Schedule a Call