Skip to content

Tutorials

Hands-on material you can use right away: prompting techniques, workflows, tool usage and lessons learned.

85 picksLast 30 days 41 itemsCollected 515 items

New

Picks archive · page 4

10/21WedPage 61–80 items
  1. AWS Machine Learning Blog62

    Discover tools at runtime with AWS Agent Registry

    AWS demonstrates how to use AWS Agent Registry to discover approved MCP servers and A2A agents at runtime, construct clients from their descriptors, and execute requests through a temporary inner agent. The Python sample covers order status, pricing, and returns while obtaining invocation credentials separately from discovery. The guide also explains approval workflows, search evaluation, and cases where small catalogs or fixed pipelines favor build-time wiring.

  2. AWS Machine Learning Blog60

    How Eon built multi-cloud investigation with an MCP Gateway on Amazon Bedrock AgentCore

    Eon used Amazon Bedrock AgentCore to replace per-tool credentials and local MCP processes with a single authenticated gateway for investigation tools across AWS, GCP, and Azure. The implementation uses Cedar policies to separate human and agent permissions and IAM role assumption for cross-account access. Eon reports onboarding fell from roughly 2 days to about 2 minutes, with 100+ developers and approximately 10,000 sessions revealing tradeoffs around policy size, tool discovery, and OAuth compatibility.

  3. AWS Machine Learning Blog60

    Securing AI Agent Identity with X.509 PKI on AWS

    AWS and Keyfactor explain how to secure AI agent communications using X.509 PKI, Keyfactor EJBCA, and AWS services. The walkthrough combines signed request envelopes, user-signed delegation assertions, audience-scoped tokens, and real-time OCSP checks across user login, agent communication, and MCP tool access. It demonstrates the architecture with Amazon Bedrock, AWS Strands Agents SDK, and FastMCP, including replay prevention and credential revocation at logout.

10/20Tue
  1. AWS Machine Learning Blog68

    How bi-directional KV transfer in vLLM improves TTFT for multi-turn agentic workloads

    AWS explains how bi-directional KV transfer in vLLM lets prefill nodes reuse KV blocks retained by decode nodes across conversation turns. In its 1P1D benchmarks on Amazon EC2 P5en instances with EFA and prefill prefix caching disabled, TTFT improved by up to 1.6x for Qwen3-32B and 3.3x for zai-org/GLM-5-FP8. The guide covers routing, retention controls, recompute thresholds, and reproduction using vLLM v0.21.0 or later with NixlConnector; results depend on workload and deployment configuration.

  2. AWS Machine Learning Blog68

    How push-based KV transfer improves TTFT and TPOT in vLLM

    AWS explains its push-based NIXL connector for vLLM, which overlaps destination registration with prefill and moves transfer preparation to a background thread. In a Qwen3-32B benchmark on a 1P1D deployment using Amazon EC2 P5en instances with EFA and prefix caching disabled, push mode delivered up to 3x better TTFT and up to 30 percent better TPOT than pull mode, with results varying by workload and configuration. The post details the architecture, benchmark reproduction, and routing tradeoff of selecting the decode instance earlier.

10/17Sat
  1. AWS Machine Learning Blog60

    Building trust in AI agents: A production-ready evaluation framework with Amazon Bedrock AgentCore

    AWS explains how its SMGS Operations team built a nine-stage evaluation framework with Amazon Bedrock AgentCore for an internal sales intelligence system. The framework combines domain-specific evaluators, versioned golden datasets, CI/CD gates, continuous monitoring, and trace-driven improvements across tools, agents, and multi-agent workflows. AWS reports that automated evaluation reduced quality regression detection from days or weeks to under four hours.

10/16Fri
  1. AWS Machine Learning Blog73

    Introducing Reflection Beam, an open-weight model for agentic coding on AWS

    Reflection AI introduced Beam, an open-weight model for agentic coding and multi-step tasks, with 501 billion total parameters and 23 billion active parameters. Reflection reports an effective context length of 1 million tokens and releases Beam 1.0 under Apache 2.0 in BF16, FP8, and NVFP4 variants. The guide explains deployment through Amazon SageMaker JumpStart or HyperPod Inference with JumpStart, SGLang, or vLLM, including capacity planning, invocation, performance measurement, and cleanup.

  2. AWS Machine Learning Blog60

    Meta’s Muse Spark Open now available in Amazon SageMaker JumpStart

    Meta’s coding-optimized open-weight model Muse Spark Open is now available in Amazon SageMaker JumpStart in BF16 and NVFP4 variants, with a 1 million-token context window and 816B total parameters, including 42B active per token. AWS provides deployment instructions using SageMaker Studio or the SageMaker Python SDK, plus inference and cleanup examples. At launch, availability covers US East (N. Virginia) and US East (Ohio).

