"""01: The simplest possible agent. One query(), read-only tools, print every message.""" import asyncio from claude_agent_sdk import ClaudeAgentOptions, query from demo_util import PROJECT, show async def main(): options = ClaudeAgentOptions( cwd=PROJECT, allowed_tools=["Read", "Glob", "Grep"], max_turns=5, ) async for message in query( prompt="What does this project do? Answer in two sentences.", options=options, ): show(message) asyncio.run(main())