Weftgate is a local CLI tool that verifies code connections written by AI agents, catching errors like typos in environment variables, missing imports, and broken route handlers before deployment. It runs offline without API keys or runtime dependencies and integrates with agents, GitHub Actions, and MCP servers.