10/15Thu
  1. AWS Machine Learning Blog64

    AWS explains Trust in Depth for giving agents autonomy within enforceable boundaries

    AWS’s Shawn Bice explains Trust in Depth, a framework for governing agents through four layers: Scope, Know, Bound, and Observe. He describes how AWS tools support policies, agent identities, external enforcement, and tracing, using employee offboarding to illustrate sequence-dependent safeguards. Automated reasoning can prove precisely stated rules within a system’s defined assumptions, while context-dependent expectations require evaluation and human judgment.

10/14Wed
  1. GitHub Blog · AI & ML68

    GitHub’s model for secret detection: Finding more secrets with less noise

    GitHub explains how its secret scanning pipeline combines regex candidate detection with a fine-tuned ModernBERT classifier to distinguish real credentials from lookalikes using surrounding context. Compared with the previous LLM pipeline, offline evaluation showed 13% higher precision and 19% higher recall; a customer A/B experiment showed 11.5% higher repository owner-weighted acceptance. Median post-push scan execution time fell 86%, and serving costs dropped more than 98%, making it practical to extend generic secret detection to push protection.

  2. AWS Machine Learning Blog63

    Natural language security queries at Orca Security using Amazon Bedrock

    Orca Security partnered with AWS to build Discovery AI on Amazon Bedrock, translating natural language questions into validated Sonar queries across 900+ cloud infrastructure and application models. The architecture combines example retrieval and reranking, relevant schema selection, agentic generation, and validation, with domain experts continuously updating the example bank. Compared with its initial baseline, Orca reports 90 percent lower costs, 93 percent fewer input tokens, and 75 percent lower latency, with response times falling from approximately 60 seconds to 15 seconds.

10/13Tue
  1. AWS Machine Learning Blog63

    Mixture-of-Experts kernel engineering on Amazon SageMaker AI

    AWS explains three fused MoE optimizations used in Amazon SageMaker AI, reporting up to 10 percent higher throughput and up to 9 percent faster Time to First Token (TTFT). On H200, swapping matrix operands improved throughput by 2–4 percent, while routing FP8 tensor-quantized models to Triton improved throughput by 10 percent. Eliminating unnecessary Triton JIT recompilation improved TTFT by 9 percent at 8-way tensor parallelism; the post identifies availability in vLLM and the AWS LMI v28 container.

  2. AWS Machine Learning Blog75

    Build long-horizon agents with Grok 4.7 on Amazon Bedrock

    AWS demonstrates how to build and evaluate a tool-calling agent using Grok 4.7 on Amazon Bedrock, comparing four reasoning effort levels across three synthetic tasks. The agent answered 67 of 72 runs correctly; xhigh achieved 18 of 18, while low achieved 15 of 18 using about an eighth of the output tokens. The guide covers task design, automated grading, production monitoring, and operational controls, noting that these small-scale results are indicative rather than statistically conclusive.

  3. AWS Machine Learning Blog67

    Guide to accessing OpenAI GPT-6 models on Amazon Bedrock with global cross-Region inference

    AWS explains how to invoke OpenAI GPT-6 Sol and GPT-6 Luna through Amazon Bedrock global cross-Region inference from Thailand, Malaysia, Singapore, Indonesia, and Taiwan, and GPT-6 Astra from Singapore. The guide covers Converse, OpenAI-compatible APIs, coding clients, IAM permissions, SCP exceptions, quotas, and monitoring. Billing and quota tracking remain in the source Region, while requests run in supported destination Regions; each output token consumes 10 tokens of quota.

  4. AWS Machine Learning Blog66

    Run multi-node inference workloads using Ray LLM Deep Learning Containers

    AWS shows how to deploy Qwen3.5-9B across two GPU nodes on Amazon EKS using Ray LLM Deep Learning Containers, with separate prefill and decode deployments behind one OpenAI-compatible endpoint. The walkthrough configures the application in YAML and uses NIXL over EFA to transfer the KV cache between nodes. It covers cluster provisioning, model invocation, transport verification, and resource cleanup.

  5. AWS Machine Learning Blog61

    Deploy decision models with llama.cpp on Amazon SageMaker AI

    AWS explains how to deploy GGUF models with its llama.cpp Deep Learning Container on Amazon SageMaker AI, then add a SemIf adapter that returns probabilities over declared options without generating answer tokens. The guide includes CPU and GPU deployment code. Across 231 JevBench tasks using Qwen3.5-4B Q4_K_M, the GPU configuration delivered 4.9 times faster p50 and 32.2 times faster p95 latency than the CPU configuration, with similar accuracy.

10/9Fri
  1. Hugging Face Blog73

    Hugging Face author trains six models in two days with ML-intern, spending about $103 in total

    The author used ML-intern in HuggingChat, describing the requirements in prompts, to build six models in two days and publish them to the Hub, at a total compute cost of about $103. One project distilled the 9B prompt rewriter for Qwen-Image 2.1 into a 0.8B version that runs on a CPU, with a 99.7% valid-output rate and about one-quarter of the teacher model's token usage. The author published all seven prompts and recommends asking for baseline comparisons, smoke tests, and a budget cap.