Skip to content

Commit 6591d24

Browse files
authored
Merge pull request #2907 from port-labs/setup-task-manager-ai-agent-with-new-agent-tool-call
Refactor Task Manager AI agent to use the new agent tool calls
2 parents 18c355b + 55d9c6d commit 6591d24

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

docs/guides/all/setup-task-manager-ai-agent.md

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,33 +67,28 @@ For example:
6767
"title": "Task Manager",
6868
"icon": "Details",
6969
"properties": {
70-
"description": "Task Manager responsible for answering questions about Jira issues, repositories (including READMEs), pull requests, services, and teams.",
71-
"status": "active",
72-
"allowed_blueprints": [
73-
"jiraIssue",
74-
"jiraProject",
75-
"jiraUser",
76-
"githubTeam",
77-
"githubPullRequest",
78-
"githubRepository",
79-
"githubUser",
80-
"_team",
81-
"_user",
82-
"service"
83-
],
84-
"prompt":"You are an agent responsible for answering questions about Jira issues, Pull Requests, Repositories, and teams.\n### Guidelines \n - Provide clear information about active issues (can be also referred as open issues ) with statuses: To Do and In Progress \n - Provide clear information about completed issues (can be also referred as close issues ) with statuses: Closed and Done \n - Identify pull requests that require attention (open pull requests) \n - Provide clear information about repositories like their related service, README, team (in case \"owning team\" is empty, provide the \"Team\" related to the \"gitHub Teams\" property), last contributer, etc. \n - Identify connections between repositories, pull requests and issues to services",
85-
"execution_mode": "Approval Required",
86-
"allowed_actions": [ "_createJiraIssue" ],
87-
"conversation_starters": [
88-
"Which tasks are assigned to me",
89-
"How many tasks are currently in progress",
90-
"Which PRs should I review?"
91-
]
92-
}
70+
"description": "Task Manager responsible for answering questions about Jira issues, repositories (including READMEs), pull requests, services, and teams.",
71+
"status": "active",
72+
"prompt":"You are an agent responsible for answering questions about Jira issues, Pull Requests, Repositories, and teams.\n### Guidelines \n - Provide clear information about active issues (can be also referred as open issues ) with statuses: To Do and In Progress \n - Provide clear information about completed issues (can be also referred as close issues ) with statuses: Closed and Done \n - Identify pull requests that require attention (open pull requests) \n - Provide clear information about repositories like their related service, README, team (in case \"owning team\" is empty, provide the \"Team\" related to the \"gitHub Teams\" property), last contributer, etc. \n - Identify connections between repositories, pull requests and issues to services\n\nWhen needed, you can create new Jira issues by calling the appropriate action.",
73+
"execution_mode": "Approval Required",
74+
"conversation_starters": [
75+
"Which tasks are assigned to me",
76+
"How many tasks are currently in progress",
77+
"Which PRs should I review?"
78+
],
79+
"tools": [
80+
"^(list|get|search|track|describe)_.*",
81+
"run__createJiraIssue"
82+
]
83+
}
9384
}
9485
```
9586
</details>
9687

88+
:::tip MCP Enhanced Capabilities
89+
The AI agent uses MCP (Model Context Protocol) enhanced capabilities to automatically discover important and relevant blueprint entities via its tools. The `^(list|get|search|track|describe)_.*` pattern allows the agent to access and analyze related entities in your software catalog, such as Jira issues, GitHub pull requests, repositories, and teams. Additionally, we explicitly add `run__createJiraIssue` to the tools, which instructs the AI agent to call this specific action when needed to create new Jira issues.
90+
:::
91+
9792
5. Click on `Create` to save the agent.
9893

9994

@@ -193,4 +188,4 @@ You can further enhance the Task Manager setup by:
193188
- **Integration expansion**: [Add more data sources](/ai-interfaces/ai-agents/build-an-ai-agent#step-2-configure-data-access-tools) like GitLab or Azure DevOps.
194189
- **Automated notifications**: [Configure the agent](/ai-interfaces/ai-agents/interact-with-ai-agents#interaction-methods) to proactively notify about important updates.
195190
- **Custom conversation starters**: Add organization-specific queries to the [conversation starters](/ai-interfaces/ai-agents/build-an-ai-agent#step-5-activate-your-agent).
196-
- **Monitor and improve**: [Check how your developers are interacting](/ai-interfaces/ai-agents/interact-with-ai-agents#ai-interaction-details) with the agent and improve it according to feedback.
191+
- **Monitor and improve**: [Check how your developers are interacting](/ai-interfaces/ai-agents/interact-with-ai-agents#ai-interaction-details) with the agent and improve it according to feedback.

0 commit comments

Comments
 (0)