Skip to main content
This page shows the shortest path from installing the SDK to seeing an agent run in Lynx.
Lynx is currently in pilot. To join the pilot or evaluate it for your service, contact partners@hvnn.me.

When to use this

Use this guide when you want to connect a TypeScript service and record one agent run with user input, context, a decision, and an outcome.

Setup

Install the SDK.
You can also use pnpm or Yarn.
Create a tracer.
If you omit endpoint, the SDK sends events to https://api.lynxops.co.

Example

Wrap one agent execution in run(). Events recorded inside the callback are attached to the same run and session.

What you can see in Lynx

After the SDK sends events, Lynx can show:
  • The session timeline
  • The user input that started the run
  • Context loaded by the agent
  • Agent decisions and reasons
  • The final technical and business outcome

Shut down safely

For long-running servers, call shutdown() in your shutdown hook. For serverless handlers, call it before the handler exits if you want a best-effort final flush.
Delivery is background-only by default. Failed event delivery does not throw from your agent workflow.

Next steps