Writes about access, guardrails, masking and the Relay Agent.
- Guides · · 4 min
· · · + · · · · ·· · · · @@@@@@@ · ··@@@@@@@@@ · + + · ·@@@@@@@@@·· · - · · @@@@@@@·· · --------------·---------------- · ··· · · · · ---------- ----------- ·· · ·· · ·· ······ ·--\\ ----------- --------- ----- ·· ·· -------- · · · · ··· · · · · · · ------- · · ------------ ---------------------------- · ------ ··· ·· ·· · · · \\\\ · · · · ·· · ···· · · · ·· · · ·· ·· · · ··· · · · ·· ···· ·· ··· ·· ·· · ·------------- ---------------------------- ·· · · ·· · ··· · ·· ·· · ···· ·· ···· ·· · ··· ··· ···· ··· · · · · · ·· · ·· ·· · ·-------------·· · · · · · ·· · · ·· · · · ··· · ·· · ·· · · ·· ·· · · ·· · · · · · · · ·· ·· · ·· · ·· · · ·· ----------· · ·· ··· · · ·· · · · · · · ····· · · · · · · ·· · · · ···· ·· ·· · ·· · ·· ·//--\\·· · · · · · ··/------------------ ··· · · ------- ------:=-:-:-=-----------\ · ·-- · · ·· · · · ·· · ·· · ·· · ··· · · · ··------ ······-//=--=::\-----\ · ·· ··//--:=::::-:::-:=:--=----------------:-:-:-:-:--:-----=------::-=:--:=:\------=\\- · · · · ·· · · ·· · ·· · ·· ·· · /--------------------:=--:= ··/----::=-:::-::::=-::\\ ·/--/-=:=:::=:::::=:-::=-:-:--:----=:::--:-:-=:-=:::-:--=-=::---:-:-:-=:-:-:---::----==----------------· ·· · ----· · ···· · · --· ///:=-----:--:---::=:::-:==--- -//::=::-=:----:------:--=\---::::---====-:--=-:=--:::::-:=--::-:--:::--:--::::--:--:::---:=:-:::=:-::=:::===--:-::-:--::-==--:-:--:\\---------:-:=----------------=-----:::-:-:::=:-=:=-::-::::=:=:--: -:--:--:-::-:=:::=-:--::::::-=:--:=---::-::=--=:=::-:------=::-::---::--:=--:=-:-=:--:=:-=-:=--::-----=:-:-::=-:=:-::=-:----=::==-==::==--:-=--=:::==--=:::--:----:-:-:::=-::-:=:::-::-=--=--:-:=:==:--- -=-:--=--=--:-:-::---=::=:-__\----::==--::::=-=:=::--=:::--:::__--::---=::=-----:-=:::-:-::--:-:-:=-=-::-:-___:-::::--::---::::--:=--==::-=--::::-::--::-=-=-::=-:-:=-::::::=:--:=:-::=-:________--::::- _________:-:-:-:-:-=:--___/*=+\_______\-=::--=:=:::-::-:--://_++_\\-=-----=-:-:=-:-::=-:/___\-::--:-::=--//**+\\\=-:::::---:-:--:-:--//___\:-:==-:-::::=--:----=-:::-::-:--:-___________/=++***+*_\\=::- ++#*++=**_\_____:---://=*+++###***#**+#______--::-::-:--:=/+#++#+*+\\_:-:==-=___________*+=*=\\\-=::=:-//+*++++*=\=::=-:-:-:=________=+#***\\-=::-::-__:==___=-______________=*+=*=*****++*++*+*#=++\___ **####+#+**+***+____/+**+++++++#**+*++#***=+*____\_:=___//+**#####++#=_______+++*++=**#+**#+****______/++#*++##*++\\\:=//____+++*+=++*#+*#++#\\______#*___+#*__****+++=+*=#==+**+#*#+#+++#*+**#*#+++#+*+ +*##%***++***++*+=*###***+#*%#+#*##**+##***+**+**+=__=+=++##*#%*%##*+*++=++*+##*+*#+#++*++%#*+#+*+*#+++#####*#*#***#*__*+#*+#+****#***#*#*##*#+=***=+*+#*+++*+++##**#*+**+*+***#+****#**#%%%#**#*#*###** ***#%%%**#++*#*#+++##++*###%%#%*%#*%%#%*#*+#*##***++*+#*+**#*##*%#*#**+*+*#*###*#*##+###*%%*++*#++*#**##*####*%**###*+*#*+*+*#***##+*###%%#*+*+**++#++#**+**#*++*#+*##*%##**#+*%**#*****#%#%#%**##%%##*#How to use Claude Code agents with Relay
Give Claude Code database access without a connection string: install the Relay skills, open a local port, scope a subagent and keep a person on writes.
Relay Engineering - Guides · · 3 min
· + · · · · · · + · · · ·@ ··· · ·· @@@@@@@@ · · ··@@@@@@@@@ · · ----------- · + @@@@@@@@@·· ·· ·· ··------------------- ·@----------- · ·· · ·· · ·· ·· · · · · ------\ · + + -// · ···· ·----------------------- ·· · · · · · · · ·· ··\\- · ------- ···· · · ·· · · · · -------------- · · · · ·· ·· · ·· · ·------- ----- + ---- ----------------· · ·· · ·· ··· ·· · · · · · · ------------------------- ·· ·· · ·· · · · ···· ·· · ···--------------- · ------------- · ----------------- · · ··· ·· ··· · ·· · · ·· · · ·· · · · · · ·· · · · · · ··· · · ·· ··· · ·· ·· · ····· ·· ·· ·----·· ··· ·· · · · ·· · · · · · ··· ·· ··· · · · · · · · · · · ···· ·· · · · ··· ·· · · · ·· · · · ····· ···-----\\ ··· · · · ··· -----::::--------· ···· ---------\·· ··· · · ··· · · · --------- · · ---- ·· · ·· · · ··· · · --------\· ·· ··· · · //-==-:--: · -----------------------::-:=:::--:-::------------------=-==-:=::-\\· · ·· ·· ·-----\· ----------::---::=------::-\\\ · · · · · · --------------:------:---- · · · -///=--:::-:-: ----:-:-:--=--:--:---::-=-:--==::=:-=:-----:::::---::::-:::--:--::::-\--------· -----:-----\----==::=-::--:=:=-:=:-=:::----=:=\\\ --/--:--::-=-===:::-::::-::::--\--------------::---::-:::-: :-:---::-:-:--:=:-=-----:-=:-:=::-:=:----:::=-::--=::::::---:::-=---:::::-:-::---=:--::-:::--=-::-:-::-:--=-::-=--:=-::---=:-:::-:\---·· ///-==:--:-------:-::---::::=-::=:-:-:=:-::=:=---:::-:==:::::- -::--=--:--=-:::----=-====:=:--:-:-==::-==:=---=-=::=--=-:=-===:--=-==:-=---:-:::::-:-----:-::=-::--=::--==-:-:=---=:-:-:::--::--::=-------:=::::-=:-:-:-:-:=:::-::-=::-:-:-::--:::-::--==:-::==::::-:-: ____\------:::==:-=:--:=:--:=--:-=:-=--:___/__\\--_:::==::____=/_\\=-----=--::/______\=::-=:::=:::==:________::-:-:-:::--==:-===--::--:--:--:-::--:::=-::=-=-:=:=:--::-:-=-::::---=:-:=:-::-:::---=----: #*+#*\______\-=-:--==--:==:-:::-:-______+++++**=__+_______#=**_**+#\\-----:://**+=*##+\______________++***+*+_\\-:----:::/______________________________________________::-::::______\\-:-=:==--==---:-- **#+**++#*+**\\-::-==:-=::=-:--///*#**+=+#**+#+#*+++*++++*+#*#**#++**\\_:://+#*##**#*#*#+++*+*++++*+=+=+*##+*++*\\-:::://#*++######=+#+#***+***#=+**+++*++++++*****#*+**_____/_+***#+*=\\:=--:-::-::---: **#*+*++**+*++=\____:____-___//+*+++++#+##**#%###*#*#*+*+*+#+*******++*+__+#*+***##+*##***#**+*#*#*##****##*#*+##+\____+*+*#+#+++*#+**+*+*+#++*#+**##++*#*#***++**+***+*#*+**++++#*+*+*++\\\--/_______\: #*%*##%*+##%#**+#+=*_++++_+=++++*#+#+**#**+##%%#%##%**#**+##**#*#%%+++#*+##+##*#%###%%#%##*#*%**#+#****+#*######+*+++***#***###*###+*+***#*+#**##*%#*##+*+####++*%*#**#*##+*##+*##*###*+#+#+__*****+*#=_ #%#%#**%##*%**+*+++#******+**#+#*#*%%**##%###%%#*###**%#%%%#%***%%**###*#++#%*##*@#%#*#%###*%*%#%#####%%%*#*####*%##*#*++##*#%#%###*#%##%**#*##**##%*#*%*#**%***##%%**#***##+**%%%*#%#%**##*#**++#**##**How to use Codex agents with Relay
Let OpenAI Codex query your databases through Relay: Relay skills in ~/.agents/skills, AGENTS.md, the sandbox network setting and approvals for writes.
Relay Engineering - Guides · · 4 min
· · _______ · _________ ____:··:·::_____ · ______ · ______ ____·:::··:::___ ____ __··:::·····:·::·:__ ______ ___________ ____:··:::_____ ________________::·:::___ · __:·:·:·::····:··:__ · __···: __··:·::······:·:::···____·::::·___ · ___________:::·:::·:··__________··:::··:·:··::·___ ____::·:·····::::····::·::·:·______________·::····:·:·::·::··::_ _________··:·:: ___:::·:·::::·:···:::::·::·::::·:·::::__________·:·:·::·::···::···:··:········:··:·:···:·:·:·:··:·_______::·:··:··:::·:::···:··:··::····::·::·:·:···::·:···:::····:·:·:·:____ ___:::·::··:::·::: ____:::····::·:·:::::··:·:···::::···:·::··:::······:::··::·:::·:·::··::····::·:·:··:·:::·::····:::··:::::·:·:·:::::··:::::::·····:··:::·····:··::··:··:·:···::···::···:·:·:·:···:_____·:::::::···::::·:: :·:·:·:::··:··::···:·:·::·::·:::·:::·::·:···:··:::···:::··:····:··::::··:··::·::::·:::··:::·:·:::··::::·:·::·:::::··:····:···:·:::··::::·:·····:·:·::::·::::::::·:···:···:·:·:···:·:·:·::::::·:::·:::·:: ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── · · · · · · ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ─┼──┼───┼──┼──┼──┼───┼──┼──┼───┼──┼──┼───┼──┼──┼──┼───┼──┼──┼───┼──┼──┼───┼──┼──┼──┼───┼──┼──┼───┼──┼──┼───┼──┼──┼──┼───┼──┼──┼───┼──┼──┼───┼──┼──┼──┼───┼──┼──┼───┼──┼──┼───┼──┼──┼──┼───┼──┼──┼───┼──┼ ─┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼───┼────┼───┼────┼───┼ / / / · / / / / / / / · / / / / / · / / │ \ \ \ \ \ \ \ \ \ \ \ \ \ \ · \· \ \ \ \ ─┼──────┼─────┼──────┼─────┼──────┼──────┼─────┼──────┼─────┼──────┼──────┼─────┼──────┼─────┼──────┼──────┼─────┼──────┼─────┼──────┼──────┼─────┼──────┼─────┼──────┼──────┼─────┼──────┼─────┼──────┼ / · / / · / / / / / / / / / │ \ \ \ \ ·\ \ · \ \ \ \ · \ \ \ ─────┼────────┼────────┼────────┼────────┼───────┼────────┼────────┼────────┼────────┼───────┼────────┼────────┼────────┼────────┼───────┼────────┼────────┼────────┼────────┼───────┼────────┼────────┼ / / / · / / / / / / │ \ \ \ · \ \ · \ · \ \ \ · \ · / / / · / / · /· / / │ \ \ \ \ \ · \ \ \ \ ─────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────── / / / · ·· / · / / / │ · ·\ \ \ · · \ · \ \ · \ · · \ / · / / / / / · │ · · \ ·· \ · \ \ · \ · \ \·· / / / ·/ / / │ \ \ \ \ \ \ ·How to use PlanetScale with Relay
Put a PlanetScale branch behind Relay: one connection per branch, TLS on, masking and audit at the wire, and a local port for people and agents.
Relay Engineering - Guides · · 4 min
· · · · · · · ++++++++++++++ +++############+++ · ++################++ · · · · · ++##################++ · · · · ++####################++ · ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ······· ············ ················ ········ · ·········· · ······· = = = ==···=···=··············· ············ · ·············-·· ···-···-···· ····--··· ············· ····-·-···- - --····-···--··-·············· ············ · · ············ ····---···· ·····------·· ····-·-----··· ······------· == ·=·=====-=····=···········-·· ·--·-········· · ··------·· ·····--------····· ···· · ······· ·· ···----------··· ····---------··· - -·-·--------····-····· ········ ·-----······· · ·---········------·· ····-----=--------··· ··-----------=---=-----==--=----···· · ·-·--=-=-----···· =··=-===--=·=·= ==· ····· ·----···· ··· =--===-==-=---· ···-====------····· ··--====-------------------=----···· ····---=--==--·-·· ··---=---------- -- ··-=-···· · · ·---====---· ····---=====-··· · · ·· ·· ···· ··---=======----···· ·--========·= === --==-· ·· ··· · ·· ···========-··· ··-·---=====+=====-· · ·-·--=========--·· ··---=++=----··-- - ·-===··· +++++=++=+====+--·· ·--======+==+=+++===---··· ····--···--···--··-· ··-·--=-====+++===----· · ···-----==+==-=·== = ==··==== · · ·===--· · -···-·------· · ·--==++++===-==----·· ·-====++++++++++++===+=======+=+++++=+++=-··· ·· ····-·---=+++++=+=-·· - ---- -------··-··--··-·· ··=++=· · ··===+*++++---···· ·····-===+*++=====-====++=====+++++*+++++===-=-·· ···-==+=+++++++**+=-·· == =·===-=======--=====--··· ··-+++=· · - +*++==+=--==++*+++=-=-· ·····-·---=====*++*++*+==-··· · · · -----=----·· · ·----===*++**++++++==--· · -----==-*-++*+++++*+++===----==+*=- ·- =+==++++***++==·· ····==++*+*+****+*+*++++==-==-· · · ··--==+++*+****+*++====---·-· ··-====****==*=***+*********++=+=++++=· ·· ···· ···· ···-·How to use Supabase with Relay
Reach a Supabase Postgres database through Relay: a dedicated role, the session pooler, verified TLS, row-level security and masking at the wire.
Relay Engineering