Agent DailyAgent Daily

Prompt Injection Defense

Detecting and preventing prompt injection attacks

Build a playbook about Prompt Injection Defense

Save articles from this feed, then generate a personalized implementation guide

See a sample →
13 results
TUTintermediate
Managed Agents tutorial: prompt versioning and rollback Apr 2026 • Agent Patterns Evals Server-side prompt versioning — create v1, evaluate against a labelled test set, ship v2, detect a regression, roll back by pinning sessions to version 1. Covers agents.update, version pinning on sessions.create, and where the review gate moves when prompts are not code.

This tutorial demonstrates server-side prompt versioning and rollback for Managed Agents, enabling PMs to update agent prompts without code deployments. It covers creating an agent (v1), evaluating it against a labeled test set, shipping an updated prompt (v2), detecting performance regressions, and rolling back by pinning sessions to a specific version. The workflow replaces traditional code-based prompt management with immutable versioned prompts that can be quickly reverted if issues arise.

Apr 9, 2026
RELadvanced
[Release] openclaw/openclaw v2026.3.31: openclaw 2026.3.31

OpenClaw v2026.3.31 is a major release introducing significant breaking changes to node execution, plugin SDK deprecations, and stricter security defaults for dangerous code scanning. Key improvements include a unified background task control plane, new channel integrations (QQ Bot), enhanced Matrix/MCP support, and security hardening across gateway authentication and node command execution. The release emphasizes safer defaults while expanding platform capabilities for agents, channels, and integrations.

steipeteApr 1, 2026
RELadvanced
[Release] openclaw/openclaw v2026.3.31-beta.1: OpenClaw 2026.3.31-beta.1

OpenClaw v2026.3.31-beta.1 introduces significant breaking changes to node execution, plugin SDK deprecation, and stricter security defaults for plugin/skill installation. Key improvements include unified background task management with flow control, expanded channel support (QQ Bot), enhanced MCP capabilities with remote HTTP/SSE servers, and security hardening across gateway authentication, node commands, and event handling. Multiple channel-specific enhancements (Matrix, LINE, Teams, WhatsApp, Slack) and provider integrations (OpenAI Responses, Pi Codex, TTS diagnostics) round out the release.

steipeteMar 31, 2026
RELintermediate
[Release] google/adk-python v2.0.0a2: v2.0.0a2

Google ADK Python v2.0.0-alpha.2 is a security-focused release addressing critical vulnerabilities and deployment safety. Key improvements include agent name validation to prevent arbitrary module imports, protection against unauthorized file access in the builder API, secure GKE deployment defaults, and dependency updates to exclude compromised LiteLLM versions. This release strengthens the framework's security posture for production AI agent development.

GWealeMar 27, 2026
TUTintermediate
Extended thinking Feb 2025 • Thinking Use Claude's extended thinking for transparent step-by-step reasoning with budget management.

This cookbook demonstrates Claude 3.7 Sonnet's extended thinking feature, which provides transparent step-by-step reasoning with budget management. Extended thinking enables Claude to show its internal reasoning process through thinking content blocks before delivering final answers. The guide covers setup, basic examples, streaming with thinking, token counting, redacted thinking, and error handling with practical Python code examples.

Mar 8, 2026
TUTintermediate
Speculative prompt caching May 2025 • Responses Reduce time-to-first-token by warming cache speculatively while users formulate their queries.

Speculative prompt caching is a technique that reduces time-to-first-token (TTFT) by warming up Claude's cache while users are still formulating their queries. Instead of waiting until a user submits their question to load context into the cache, the system begins cache warming immediately when the user starts typing. This cookbook demonstrates the pattern using SQLite source code as example context, showing how to implement it with the Anthropic Python SDK using async operations and prompt caching controls.

Mar 8, 2026
TUTintermediate
Session memory compaction Jan 2026 • Agent Patterns Responses Manage long-running Claude conversations with instant session memory compaction using background threading and prompt caching.

This cookbook teaches developers how to manage long-running Claude conversations by implementing session memory compaction using background threading and prompt caching. Rather than waiting for context limits to be exceeded (reactive approach), the pattern enables instant compaction by proactively building summaries in the background. The guide covers writing effective session memory prompts, implementing background threading for zero-latency compaction, and applying prompt caching to reduce costs by ~80%. It includes Python code examples demonstrating both traditional (slow) and instant (fast) compaction strategies for conversational applications.

Mar 8, 2026
RELadvanced
[Release] openclaw/openclaw v2026.3.7: openclaw 2026.3.7

OpenClaw v2026.3.7 introduces major enhancements to context engine plugins, persistent channel bindings for Discord/Telegram, multi-language UI support (Spanish), improved web search capabilities, and Docker containerization optimizations. The release includes a breaking change requiring explicit gateway auth mode configuration. Key additions enable alternative context management strategies, durable ACP thread routing, per-topic agent overrides, and enhanced security with config validation.

steipeteMar 8, 2026
VIDintermediate
"okay, but I want Gemini3 to perform 10x for my specific use case" - Here is how

This content discusses strategies for optimizing Gemini 3 performance for specific use cases, achieving 10x improvements. It references prompt engineering best practices and introduces the Superdesign agent as a tool for implementation. The video likely covers techniques for tailoring large language models to particular applications through effective prompting and agent-based workflows.

AI JasonMar 8, 2026
RELintermediate
[Release] openclaw/openclaw v2026.2.23: openclaw 2026.2.23

OpenClaw v2026.2.23 release adds first-class Kilo Gateway and Moonshot provider support, introduces prompt caching documentation and per-agent parameter overrides, and hardens session maintenance with disk-budget controls and security headers. The release includes numerous fixes for browser SSRF policies, Telegram polling/reactions, context overflow detection, and agent reasoning/compaction behavior.

steipeteMar 6, 2026
RELintermediate
[Release] openclaw/openclaw v2026.2.24-beta.1: openclaw 2026.2.24-beta.1

OpenClaw v2026.2.24-beta.1 release introduces enhanced auto-reply/abort shortcuts with multilingual support, Android native onboarding with new tab-based navigation, and provider-agnostic Talk configuration. The update includes critical security and routing fixes for cross-channel session isolation, heartbeat delivery improvements, and extensive channel-specific reliability enhancements across Discord, WhatsApp, Matrix, and Telegram.

steipeteMar 6, 2026
RELintermediate
[Release] openclaw/openclaw v2026.2.24: openclaw 2026.2.24

OpenClaw v2026.2.24 release introduces enhanced auto-reply/abort shortcuts with multilingual support, improved Android UX with native onboarding, and critical security hardening including multi-user trust model detection and Docker namespace restrictions. The release includes breaking changes to heartbeat delivery targeting and sandbox security, along with extensive fixes for routing isolation, channel-specific message delivery, Discord voice reliability, and cross-platform messaging stability.

steipeteMar 6, 2026
RELintermediate
[Release] anthropics/claude-code v2.1.70: v2.1.70

Claude Code v2.1.70 release fixes multiple critical issues including API 400 errors with third-party gateways, model response problems after ToolSearch, clipboard corruption on Windows, and voice mode failures. The update also improves performance with 74% fewer prompt re-renders, adds VS Code session management in the activity bar, and introduces native MCP server management through the `/mcp` command.

ashwin-antMar 6, 2026