ANTIGRAVITY LABJP
TAG

context

7 articles
Back to all tags
Related:
antigravity5agent2troubleshooting2monorepo2editor2premium2pdf1verification1MCP1agents1TypeScript1workspace1
Editor/2026-06-29Advanced

When Antigravity Skips Parts of a Long Attached PDF — and a Gate That Forces It to Cite Sources

How to handle the case where Antigravity answers confidently from a long attached PDF but quietly skips a clause. With working code: a prompt that forces citations, and a gate that verifies each cited quote actually exists in the PDF.

Integrations/2026-06-26Advanced

Designing MCP Tool Output So It Doesn't Flood Your Agent's Context

When a custom MCP server returns large results in one shot, your Antigravity agent quietly degrades. Field projection, pagination, resource_link, and an output budget keep context from overflowing — shown with concrete TypeScript and measured numbers.

Tips/2026-05-24Intermediate

Why Antigravity's Agent Keeps Referencing the Previous Repo After You Switch Projects — Diagnosis and Fix

When Antigravity carries leftover state from your previous project into a new one, the agent confidently edits files that don't belong to the current repo. Here's how to diagnose and prevent that context bleed.

Agents/2026-05-10Intermediate

Resolving AGENTS.md Precedence Conflicts in Antigravity Monorepos

When you place AGENTS.md in both the repo root and a subfolder, Antigravity merges them — but the agent often follows the wrong one. Here is how the precedence actually works, with concrete patterns to remove the conflict.

Editor/2026-04-29Intermediate

Giving Antigravity Precise Context — Scoping What the AI Touches with @-References

Use Antigravity's @file, @symbol, @folder, and @docs references to scope what the AI reads and edits. Includes a quick-reference table, why scoping still matters in the long-context era, and what to check when @ stops working.

Editor/2026-04-06Advanced

Antigravity × Monorepo Development Masterclass — Optimize AI Context in Nx & Turborepo Environments for Seamless Cross-Package Changes

A deep-dive guide to maximizing Antigravity in Nx and Turborepo monorepos. Covers per-package AGENTS.md design, cross-package type-safe refactoring, AI-optimized build pipelines, and team-level workflow standardization for large codebases.

Antigravity/2026-03-15Advanced

Antigravity Context Design Guide— Make AI Actually Understand Your Project with AGENTS.md and Knowledge Items

Learn how to design project context so Antigravity performs at its best. Covers writing AGENTS.md, building Knowledge Items, sharing context across teams, and improving suggestion quality incrementally.