Two New Open Source Tools for AI Agent Security and Optimization

The r/openclaw community has shared two open source tools for AI agent developers: AI Agent Defense Kit (shipped) and AgentGuard (in development).
AI Agent Defense Kit
This is a free security toolkit with runtime protection skills for AI agents. Available skills include:
skill-auditor- Audit skills before installation for security red flagsurl-preflight- Check URLs before your agent fetches themcontent-scanner- Scan content for hidden instructionssocial-engineering-detector- Detect manipulation tactics in messagesdependency-checker- Check packages for supply chain attacks
The repository is available at: https://github.com/moebius-ansa/ai-agent-defense-kit
AgentGuard
This toolkit (in development) addresses three common problems: unpredictable costs from autonomous AI systems burning tokens, lack of audit logs showing what agents are doing, and inbound security threats before content reaches agents.
Planned launch features include:
- Cost Estimator - Auto-calculates monthly costs by model + usage level
- Model Comparison - Compares 20+ models across providers with quality ratings; claims to find 90%+ savings with equivalent quality
- Security Scanner - Detects prompt injection, jailbreaks, system prompt leaks and other attacks before they hit your agent
- Activity Monitor - Tracks file changes, API calls, process activity
- Budget and Activity Alerts - Get notifications on Discord, Slack, Telegram, etc. when detecting unusual activity or major cost spikes
Installation will be via: pip install agentguard
The tool will feature an intuitive TUI interface and agent mode that lets your agent operate the platform for you.
These tools address practical concerns for developers running AI agents, particularly around security monitoring and cost management.
📖 Read the full source: r/openclaw
👀 See Also

2-Prompt System to Carry Context Between Claude Chats Without Token Waste
A developer shares two prompts for compressing an entire Claude conversation into a structured context block and loading it into a fresh chat, preserving decisions, work, and next steps.

alogin: A Go-based Security Gateway for AI Agents with Human-in-the-Loop
alogin is an open-source Go-based security gateway that provides a secure conduit between AI agents and infrastructure, featuring built-in MCP server support for Claude Desktop, human-in-the-loop safety rails, and encrypted credential storage.

Managing AI Context with a SQLite Knowledge Store and MCP Tools
One developer built RunawayContext, an MIT-licensed system that stores project lessons in SQLite with FTS5 and optional sqlite-vec, keeping per-session context under 3K tokens via MCP query tools and hard-coded caps.

OpenClaw's atoship skill turns AI assistant into shipping manager
The atoship skill for OpenClaw allows users to describe shipping needs in plain English, then handles carrier selection, rate comparison, label purchase, and tracking. Example commands include 'ship this 1lb box to New York, cheapest option'.