@engramviz/sdk provides a fail-open TypeScript client around the application boundary where memory becomes model context.
Install
Create a client
ENGRAM_URL, ENGRAM_TOKEN, and ENGRAM_PROJECT_ID from the environment.
Capture a turn
{ output: string }. Engram records the completed or failed turn envelope and correlates it with all memory event IDs emitted inside the callback.
Turn methods
Delivery behavior
Capture is fail-open by default. Network or collector failures are sent toonError and do not fail the agent turn. Set strict: true only when telemetry delivery is part of a test or CI contract.