Agent executor error: could not convert a single message before hitting truncation

Hi @pravin_jha,

This error means the AI agent’s context window is full, often due to excessive information from enabled tools or services. Here are a few things to try:

  • Reduce Enabled Services (MCP Servers): Only keep the essential services active for your current task. You can manage these in Antigravity by going to the Agent panel > “…” menu > MCP Servers > Manage MCP Servers. Disable any you don’t need right now.
  • Use Skills: Leverage Antigravity Skills to load tools and knowledge on-demand, rather than all at once. This keeps the context window lean.
  • Start a New Chat: Clear the history by starting a new conversation with the agent.
  • Be Specific: Refine your prompts to be more focused, so tools return only the most relevant information.