Package Installation
No npm org token is required. The package publishes publicly.
Import
GraphConfig is the Agents wire type exported by the SDK.
TypeScript Configuration
The SDK is written in TypeScript and ships with type definitions. No additional @types packages are needed.
Minimum TypeScript version: 4.7+
Recommended tsconfig.json settings:
Environment Setup
First, create an API key in the Graphy console. Then store it in an environment variable:
Access it in your code:
Never commit API keys to version control. Use environment variables or a secrets manager.
Verify Installation