QuizSix mastery questions covering the flagship PraisonAI Agents course.1. How do you attach a custom Python function so an Agent can invoke it automatically? Pass the function (with type hints and a clear docstring) in tools=[my_fn] Paste the source code inside instructions as a comment Set web=TrueSubmit AnswerShow AnswerTry Again2. What does output_pydantic=MyModel guarantee? The reply is parsed and validated against your Pydantic schema fields and types The reply is automatically translated into Spanish The agent skips calling any toolsSubmit AnswerShow AnswerTry Again3. When should you use web=True (WebConfig) vs Knowledge (RAG)? web=True for public live internet facts; Knowledge for private internal documents Knowledge for live breaking news; web=True for secret HR files They are identical aliasesSubmit AnswerShow AnswerTry Again4. What is the role of handoffs in a multi-agent system? Delegating a task cleanly from a generalist agent to a specialist agent Caching identical prompts on disk Formatting terminal output boxesSubmit AnswerShow AnswerTry Again5. Which Agent method runs an agent asynchronously inside an asyncio event loop? await agent.astart(…) agent.sync_run(…) agent.stream_lock(…)Submit AnswerShow AnswerTry Again6. What does CachingConfig(enabled=True, prompt_caching=True) optimize? Reduces repeat latency and token spend by reusing cached completions and prompt prefixes Increases reasoning depth on math puzzles Enforces tool approval prompts in CISubmit AnswerShow AnswerTry AgainSee your score Back to the Agents tutorial