Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
"use client";
import type { AgentId } from "@/mitm/types";
const AGENT_COLORS: Record<AgentId, { emoji: string; label: string; color: string }> = {
antigravity: { emoji: "🔵", label: "AG", color: "text-blue-400" },
kiro: { emoji: "🟠", label: "KR", color: "text-orange-400" },
copilot: { emoji: "🟢", label: "CP", color: "text-green-400" },
"ghe-copilot": { emoji: "🟩", label: "GHE", color: "text-emerald-400" },
codex: { emoji: "🟣", label: "CD", color: "text-purple-400" },
cursor: { emoji: "🔶", label: "CU", color: "text-yellow-400" },
zed: { emoji: "🔷", label: "ZD", color: "text-sky-400" },
"claude-code": { emoji: "🟡", label: "CC", color: "text-yellow-300" },
"open-code": { emoji: "⚪", label: "OC", color: "text-gray-400" },
trae: { emoji: "⬛", label: "TR", color: "text-gray-500" },
};
interface AgentEmojiProps {
agentId?: AgentId | string;
className?: string;
}
export function AgentEmoji({ agentId, className }: AgentEmojiProps) {
if (!agentId) return <span className={`text-sm ${className ?? ""}`}>🌐</span>;
const info = AGENT_COLORS[agentId as AgentId];
if (!info) return <span className={`text-sm ${className ?? ""}`}>🌐</span>;
return (
<span
className={`inline-flex items-center gap-0.5 text-xs font-mono ${info.color} ${className ?? ""}`}
title={agentId}
>
{info.emoji} {info.label}
</span>
);
}