SDK installation
The official Node/TypeScript SDK is@withfoundry/sdk. It talks to https://api.withfoundry.ai and uses the standard response envelope.
Install
Configure
Create a client with your API key. Prefer environment variables over hardcoding.Usage
- Memory:
foundry.memory.write(),foundry.memory.search(),foundry.memory.getContext()— see Memory Engine. - Security:
foundry.security.scanRepo(),foundry.security.getScanResult()— see Security Scanner.
{ data, meta } on success; errors are thrown or returned depending on SDK design (check SDK reference).