Tutorial: Using AI Agents
Pro Only
In this part of the tutorial, we build a small Flask web app - a personal bookmarks manager - from scratch, using Wing Pro's AI agent integration.
To get started, set up an empty project for it now. You will need to navigate back to the Tutorial in the Help menu after creating your project, or you can view this page on the website:
- From the Project menu, choose New Project.
- Select the New directory card, enter a Name, and select the directory to Create In.
- Set Set Up for AI Agent to the agent you installed. This enables Wing's AI agent integration, which tells the agent how to work with Wing's AI agent user interface, and how to access its code analysis, debugging, testing, and version control features.
- Under Python, set Environment to New Env and Manager to Virtualenv (or any other that you prefer), and enter Flask in Packages to Install. Under Version control, check Create a Git repository.


- Press Create Project to create and configure your project.
Wing shows a checklist as it creates the directory, builds the venv, and installs Flask:


It then opens the project with the Tasks tool on the left and the AI Agent tool on the right.
The first time you submit a task, the agent will prompt you to authenticate against your account, if you have not already done so outside of Wing.
The agent may also ask for permission before it starts work -- Claude Code asks you to trust the current directory (the one you just created with your project) and to approve Wing's MCP servers, which give it access to Wing's functionality. All agents may ask about the actions they want to take as they take them, providing various options according to your level of trust and security requirements.
Section Contents
3.1. Tutorial: Review and Commit
3.2. Tutorial: Iterating with the Agent
3.3. Tutorial: The Tasks Tool
3.4. Tutorial: The Autonomous Tasks Manager
3.5. Tutorial: Tests as Agent Feedback
3.6. Tutorial: Run Modes and Plans
3.7. Tutorial: Working Safely
3.8. Tutorial: Getting Reliable Results