Install
Integrate
Calltrack after defining your server and tools, before running:
Identify users
Pass anidentify function to resolve a user from the incoming request context. It receives the raw request object and the process environment, and should return a dict with at least a userId key:
async. Return None to skip user attribution for a request.
Options
| Field | Type | Default | Description |
|---|---|---|---|
endpoint | str | https://api.agnost.ai | API endpoint |
disable_input | bool | False | Skip capturing tool input arguments |
disable_output | bool | False | Skip capturing tool output / result |
log_level | str | "INFO" | Log verbosity: DEBUG, INFO, WARNING, ERROR |
identify | Callable | None | Function (request, env) → UserIdentity to resolve user identity per request |
