Quick path
Install, identity, invoke
Three steps to a successful gateway.invoke() call.
npm
Install for agents & tooling
Knowledge SDK — install as a devDependency only (not a production runtime).
npm i -D @x12i/ai-gateway-docs
Getting started
npm install @x12i/ai-gateway
Every invoke() / invokeChat() needs:
identityfrom the upstream client (do not inventjobId/taskIdin the gateway)config.model(ormodelConfig.model)maxTokenssomewhere in the resolve chain
Then follow the use case invoke-with-identity.