Skip to content

Commit 310ec7a

Browse files
authored
Merge pull request #2904 from port-labs/update-platform-request-triage-ai-guide-with-new-agentic-approach
Updated set up the Platform Request Triage AI agent guide
2 parents d7b65c3 + e1773b8 commit 310ec7a

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/guides/all/setup-platform-request-triage-ai-agent.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,11 @@ This blueprint will define the data model for platform requests.
138138
This action will be used by the AI agent to create new platform requests.
139139

140140
1. Go to the [actions](https://app.getport.io/actions) page.
141+
141142
2. Click `+ New Action`.
143+
142144
3. Toggle `Json mode` on.
145+
143146
4. Copy and paste the following JSON schema:
144147

145148
<details>
@@ -389,29 +392,29 @@ Finally, let's create the AI agent that will interact with users.
389392
"properties": {
390393
"description": "Platform Bot responsible for helping developers create platform requests and check their status. Assists with infrastructure, CI/CD, resource scaling, and research requests.",
391394
"status": "active",
392-
"allowed_blueprints": [
393-
"platform_request",
394-
"_user",
395-
"_team"
396-
],
397-
"allowed_actions": [
398-
"create_platform_request"
399-
],
400-
"prompt": "You are the Platform Team assistant. Help developers:\n1. Create platform requests by understanding their needs and pre-filling forms\n2. Check status of existing requests\n3. Provide guidance on request types",
395+
"prompt": "You are the Platform Team assistant. Help developers:\n1. Create platform requests by understanding their needs and pre-filling forms\n2. Check status of existing requests\n3. Provide guidance on request types\n\nWhen a developer wants to create a new platform request, call the \"create_platform_request\" action with the appropriate details.",
401396
"execution_mode": "Automatic",
402397
"conversation_starters": [
403398
"I need help scaling our payment service resources",
404399
"Can you create a request for CI/CD pipeline optimization?",
405400
"What platform requests are currently open?",
406401
"Show me my pending platform requests",
407402
"I need research help for implementing Redis caching"
403+
],
404+
"tools": [
405+
"^(list|get|search|track|describe)_.*",
406+
"run_create_platform_request"
408407
]
409408
},
410409
"relations": {}
411410
}
412411
```
413412
</details>
414413

414+
:::tip MCP Enhanced Capabilities
415+
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 platform requests, users, and teams. Additionally, we explicitly add `run_create_platform_request` to the tools, which instructs the AI agent to call this specific action to create new platform requests.
416+
:::
417+
415418
5. Click `Create`.
416419

417420
## How it works

0 commit comments

Comments
 (0)