Nexus writes events to PostgreSQL and optionally triggers a follow-up endpoint after root-chain completion.Documentation Index
Fetch the complete documentation index at: https://docs.trynexus.io/llms.txt
Use this file to discover all available pages before exploring further.
Database URL
You can set the DB URL in two common ways:- pass
db_urldirectly toNexusClient/LangHandler - rely on library config helpers (
get_db_url()/set_db_url())
Trigger URL
LangChain tracing can call a trigger endpoint after root chain completion or failure:POST {trigger_url}/catch_route_manual
get_trigger_url().
Storage contract
The library expects anagent_logs table with at least:
- UUIDs for
run_id,user_id, and optionalparent_run_id - text for
trace_id,event_type, andname - JSONB fields for
inputandoutput - nullable text for
error
Security guidance
- rotate credentials regularly
- use least-privilege DB roles
- separate dev and prod storage backends