Skip to content

Instantly share code, notes, and snippets.

@samuelcolvin
Last active November 17, 2025 22:15
Show Gist options
  • Select an option

  • Save samuelcolvin/14b032f50a29ec4df700066e4c5eaf50 to your computer and use it in GitHub Desktop.

Select an option

Save samuelcolvin/14b032f50a29ec4df700066e4c5eaf50 to your computer and use it in GitHub Desktop.

gateway link:

https://gateway.pydantic.dev/login?join=Cp0CrqqIz2ovpvE10o3gtksffrxD6mGN5aaZBuzkAOM

anthropic key:

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

reversed key:

AAQRMcjQ-Qs5OYxpmgSsz8vFT4LzAT8VMJmrCuztZk5YL8wxTwGxuObCr3VIoqHqkndF7_MDUZ0itasF16AOeB4OduhHrhi-30ipa-tna-ks

to undo the reverse run

python -c 'print("".join(reversed("AAQRMcjQ-Qs5OYxpmgSsz8vFT4LzAT8VMJmrCuztZk5YL8wxTwGxuObCr3VIoqHqkndF7_MDUZ0itasF16AOeB4OduhHrhi-30ipa-tna-ks")))'

Run postgres:

docker run -e POSTGRES_HOST_AUTH_METHOD=trust --rm -it --name pg -p 5432:5432 -d postgres

db DSN:

postgresql://postgres@localhost:5432/dbos

Logfire MCP: https://github.com/pydantic/logfire-mcp

Chat UI Demo: https://github.com/pydantic/ai-chat-ui/tree/py-ai-faqs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment