You interact with your agent through chat, just like texting a helpful assistant.
Before you start
You need:- A LangSmith account (sign up here).
- A Gmail account.
- A Google Calendar.
1. Create your agent
1
Navigate to Fleet
- In the LangSmith UI, click Switch to Fleet at the top of the left-hand navigation.
2
Choose a template
- Select Templates in the left-hand navigation, or click + in My Agents and select From template.
- Select the Executive Assistant template to create your agent.
- Click Create Agent at the top right.
3
Skip channel setup for now
When the agent prompts you to connect a channel, click Skip for now. You connect channels in a later step.
4
Answer onboarding questions
Provide information so your agent knows how to work the way you prefer.
2. Connect tools
Your agent asks you to connect to your Gmail and Google Calendar accounts. A connection gives your agent the tools to use a service. A channel lets the service trigger the agent. You connect Gmail and Google Calendar here, then add Gmail as a channel in Configure your agent.1
Connect Gmail
- In the Gmail row, click Connect on the right.
- In the dialog, click + Connect new account.
- Choose your account and click Continue.
- Review permissions and click Allow.
- LangSmith redirects you back to Fleet. Select Gmail to expand the row.
- Click Choose account and select the account you chose in step 3.
2
Connect Google Calendar
- Connecting Gmail authorized your Google account for Gmail only, not Google Calendar. To grant calendar access, click Update permissions on the right in the Google Calendar row.
- In the dialog, click Reauthorize.
- Choose your account and click Continue.
- Review permissions and click Allow.
- LangSmith redirects you back to Fleet. Close the dialog.
- Click Save and continue.
Your agent only accesses your accounts when working on tasks you give it. You can revoke access anytime in the agent sidebar or your Google account settings.
3. Configure your agent
There are two ways to configure your agent:- Chatting with your agent directly
- Modifying settings in the agent sidebar
1
Open the agent sidebar
Click Configure at the top right to open the agent sidebar.
2
View connections
Expand the Connections drawer. Gmail and Google Calendar appear as Connected. If either shows as not connected, complete 2. Connect tools before continuing.
3
Configure a tool to ask for approval
In the Connections drawer, click Gmail to view the available tools. By default, the tools are enabled and set to Auto, so they run without your approval.For Apply Label, click Ask, so your agent pauses and waits for your approval before continuing. You can accept the proposed action, or reject it and tell the agent what to change. For more information, see Human-in-the-loop.
4
Connect channels
Expand the Channels drawer. Click Gmail. Select the account that you set up for Connections. Click Confirm.
5
Save your changes
Click Save at the top of the sidebar to save your changes, then click X to close the panel.
4. Test your agent
1
Send your agent a task
In the agent chat, try out the Executive Assistant, for example:
Apply a “Review” label to emails that I receive, which require some kind of review from me.
2
Accept or reject the agent's action
Click Accept to approve the agent’s proposed action or tell the agent what it did wrong and click Reject.
3
Check your inbox in Gmail
If you clicked Accept, emails that need review now have the Review label in your inbox.
Edit your agent
You may want to update your agent’s instructions or include more tools. You can chat with your agent directly to ask for updates, or configure it from the agent sidebar:- Edit the agent’s instructions (its
AGENTS.md) in the Knowledge drawer. See Instructions. - Add integrations and tools in the Connections drawer, and set each tool to run automatically or ask for approval. See Tools.
- Connect Slack, Gmail, or Microsoft Teams in the Channels drawer.
- Run your agent on a schedule in the Schedules drawer.
- Change the model in the Advanced settings drawer.
Next steps
Now that you have created your first agent, here is what to explore:Try more templates
Explore prebuilt agents for common tasks
Add automation
Run your agent automatically with channels (Slack, email, schedules)
Connect more tools
Add Slack, GitHub, Linear, and more
Build complex agents
Use sub-agents to break down big tasks
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

