import asyncio from google.antigravity import Agent, LocalAgentConfig async def agentic_workflow(user_query): # This matches the documentation for Antigravity you provided config = LocalAgentConfig( system_instructions="You are the lead architect of DOLOR3V Studio. Handle file generation and build triggers.", vertex=True, project="dolor3v-unified-backend" ) async with Agent(config) as agent: # The agent decides whether to call the builder or the design-tool response = await agent.chat(user_query) return await response.text()