Loading…
Browse by type
Tutorial reads
Tutorial posts on Yomu, summarised newest first.
- 789 posts
- 20 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Tutorial posts
Give your Supabase app its own MCP server
Supabase announced the MCP Server block that lets developers give their Supabase apps an MCP server, enabling customers to use app actions as tools from clients like ChatGPT or Claude after signing in with their existing account. Every tool call runs as that user, so RLS policies decide what each agent can access. The block adds an Edge Function using the official MCP TypeScript SDK and Supabase authentication helpers to verify tokens and provide a user-specific Supabase client. Developers write tool functions that can query RLS-protected tables, call database functions, or invoke Edge Functions, keeping business rules in the code the tool calls. The server can also display app UI inside the chat via MCP Apps, and the block includes a Copy agent prompt button and works with Cloudflare Workers and other Web-standard backends.
How to build an AI agent that checks order status and processes refunds
Build an AI agent that handles order status and refunds by defining four custom tools—get order, check eligibility, initiate refund, update ticket—using Twilio Agent Connect’s function tool decorator to call existing APIs. The agent verifies identity with Twilio Verify’s one-time passcode before any refund, enforced in both prompt and code to prevent prompt injection bypass. Refund decisions are grounded in the company’s return policy from Enterprise Knowledge, while hard rules like return windows are enforced in eligibility tool code to avoid hallucinations. High-value or repeat requests escalate to a human in Twilio Flex via Agent Connect’s handoff tool, which packages conversation ID and reason with an AI-generated summary. The same agent works across voice, SMS, WhatsApp, RCS, and chat through a single handler, with ConversationRelay providing median latency under 0.5 second and Conversation Memory recording outcomes for future context.
Trace and evaluate Cursor agents with Langfuse, powered by ClickHouse
Langfuse is an open-source platform whose Observability plugin captures Cursor agent traces, including model calls, tool executions, and token usage, with each prompt creating a “Cursor Turn”. ClickHouse powers Langfuse v4 analytics with a wide observations table storing user, session, tags, and environment, avoiding joins for team-wide cost and latency aggregations. To set up, create a Langfuse project, install the plugin from the Cursor Marketplace, place API keys in a config file, and restart Cursor. Each trace contains LLM observations with conversation history, tool observations for Shell, Read, and MCP actions, nested subagent observations, and context compaction events, all grouped into sessions. Teams use dashboards to find expensive turns, create project rules, build datasets from real sessions, and apply evaluators (LLM-as-a-judge, human review) to compare cost and completion before deploying, with CI via a GitHub Action.
Train in Simulation, Deploy on a Real Robot: Microduck with Isaac Lab 3.0
Microduck, an affordable open-source bipedal robot by Pollen Robotics and Hugging Face, can now be trained to walk using NVIDIA Isaac Lab 3.0 with the Newton physics solver and Better Actuator Models. The training runs 4096 GPU-parallel environments at up to 1.25 million steps per second on rough terrain, using domain randomization and backlash modeling for sim-to-real transfer. After evaluating the policy in simulation, Isaac Lab automatically exports it as ONNX with 61 observation inputs and 14 joint-position outputs. The ONNX file is copied to the physical Microduck via scp and loaded using robotctl policy load, enabling walking, turning, and fall recovery. Developers can share the policy on Hugging Face Hub, test it in Microduck Arena against challenges, or extend it to perception and custom tasks.
Profiling TorchNeuron (Part 1): System-level profiling on AWS Trainium.
The post introduces system-level profiling of inference performance on AWS Trainium using TorchNeuron. It explains how to configure torch.profiler with the Neuron backend by passing a NeuronConfig and using NeuronProfiler to capture traces. The walkthrough profiles three implementations of RMSNorm: naive PyTorch operations, the fused torch.rms_norm, and naive operations compiled with torch.compile. The key_averages() table shows that the naive implementation spends 2,355 µs on the Neuron device across six operator dispatches, while both fused and compiled versions reduce device time to about 400 µs with a single dispatch. Neuron Explorer visually confirms the lifecycle of each operation from framework dispatch through runtime scheduling to hardware execution, revealing the gaps that fusion eliminates.
Test Lightwell dependency upgrades locally
Lightwell is an IBM and Red Hat initiative that strengthens open source supply chain security by backporting verified, digitally signed patches to the specific software versions organizations already use in production, providing rapid protection without disruptive upgrades. The LightwellDeveloperDemo repository provides a developer-first reference project for testing dependency upgrades locally, using a containerized JFrog Artifactory instance via Podman to simulate enterprise artifact management without requiring any remote dependencies. Red Hat’s dependency analytics plug-in integrates into the IDE to scan manifest files such as pom.xml, package.json, requirements.txt, and go.mod, flagging vulnerable packages with CVE severity and recommending non-vulnerable versions. Developers can apply single-step quick fixes to upgrade direct dependencies to Lightwell-supplied hardened versions, and the tool also pinpoints which parent package to update for transitive dependencies. The entire setup runs offline without remote dependencies, enabling isolated proof-of-concept work with tight feedback loops and avoiding slow CI/CD or shared staging environments.
Design Proteins with RFD4-Proteina Using Reward-Guided Inference-Time Search
Protein design is a search problem where the number of possible sequences for a 100-residue protein exceeds atoms in the universe. RFD4-Proteina, an NVIDIA BioNeMo open model co-developed with the Institute for Protein Design, navigates this space by co-designing sequences and all-atom structures using patterns learned from nature. It employs reward-guided inference-time search that denoises trajectories, scores designs, and retains promising partial states, with a diffusion process reduced from about 400 steps to 60 and an autoencoder decoder that removes the separate inverse-folding step. The tutorial demonstrates designing PD-L1 binder candidates, covering open model and NIM setup, condition specification with fixed target and hotspot atoms on Tyr56, Met115, and Tyr123, generation, and evaluation using metrics like ipTM and interaction energies. RFD4-Proteina achieves 3.8x faster generation and 84% less peak memory than RFD3 at 200 residues, and supports a broad range of molecular design tasks with agent programmability.
Developing an AI Factory Digital Twin with an Agent-Assisted Workflow
The post presents an agent-assisted workflow for developing an AI factory digital twin using the NVIDIA Omniverse DSX Blueprint. Developers supply site plans, equipment assets, and engineering requirements to build an editable OpenUSD campus model, then use the agent to explore layouts and revise equipment placement. A frontier AI model in an agent harness manages context, instructions, and tool calls, with skills for generating solar canopy geometry and materials via USD Content Agents. The workflow combines reference assets from the DSX Blueprint, architectural references from the NVIDIA Voyager campus, and USGS geographic data, keeping changes separate in additive USD layers for review. The resulting digital twin supports design review, capacity planning, and connection to simulation tools like Cadence Reality and Siemens Simcenter STAR-CCM+, with an illustrative Vera Rubin NVL72 comparison for fixed power budget evaluation.
How to automate call summaries, sentiment, and CRM updates
Support agents often have less than 30 seconds between calls, leaving no time to document conversations, which results in lost context and poor customer experiences. Twilio Conversation Intelligence automates this by transcribing calls in real time or after the fact, then using Language Operators to extract summaries, sentiment, intent, and resolution status. These operators can be prebuilt or custom, and they run on every communication, at conversation end, or on demand. Extracted facts are automatically written to customer profiles via Conversation Memory, which reconciles new observations with existing ones to keep profiles accurate. Finally, webhooks push summaries and sentiment into CRMs like Salesforce, Zendesk, and HubSpot, so the next agent has full context without manual entry.
Build AI-Powered Applications with MongoDB Atlas in Grok Build
Grok Build redefines software development by letting autonomous agents handle mechanical coding while humans own consequential decisions through Plan Mode and Agent mode. This tutorial demonstrates combining that workflow with MongoDB Atlas as the operational database, memory layer, and retrieval engine for a knowledge assistant. The MongoDB Atlas Managed MCP Server provides over 40 tools across database operations, Atlas management, and assistant capabilities, enabling agents to interact directly with Atlas deployments. Developers can provision clusters, load seed data, and query using natural language, with read-only defaults and explicit opt-in for mutations. The result is a repeatable delivery loop from specification to deployment, with Atlas supplying durable state, semantic retrieval via Vector Search, and managed infrastructure.
Speeding up ticket resolution with agentic AI
Support teams spend significant time triaging tickets, gathering missing information, and answering repetitive questions, increasing support costs and limiting time for complex work. The speeding-up-ticket-resolution quickstart integrates AI agents directly into existing ticketing workflows on Red Hat OpenShift AI to automate these tasks. The system uses Zammad as the ticket platform, a request manager to normalize incoming requests, and a router agent that triages and routes to specialist agents built as LangGraph state machines. Specialist agents consult RAG knowledge bases and call MCP server tools to resolve requests, escalate, or hand off for approval. The quickstart includes evaluation with DeepEval and distributed tracing with OpenTelemetry and MLflow to ensure reliability and observability across multi-turn conversations.
Migrate your custom plug-ins to Red Hat Developer Hub 2.1
Upgrading to Red Hat Developer Hub 2.1 requires migrating custom plug-ins because the old front-end system and Scalprum have been removed; plug-ins relying on Scalprum mount points will fail to mount. Plug-ins must adopt the new front-end system by implementing extension blueprints like PageBlueprint and EntityCardBlueprint, exporting an alpha entry point in package.json, and adding a local dev test harness. Configuration moves from dynamicPlugins.frontend mount points to the app.extensions YAML array, where arrays are replaced completely rather than merged key by key. Plug-ins are now published as standalone OCI container images via Red Hat Konflux pipelines on quay.io, removing wrappers from the core container image. Red Hat provides the rhdh-plugin-nfs-migration skill for automating the 6-step plugin migration and the rhdh-upgrade-helper for configuration, along with the rhdh-local tool for testing on the dev branch using the next image.
How to get the most out of running dbt on Databricks
Tens of thousands of organizations use dbt, and where it runs directly affects pipeline cost, speed, and operational complexity. Running dbt on Databricks provides an open, unified platform, yet many teams underutilize its capabilities. The post details practices to reduce costs, such as applying appropriate incremental strategies and replacing full recomputes with materialized views, which delivered a 17x speedup in a benchmark. It also covers automating data layout with Liquid Clustering and Predictive Optimization, and attributing every dollar to specific models via query tags. For operational simplicity, it recommends bringing ingestion into dbt with streaming tables, standardizing metrics through Unity Catalog Semantics, and orchestrating pipelines natively with Lakeflow Jobs.
How to handle token limits in long AI support conversations
Long customer support conversations often exceed an LLM’s context window, causing the oldest turns—which contain the original problem description—to be dropped first. Four strategies exist to manage context: sliding window, rolling summaries, retrieval from memory, and structured state. Twilio recommends combining structured state for known fields, a sliding window for the live exchange, and retrieval for prior conversations. Twilio’s platform splits context management: live turn history stays in the agent’s code, while Conversation Memory stores compressed observations and summaries from past conversations. The Recall endpoint returns up to 100 observations and 100 summaries per call, each capped at 4,096 characters, using semantic and lexical search. On voice calls, developers choose how often Recall runs to balance context freshness against response latency.
Bringing Visual Graph Debugging to Custom Edge Compilers with Model Explorer
Machine learning models require compilation steps such as quantization, graph lowering, operator fusion, and hardware delegation when deployed to edge devices. During deployment, engineers must verify structural integrity, full accelerator delegation, and cycle-level performance bottlenecks. Arm built open-source adapters for Google AI Edge Model Explorer to visualize Arm-specific intermediate representations including VGF and TOSA. Inspecting a VGF graph of a PyTorch Neural Super Sampling model uncovered unintended TRANSPOSE operators introduced by a backend change. For an Ultralytics YOLO model, split-pane view confirmed complete NPU delegation without CPU fallback, and per-node cycle-accurate tracing with color-coded heatmaps identified a single TRANSPOSE node as the primary latency bottleneck.
Securing AI Agents with Auth0 CIMD and Token Exchange
AI agents break three OAuth assumptions: static permissions, predictable life cycles, and direct delegation. Auth0’s Strict Mode for APIs enforces a permission ceiling by requiring explicit Client Grants and PKCE, structurally preventing rogue dynamically registered clients. Client Initiated Metadata Documents (CIMD) allow agents to host a metadata document at a stable HTTPS URL; Auth0 fetches and validates it to issue a client ID with automatic default permissions. RFC 8693 Token Exchange enables multi-hop delegation: the agent presents the user’s token and its own credentials to Auth0’s /oauth/token endpoint, which returns a token with the original user as ‘sub’ and the agent’s client ID as ‘act’. The post walks through a workflow from CIMD bootstrap to user consent to token exchange, and notes that record-level access requires Auth0 Fine-Grained Authorization.
Modernize Your Insurance Data Models With MongoDB Relational Migrator
Legacy mainframe systems using COBOL and CICS still dominate core insurance functions, creating high maintenance costs and slow innovation due to data trapped in outdated 21-table relational schemas. This tutorial demonstrates how the document model simplifies insurance data models by refactoring the Object Management Group’s Party Role model, which defines how people and organizations are involved in policies, claims, and insurable objects. MongoDB’s Relational Migrator transforms the 21-table relational schema into a lean five-collection MongoDB model for Party, Policy, Claim, Litigation, and roles. The process covers connecting to PostgreSQL, replicating the Party Role model via psql and pg_restore, and using Relational Migrator’s schema design and data migration to refactor and migrate data. After migration, insurers gain faster product launches, swift regulatory adaptation, and enhanced customer experiences through a modernized data infrastructure.
What is an email blast? (how to do it right)
An email blast is a single message sent to a large list at once, often without segmentation, and is frequently associated with spam. The post argues that senders should abandon the ‘blast’ mindset and instead treat mass emails as targeted, personalized campaigns. Key steps include using an email service provider, sending only to a clean permission-based list, and segmenting recipients by demographics or behavior. Domain authentication with SPF, DKIM, and DMARC is required, especially under 2024 Gmail and Yahoo bulk sender rules for those sending over 5,000 emails daily. A clear call to action and compliance with unsubscribe requirements are essential for engagement and deliverability.
Step by Step guide: Build a Voice Agent That Never Goes Silent using ADK
Voice agents that block on slow tool calls produce dead air, causing users to assume the call dropped and hang up. The open-source Agent Development Kit (ADK) with gemini-3.8-live addresses this with two non-blocking patterns. Streaming tools use Python async generators that yield progress updates, enabling the agent to narrate stages like connecting, scanning records, and aggregating revenue while the task runs in the background. Background execution uses single-yield generators or FunctionTool with response_scheduling to deliver results when idle, allowing users to ask unrelated questions without cancellation, and benchmark sales-report workflows show first words appearing in 1.2 seconds instead of 14.4. Scheduling modes WHEN_IDLE, INTERRUPT, and SILENT control when the model reacts to incoming tool results, ensuring the agent remains conversational throughout complex operations, with production features for cancellation and idempotency.
How to Detect SIM Swaps in Rust With Twilio's Lookup API
SIM swap attacks let attackers take over a phone number by convincing the carrier to link it to a new SIM, enabling them to receive all calls and SMS, including OTP codes for two-factor authentication. Twilio’s Lookup API provides real-time SIM swap data from mobile network operators, indicating if the SIM linked to a number has recently changed. This tutorial shows how to integrate SIM swap detection into Rust using the rustlio crate, with dependencies dotenvy, serde, serde_json, and tokio. The code loads environment variables from a .env file for Twilio Account SID and Auth Token, calls lookup_phone_data with DataPackage::SimSwap, and prints the last_sim_swap date (e.g., 2020-04-27T10:18:50Z), swapped_period (e.g., PT48H), and swapped_in_period boolean. The post notes legitimate SIM swaps happen for reasons like lost phones or porting numbers, so the data should always be used as part of a larger, more holistic determination rather than alone.
Top topics
- Architecture852
- Performance851
- LLMs749
- AI Agents716
- Machine Learning644
- AI633
- Open Source601
- Developer Experience461
Weekly digest
The best engineering reads, once a week.