The Autonomous Agent with Tools template enables you to create advanced AI agents that can interact with external systems, APIs, and data sources to accomplish complex tasks. By equipping your agents with a toolkit of capabilities, they become more powerful and can deliver greater value to your organization.

Template Overview

This template provides a framework for building autonomous agents:

  • Tool definition and integration architecture
  • Tool selection and execution logic
  • Authentication and security controls
  • Error handling and fallback mechanisms
  • Conversation management with tool usage

Tool Integration

Connect agents to external capabilities and systems

Autonomous Reasoning

Agents intelligently select and use appropriate tools

Multi-step Solutions

Solve complex problems through sequential tool usage

Self-improvement

Agents learn from tool usage patterns and outcomes

Use Cases

Create agents that can:

  • Query databases and generate reports
  • Analyze spreadsheets and visualize data
  • Monitor metrics and send alerts
  • Perform complex calculations and simulations

Key Features

  • Tool Registry: Central repository of available tools and their capabilities
  • Parameter Mapping: Intelligent extraction of tool parameters from user requests
  • Execution Engine: Secure and monitored tool execution environment
  • Result Processing: Formatting and presentation of tool execution results
  • Conversation Memory: Context retention across multiple tool executions

Getting Started

For self-hosted Prisme.ai installations, follow these steps:

1

Download the Template

Visit the Prisme.ai Templates Repository and download the ZIP file

2

Import the Template

In your Prisme.ai instance, navigate to AI Builder > Import Workspace and upload the ZIP file

3

Configure Tools

Set up the tools you want your agent to access (APIs, databases, internal systems)

4

Define Tool Selection Logic

Configure how the agent decides which tools to use and when

5

Test and Publish

Validate tool functionality and publish your agent to AI Store

SaaS Prisme.ai users can access this template directly from the Template Gallery.

Tool Configuration Examples

API Tool Example

slug: get-weather
name: AIK/Tools/Get Weather
do:
  - Weatherapi.run:
      type: '{{body.arguments.type}}'
      q: '{{body.arguments.q}}'
      aqi: '{{body.arguments.aqi}}'
      alerts: '{{body.arguments.alerts}}'
      days: '{{body.arguments.days}}'
      output: weather
  - set:
      name: output
      value:
        value: '{{weather}}'
        description: the weather of the location '{{body.arguments.q}}'
validateArguments: true
arguments:
  body:
    type: object
    properties:
      arguments:
        type: object
        properties:
          type:
            enum:
              - current.json
              - forecast.json
              - alerts.json
            type: string
            enumNames:
              - current
              - forecast
              - alerts
            title: Type
            description: current, forecast or alerts
          q:
            type: string
            title: Query
            placeholder: Paris
            description: Pass US Zipcode, UK Postcode, Canada Postalcode, IP address, Latitude/Longitude (decimal degree) or city name.
          aqi:
            type: string
            enum:
              - 'yes'
              - 'no'
            enumNames:
              - 'yes'
              - 'no'
            tile: Air quality
            description: Get air quality data
          alerts:
            type: string
            enum:
              - 'yes'
              - 'no'
            enumNames:
              - 'yes'
              - 'no'
            tile: Alerts
            description: Get weather alert data
          days:
            type: number
            tile: Days
            description: Number of days of weather forecast. Value ranges from 1 to 10
description: Get the weather information for a location.
output:
  type: tool_result
  output: '{{output}}'
when:
  endpoint: true
labels:
  - tools

Send Email Tool Example

slug: send-email
name: AIK/Tools/Send Email
do:
  - SendMail.sendMail:
      to: '{{user.email}}'
      replyTo: '{{user.email}}'
      subject: '{{body.arguments.subject}}'
      body: '{{body.arguments.body}}'
      output: response
  - set:
      name: output
      value:
        value: '{{response}}'
        description: the status of sending email
validateArguments: true
arguments:
  body:
    type: object
    properties:
      arguments:
        type: object
        properties:
          subject:
            type: string
            title: Subject
            description: Email subject
          body:
            type: string
            title: Query
            placeholder: Body
            description: Body of the email
description: Send email based on subject and body.
output:
  type: tool_result
  output: '{{output}}'
when:
  endpoint: true
labels:
  - tools

Web Browsing Tool Example

slug: Web-browsing
name: AIK/Tools/Web browsing
do:
  - Serper.run:
      type: '{{body.arguments.type}}'
      q: '{{body.arguments.query}}'
      ql: '{{body.arguments.country}}'
      location: '{{body.arguments.location}}'
      num: 20
      output: search
      hl: '{{body.arguments.lg}}'
      tbs: '{{body.arguments.tbs}}'
  - set:
      name: currentDate
      value: '{% date({{run.date}}).iso %}'
  - set:
      name: output
      value:
        value: '{{search}}'
        description: List of search results. We are on '{{currentDate}}'
validateArguments: true
arguments:
  body:
    type: object
    properties:
      arguments:
        type: object
        properties:
          type:
            type: string
            enum:
              - search
              - news
              - images
              - videos
              - places
              - reviews
              - scholar
              - patents
              - shopping
          query:
            type: string
            title: User query
          country:
            type: string
            title: Country
          lg:
            type: string
            title: lg
          location:
            type: string
            title: location
          tbs:
            title: Date range
            type: string
            enum:
              - ''
              - qdr:h
              - qdr:d
              - qdr:w
              - qdr:m
              - qdr:y
            enumNames:
              - Any time
              - Past hours
              - Past 24 hours
              - Past week
              - Past month
              - Past year
description: Return list of web browsing results.
output:
  type: tool_result
  output: '{{output}}'
when:
  endpoint: true
labels:
  - tools

Security Considerations

  • Authentication: Use secure methods for tool authentication
  • Data Privacy: Ensure sensitive data is not exposed in conversations
  • Permission Boundaries: Limit tool capabilities to necessary operations
  • Execution Controls: Implement rate limiting and timeout policies
  • Logging and Auditing: Track all tool executions for security and compliance

Next Steps

After implementing this template, you can: