Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
ai-agents-in-production Series' Articles
Back to Royal Simpson Pinto's Series
Enforce Permissions Inside the pgvector Query, Not After It
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Sep 23
Enforce Permissions Inside the pgvector Query, Not After It
#
postgres
#
rag
#
security
#
ai
Comments
Add Comment
5 min read
Moderation
Combining Vector and Full-Text Search with Reciprocal Rank Fusion
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Sep 25
Combining Vector and Full-Text Search with Reciprocal Rank Fusion
#
rag
#
search
#
python
#
ai
Comments
Add Comment
5 min read
Moderation
Merkle Trees and Inclusion Proofs in Python From Scratch
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Sep 27
Merkle Trees and Inclusion Proofs in Python From Scratch
#
python
#
cryptography
#
ai
#
tutorial
Comments
Add Comment
5 min read
Moderation
Signing and Verifying Data with Ed25519 in Python
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Sep 29
Signing and Verifying Data with Ed25519 in Python
#
python
#
cryptography
#
security
#
tutorial
2
reactions
Comments
Add Comment
4 min read
Moderation
Why Your JSON Signatures Break: A Guide to Deterministic Canonical Serialization in Python
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 1
Why Your JSON Signatures Break: A Guide to Deterministic Canonical Serialization in Python
#
python
#
cryptography
#
json
#
tutorial
Comments
Add Comment
5 min read
Moderation
Emit SARIF 2.1.0 From Your Linter So Findings Show Up in GitHub Code Scanning
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 3
Emit SARIF 2.1.0 From Your Linter So Findings Show Up in GitHub Code Scanning
#
security
#
github
#
devtools
#
tutorial
Comments
Add Comment
4 min read
Moderation
Connect to Any MCP Server in TypeScript Over stdio and HTTP, Then List Its Tools
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 5
Connect to Any MCP Server in TypeScript Over stdio and HTTP, Then List Its Tools
#
mcp
#
typescript
#
ai
#
tutorial
Comments
1
comment
4 min read
Moderation
Building a Minimal MCP Server with Scoped Tools and Per-Client Boundaries
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 7
Building a Minimal MCP Server with Scoped Tools and Per-Client Boundaries
#
mcp
#
security
#
typescript
#
tutorial
Comments
1
comment
5 min read
Moderation
Pause a LangGraph Agent Mid-Run for Human Approval with interrupt and a Checkpointer
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 9
Pause a LangGraph Agent Mid-Run for Human Approval with interrupt and a Checkpointer
#
ai
#
agents
#
python
#
tutorial
Comments
Add Comment
5 min read
Moderation
Parsing Claude Code Session Transcripts in Python: Turns, Tool Calls, and Results
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 11
Parsing Claude Code Session Transcripts in Python: Turns, Tool Calls, and Results
#
ai
#
python
#
agents
#
tutorial
Comments
Add Comment
5 min read
Moderation
Counting LLM Tokens in Python: tiktoken vs a Dependency-Free Heuristic
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 13
Counting LLM Tokens in Python: tiktoken vs a Dependency-Free Heuristic
#
ai
#
python
#
llm
#
tutorial
Comments
Add Comment
4 min read
Moderation
Deploy a Next.js App Router App to Cloudflare Workers with OpenNext and a D1 Database
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 15
Deploy a Next.js App Router App to Cloudflare Workers with OpenNext and a D1 Database
#
nextjs
#
cloudflare
#
webdev
#
tutorial
Comments
Add Comment
5 min read
Moderation
Migrating a Synchronous better-sqlite3 Layer to Async Cloudflare D1 (Without Losing Local Dev)
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 17
Migrating a Synchronous better-sqlite3 Layer to Async Cloudflare D1 (Without Losing Local Dev)
#
cloudflare
#
typescript
#
database
#
tutorial
Comments
Add Comment
5 min read
Moderation
Canary Tokens for LLM Systems: Detect Prompt Injection and Data Leaks by Watching Your Own Outputs
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 19
Canary Tokens for LLM Systems: Detect Prompt Injection and Data Leaks by Watching Your Own Outputs
#
ai
#
security
#
promptinjection
#
tutorial
Comments
Add Comment
4 min read
Moderation
Build a Deterministic Mock LLM Provider So Your Eval Suite Runs With No API Keys and No Network
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 21
Build a Deterministic Mock LLM Provider So Your Eval Suite Runs With No API Keys and No Network
#
ai
#
testing
#
llm
#
tutorial
2
reactions
Comments
5
comments
4 min read
Moderation
Making LLM-as-Judge Scoring Reproducible and Trustworthy
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 23
Making LLM-as-Judge Scoring Reproducible and Trustworthy
#
ai
#
testing
#
llm
#
tutorial
1
reaction
Comments
6
comments
4 min read
Moderation
Scoring Text Similarity With Embeddings, With a Deterministic Offline Fallback for Tests
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 25
Scoring Text Similarity With Embeddings, With a Deterministic Offline Fallback for Tests
#
ai
#
embeddings
#
testing
#
tutorial
Comments
2
comments
4 min read
Moderation
Fixed-Window Rate Limiting for a TypeScript API Route
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 27
Fixed-Window Rate Limiting for a TypeScript API Route
#
typescript
#
webdev
#
backend
#
tutorial
Comments
Add Comment
5 min read
Moderation
Signed-Cookie Sessions Without a Login (HMAC in About 40 Lines)
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 29
Signed-Cookie Sessions Without a Login (HMAC in About 40 Lines)
#
webdev
#
security
#
typescript
#
tutorial
Comments
Add Comment
4 min read
Moderation
Build a Durable Scheduled-Task Pipeline with n8n and a Cloudflare D1 Queue
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Oct 31
Build a Durable Scheduled-Task Pipeline with n8n and a Cloudflare D1 Queue
#
automation
#
cloudflare
#
n8n
#
tutorial
Comments
1
comment
5 min read
Moderation
A Practical Taxonomy of Prompt Injection: 11 Techniques and What Stops Each One
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 2
A Practical Taxonomy of Prompt Injection: 11 Techniques and What Stops Each One
#
ai
#
security
#
promptinjection
#
llm
Comments
Add Comment
5 min read
Moderation
Filtering After Retrieval Leaks Your Documents. Put the ACL Inside the Query.
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 4
Filtering After Retrieval Leaks Your Documents. Put the ACL Inside the Query.
#
rag
#
security
#
ai
#
database
Comments
2
comments
5 min read
Moderation
Stop Building Agents as While-Loops. Model Them as State Machines.
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 6
Stop Building Agents as While-Loops. Model Them as State Machines.
#
ai
#
agents
#
architecture
#
llm
3
reactions
Comments
5
comments
5 min read
Moderation
Reading Agent Transcripts for Real Observability, Without Instrumentation
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 8
Reading Agent Transcripts for Real Observability, Without Instrumentation
#
ai
#
agents
#
observability
#
llm
1
reaction
Comments
Add Comment
5 min read
Moderation
The Eval Scorers You Actually Need for LLM Apps (and When to Use Each)
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 10
The Eval Scorers You Actually Need for LLM Apps (and When to Use Each)
#
ai
#
testing
#
llm
#
evals
1
reaction
Comments
Add Comment
5 min read
Moderation
When There Is No Internet: Delay-Tolerant Networking and Epidemic Routing Explained
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 12
When There Is No Internet: Delay-Tolerant Networking and Epidemic Routing Explained
#
networking
#
mobile
#
distributedsystems
#
tutorial
Comments
Add Comment
5 min read
Moderation
Context-Window Economics: What Actually Eats Your Agent's Tokens
Royal Simpson Pinto
Royal Simpson Pinto
Royal Simpson Pinto
Follow
Nov 14
Context-Window Economics: What Actually Eats Your Agent's Tokens
#
ai
#
agents
#
llm
#
performance
3
reactions
Comments
3
comments
5 min read
Moderation
« First
‹ Prev
1
2
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account