Skip to main content

Check out Port for yourselfย 

Interact with AI agents

Closed Beta Feature

This feature is currently in closed beta with limited availability. Access is provided on an application basis.

To request access, please reach out to us by filling this form.

Getting startedโ€‹

Once you've built your AI agents, it's time to interact with them. Port provides several ways to communicate with your AI agents.

Interaction optionsโ€‹

You have two main approaches when interacting with AI agents in Port:

Choose a specific agent when you have a structured scenario, such as triggering an agent from an automation. This approach works best when you know exactly which agent has the expertise needed for your task.

Interaction methodsโ€‹

You can add AI agents directly to your dashboards as interactive widgets, providing easy access to their capabilities right where you need them.

Follow these steps to add an AI agent widget:

  1. Go to a dashboard.
  2. Click on + Widget.
  3. Select the AI Agent.
  4. Choose the agent and position it in the widget grid.

The widget provides a chat interface where you can ask questions and receive responses from the agent without leaving your dashboard.

AI interaction detailsโ€‹

Every AI agent interaction creates an entity in Port, allowing you to track and analyze the interaction. This information helps you understand how the agent processed your request and identify opportunities for improvement.

Planโ€‹

The plan shows how the agent decided to tackle your request and the steps it intended to take. This provides insight into the agent's reasoning process.

Tools usedโ€‹

This section displays the actual steps the agent took and the APIs it used to complete your request. It can be particularly helpful for debugging when answers don't meet expectations, such as when an agent:

  • Used an incorrect field name.
  • Chose an inappropriate property.
  • Made other logical errors.

Tokensโ€‹

Each interaction records both input and output tokens, helping you understand your LLM usage. This information can be valuable for:

  • Identifying which agents consume more of your token allocation.
  • Optimizing prompts for efficiency.
  • Managing costs effectively.

Limitsโ€‹

Port applies limits to AI agent interactions to ensure fair usage across all customers:

  • Daily query limit: 20 queries per minute.
  • Token usage limit: 200,000 tokens per minute.
Usage limits

Usage limits may change without prior notice. Once a limit is reached, you will need to wait until it resets.
If you attempt to interact with an agent after reaching a limit, you will receive an error message indicating that the limit has been exceeded.

Troubleshooting & FAQโ€‹

The agent is taking long to respond (Click to expand)

Depending on the agent definition and task, as well as load on the system, it may take a few seconds for the agent to respond. Response times between 20 to 40 seconds are acceptable and expected.

If responses consistently take longer than this, consider:

  • Checking the details of the invocation.
  • Reaching out to our Support if you feel something is not right.
How can I interact with the agent? (Click to expand)

Currently, you can interact with Port AI agents through:

  • The AI agent widget in the dashboards.
  • Slack integration.
  • API integration.

We're working on adding direct interaction through the Port UI in the future.

What can I ask the agent? (Click to expand)

Each agent has optional conversation starters to help you understand what it can help with. The questions you can ask depend on which agents were built in your organization.

For information on building agents with specific capabilities, see our Build an AI agent guide.

What happens if there is no agent that can answer my question? (Click to expand)

If no agent in your organization has the knowledge or capabilities to answer your question, you'll receive a response mentioning that the agent can't assist you with your query.

The agent is getting it wrong and has incorrect answers (Click to expand)

AI agents can make mistakes. If you're receiving incorrect answers:

  1. Analyze the tools and plan the agent used (visible in the invocation details).
  2. Consider improving the agent's prompt to better guide its responses.
  3. Try rephrasing your question or breaking it into smaller, more specific queries.
  4. Reach out to our support for additional assistance if problems persist.

Remember that AI agents are constantly learning and improving, but they're not infallible.

My agent isn't responding in Slack (Click to expand)

Ensure that:

  • The Port Slack app is properly installed in your workspace.
  • The app has been invited to the channel where you're mentioning it.
  • You're correctly mentioning the app (@Port).
  • You've completed the authentication flow with the app.
  • You haven't exceeded your daily usage limits.
How can I provide feedback on agent responses? (Click to expand)

The AI invocation entity contains the feedback property where you can mark is as Negative or Positive. We're working on adding a more convenient way to rate conversation from Slack and from the UI.

Security considerationsโ€‹

AI agent interactions in Port are designed with security and privacy as a priority.

For more information on security and data handling, see our AI agents overview.