Skip to content

Commit ace142a

Browse files
hubwritercandyhoam-steadisaacmbrown
authored
Document agents experience on GitHub Mobile (#57629)
Co-authored-by: Candy Ho <candyho@github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
1 parent 94e4252 commit ace142a

File tree

13 files changed

+62
-26
lines changed

13 files changed

+62
-26
lines changed
607 KB
Loading

content/copilot/how-tos/chat-with-copilot/chat-in-mobile.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ You can ask a general question about software development{% ifversion ghec %} th
8181

8282
You can ask questions about a specific repository, to get help with understanding the code, or to get help with a specific task you're working on.
8383

84-
1. In {% data variables.product.prodname_mobile %}, navigate to a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen.
84+
1. In {% data variables.product.prodname_mobile %}, navigate to a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen.
8585
1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message.
8686

8787
For example, if you chose the repository you are working in as the context, you could ask:
@@ -132,7 +132,7 @@ You can chat with {% data variables.product.prodname_copilot_short %} about a fi
132132

133133
You can ask questions about a specific pull request in a repository.
134134

135-
1. In {% data variables.product.prodname_mobile %}, navigate to a pull request in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen.
135+
1. In {% data variables.product.prodname_mobile %}, navigate to a pull request in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen.
136136
1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message.
137137

138138
For example, you could ask:
@@ -150,7 +150,7 @@ You can ask questions about a specific pull request in a repository.
150150

151151
You can ask questions about a specific issue in a repository.
152152

153-
1. In {% data variables.product.prodname_mobile %}, navigate to an issue in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen.
153+
1. In {% data variables.product.prodname_mobile %}, navigate to an issue in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen.
154154
1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message.
155155

156156
For example, you could ask:
@@ -168,7 +168,7 @@ You can ask questions about a specific issue in a repository.
168168

169169
You can ask questions about a specific discussion in a repository.
170170

171-
1. In {% data variables.product.prodname_mobile %}, navigate to a discussion in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen.
171+
1. In {% data variables.product.prodname_mobile %}, navigate to a discussion in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen.
172172
1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message.
173173

174174
For example, you could ask:

content/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ You can ask {% data variables.product.prodname_copilot_short %} to start working
3434
You can assign an issue to {% data variables.product.prodname_copilot_short %}:
3535

3636
* On {% data variables.product.prodname_dotcom_the_website %} (see the [next section](#assigning-an-issue-to-copilot-on-githubcom))
37-
* On [{% data variables.product.prodname_mobile %}](/get-started/using-github/github-mobile)
38-
* Via the {% data variables.product.github %} API (see [later in this article](#assigning-an-issue-to-copilot-via-the-github-api))
37+
* On [{% data variables.product.prodname_mobile %}](#assigning-an-issue-to-copilot-on-github-mobile)
38+
* Via the [{% data variables.product.github %} API](#assigning-an-issue-to-copilot-via-the-github-api)
3939
* Using {% data variables.product.prodname_cli %} (see [`gh issue edit`](https://cli.github.com/manual/gh_issue_edit))
4040

41-
### Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %}
41+
## Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %}
4242

4343
You can assign an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %} in exactly the same way as you assign another user.
4444

@@ -77,11 +77,21 @@ You can also assign issues to {% data variables.product.prodname_copilot_short %
7777
* From the list of issues on a repository's **{% octicon "issue-opened" aria-hidden="true" aria-label="issue-opened" %} Issues** page.
7878
* When viewing an issue in {% data variables.product.github %} {% data variables.projects.projects_v2_caps %}.
7979

80-
### Assigning an issue to {% data variables.product.prodname_copilot_short %} via the {% data variables.product.github %} API
80+
## Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_mobile %}
81+
82+
1. In {% data variables.product.prodname_mobile %}, navigate to the repository that contains the issue you want to assign to {% data variables.product.prodname_copilot_short %}.
83+
1. Click **Issues**.
84+
1. Open the issue that you want to assign to {% data variables.product.prodname_copilot_short %}.
85+
1. Tap the **{% octicon "info" aria-label="information" %}** icon.
86+
1. Beside "Assignees", tap **Edit**.
87+
1. Beside "{% data variables.product.prodname_copilot_short %}", click the plus sign.
88+
1. Click **Done**.
89+
90+
## Assigning an issue to {% data variables.product.prodname_copilot_short %} via the {% data variables.product.github %} API
8191

8292
You can assign issues to {% data variables.product.prodname_copilot_short %} using the GraphQL API.
8393

84-
#### Creating and assigning a new issue
94+
### Creating and assigning a new issue
8595

8696
1. Make sure you're authenticating with the API using a user token, for example a {% data variables.product.pat_generic %} or a {% data variables.product.prodname_github_app %} user-to-server token.
8797
1. Verify that {% data variables.copilot.copilot_coding_agent %} is enabled in the repository by checking if the repository's `suggestedActors` in the GraphQL API includes {% data variables.product.prodname_copilot_short %}. Replace `octo-org` with the repository owner, and `octo-repo` with the repository name.
@@ -139,7 +149,7 @@ You can assign issues to {% data variables.product.prodname_copilot_short %} usi
139149
}
140150
```
141151

142-
#### Assigning an existing issue
152+
### Assigning an existing issue
143153

144154
1. Make sure you're authenticating with the API using a user token, for example a {% data variables.product.pat_generic %} or a {% data variables.product.prodname_github_app %} user-to-server token.
145155
1. Verify that {% data variables.copilot.copilot_coding_agent %} is enabled in the repository by checking if the repository's `suggestedActors` in the GraphQL API includes {% data variables.product.prodname_copilot_short %}. Replace `octo-org` with the repository owner, and `octo-repo` with the repository name.

content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ You can ask {% data variables.product.prodname_copilot_short %} to open a pull r
100100

101101
{% data variables.product.prodname_copilot_short %} will start a new session and respond with a link to the pull request it creates. It will work on the task and push changes to the pull request, and then add you as a reviewer when it has finished, triggering a notification.
102102

103+
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from {% data variables.product.prodname_mobile %}
104+
105+
1. In {% data variables.product.prodname_mobile %}, navigate to the repository where you want to create a pull request.
106+
1. Tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen.
107+
1. Enter a prompt to ask {% data variables.product.prodname_copilot_short %} to create a pull request.
108+
109+
For example: `Create a pull request to ...`.
110+
111+
{% data variables.product.prodname_copilot_short %} responds with a brief summary of the task it will perform, asking for your confirmation before it proceeds.
112+
113+
1. Check that {% data variables.product.prodname_copilot_short %} has interpreted your prompt correctly, then tap **Accept** or **Dismiss**.
114+
115+
{% data variables.product.prodname_copilot_short %} creates a pull request and gives you a link to it. It will work on the task and push changes to the pull request, and then add you as a reviewer when it has finished, triggering a notification.
116+
103117
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the {% data variables.product.prodname_cli %}
104118

105119
> [!NOTE]
@@ -116,13 +130,10 @@ You can use command line options to:
116130
* Select a repository, instead of targeting the current repository (`--repo`)
117131
* Follow the session log in real time (`--follow`)
118132

119-
120133
To see all of the available options, run `gh agent-task create --help`.
121134

122135
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the {% data variables.product.github %} MCP server
123136

124-
As an alternative to using {% data variables.copilot.copilot_chat_short %}, you can use the remote {% data variables.product.github %} MCP server to trigger {% data variables.copilot.copilot_coding_agent %} from any MCP host.
125-
126137
> [!NOTE]
127138
> * This capability is only available on the remote {% data variables.product.github %} MCP server and host applications where remote MCP servers are supported.
128139

content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,20 @@ To view the session logs, click on the pull request in the list, then click **Vi
8282

8383
You can also start new agent sessions from {% data variables.product.prodname_vscode %}. See [AUTOTITLE](/copilot/how-tos/agents/copilot-coding-agent/asking-copilot-to-create-a-pull-request#asking-copilot-to-create-a-pull-request-from-copilot-chat-in-visual-studio-code).
8484

85+
## Tracking sessions from {% data variables.product.prodname_mobile %}
86+
87+
You can see a list of your running and past pull requests generated by agents in {% data variables.product.prodname_mobile %}.
88+
89+
1. In the "Agents" section on the {% data variables.product.prodname_mobile %} Home page, tap **Agent Tasks**.
90+
91+
A list of the currently open pull requests, that you asked {% data variables.product.prodname_copilot_short %} to generate, is displayed.
92+
93+
1. Use the buttons at the top of the list to filter the list of pull requests.
94+
95+
For example, to show only merged tasks, tap **Open** and then, in the dropdown, tap **Merged**.
96+
97+
<img width=350rem src="/assets/images/help/copilot/coding-agent/mobile-status-dropdown.png" alt="Screenshot of the status dropdown list with a check mark against 'Open'." />
98+
8599
## Using the session logs to understand {% data variables.product.prodname_copilot_short %}'s approach
86100

87101
You can dive into {% data variables.product.prodname_copilot_short %}'s session logs in {% data variables.product.github %} or {% data variables.product.prodname_vscode %} to understand how it approached your task.

content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If you've been active on {% data variables.product.prodname_dotcom %}, you can f
5252
Before getting started contributing to an open source repository, it's recommended to check if the repository is being actively maintained. {% data variables.product.prodname_copilot_short %} can analyze a repository and tell you about its recent activity.
5353

5454
1. On the {% data variables.product.prodname_dotcom %} website, go to the repository you want to chat about.
55-
1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon at the top right of the page.
55+
1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon at the top right of the page.
5656
The full-page, immersive, mode {% data variables.copilot.copilot_chat %} is displayed. The heading at the top of the chat panel will show the name of the repository as an attachment.
5757
1. In the prompt box, type "Is this repository being actively maintained?" and press <kbd>Enter</kbd>. {% data variables.product.prodname_copilot_short %} replies in the chat panel.
5858

content/get-started/exploring-projects-on-github/using-github-copilot-to-explore-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ When you’re new to a project, it can be challenging to understand the purpose
2121

2222
1. On the {% data variables.product.prodname_dotcom %} website, go to the repository you want to chat about.
2323

24-
1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon at the top right of the page.
24+
1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon at the top right of the page.
2525
1. The heading at the top of the chat panel should read "Chatting about" followed by the name of the current repository.
2626

2727
If the wrong repository name is displayed, because you were previously chatting about another repository, click **All repositories** then choose the repository you want to chat about.

content/get-started/learning-to-code/finding-and-understanding-example-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ In the [`github/choosealicense.com`](https://github.com/github/choosealicense.co
7171

7272
If the README.md file doesn't give you all the answers, you can ask {% data variables.product.prodname_copilot_short %} to help you navigate the repository and locate functionality.
7373

74-
To open {% data variables.copilot.copilot_chat_short %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon next to the search bar and ask your question. For example:
74+
To open {% data variables.copilot.copilot_chat_short %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon next to the search bar and ask your question. For example:
7575

7676
>What is the main landing page for this Jekyll website?
7777

content/get-started/using-github/communicating-on-github.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ If you need more context or clarity on a specific issue or discussion, you can u
121121

122122
To ask a question about an issue or discussion:
123123

124-
1. From anywhere on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon next to the search bar in the top right of the page.
124+
1. From anywhere on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon next to the search bar in the top right of the page.
125125

126126
![Screenshot of the new conversation button, highlighted with a dark orange outline.](/assets/images/help/copilot/copilot-icon-top-right.png)
127127

content/get-started/using-github/github-mobile.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ With {% data variables.product.prodname_mobile %} you can:
3434

3535
The following documentation contains more information about using {% data variables.product.company_short %} features on {% data variables.product.prodname_mobile %}.
3636

37-
* For more information about notifications for {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile).{% ifversion mobile-code-search %}
38-
* For more information about using {% data variables.product.prodname_dotcom %} code search on {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile).{% endif %}{% ifversion fpt or ghec %}
39-
* For more information on two-factor authentication using {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#verifying-with-github-mobile). {% endif %}{% ifversion copilot-chat-for-mobile %}
40-
* For more information about using {% data variables.copilot.copilot_mobile %}, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/using-github-copilot-chat-in-github-mobile).{% endif %}{% ifversion copilot-chat-for-mobile %}
41-
* For more information about using {% data variables.copilot.copilot_extensions %} in {% data variables.product.prodname_mobile %}, see [Extending {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_mobile %}](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github-mobile#extending-copilot-chat-in-github-mobile).{% endif %}
37+
* Notifications for {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile).{% ifversion mobile-code-search %}
38+
* Using {% data variables.product.prodname_dotcom %} code search on {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile).{% endif %}{% ifversion fpt or ghec %}
39+
* Two-factor authentication using {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#verifying-with-github-mobile). {% endif %}{% ifversion copilot-chat-for-mobile %}
40+
* Using {% data variables.copilot.copilot_mobile %}, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/using-github-copilot-chat-in-github-mobile).{% endif %}{% ifversion copilot-chat-for-mobile %}
41+
* Assigning issues to {% data variables.product.prodname_copilot_short %} from {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue).{% endif %}{% ifversion copilot-chat-for-mobile %}
42+
* Using {% data variables.copilot.copilot_extensions %} in {% data variables.product.prodname_mobile %}, see [Extending {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_mobile %}](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github-mobile#extending-copilot-chat-in-github-mobile).{% endif %}
4243

4344
## Installing {% data variables.product.prodname_mobile %}
4445

0 commit comments

Comments
 (0)