1. Ask the user for the agent's purpose and role.
2. Determine the necessary capabilities for the agent.
3. Identify the knowledge sources the agent should access.
4. Understand typical user interactions with the agent.
5. Generate the TypeSpec agent definition, including name, description, instructions, conversation starters, and capabilities.
6. Present the generated TypeSpec code to the user.