Skip to main content
RAG (Retrieval Augmented Generation) agents with built-in tools represent the most powerful no-code agents available on the Prisme.ai platform. These agents combine access to your organization’s knowledge with specialized capabilities that extend beyond conversation, enabling them to perform complex tasks, access external information, generate media, and process data.

Understanding RAG + Tools Agents

These advanced agents integrate three key capabilities:

Foundation Models

Powerful language models providing reasoning and generation capabilities

Knowledge Retrieval

Access to your organization’s documents and information

Specialized Tools

Built-in capabilities that extend functionality beyond conversation
This combination creates versatile, capable agents that can:
  • Answer questions using your internal knowledge
  • Retrieve up-to-date information from the web
  • Generate visual content based on requirements
  • Perform data analysis and calculations
  • Create structured documents and outputs
  • Execute multi-step processes with diverse requirements

Available Built-in Tools

Prisme.ai provides several powerful tools that can be activated without writing code:
  • Web Browsing
  • Image Generation
  • Code Interpreter
Description: Access current information from the internet using Serper integrationKey Capabilities:
  • Search for current information beyond the model’s knowledge cutoff
  • Access specific websites for reference
  • Verify facts and retrieve up-to-date data
  • Gather content from public sources
Best For:
  • Research and information gathering
  • Validating time-sensitive information
  • Supplementing internal knowledge with public data
  • Competitive research and market intelligence
Configuration Options:
  • Search domains to include/exclude
  • Number of results to retrieve
  • Safe search settings
  • Result depth control

When to Use RAG + Tools Agents

These advanced agents are ideal for scenarios that require a combination of:

Knowledge Access

Situations requiring specific organizational information

Current Information

Needs for up-to-date data beyond internal documentation

Visual Content

Requirements for custom images or visualizations

Data Processing

Calculations, analysis, or data transformation tasks

Multi-capability Workflows

Processes that combine different types of tasks

Complex Problem Solving

Scenarios requiring multiple approaches and resources

Example Use Cases

  • Research Assistant
  • Technical Support
  • Content Creator
  • Financial Analyst
Purpose: Help users research topics by combining internal knowledge with current information and analysis.Tool Utilization:
  • Retrieves relevant internal research and documentation
  • Searches the web for current information and trends
  • Generates data visualizations to compare findings
  • Creates structured research summaries
Example Interaction:
User: I need to understand the competitive landscape for cloud storage solutions, focusing on security features.

Agent: I'll help you research this topic. Let me check our internal knowledge first, then supplement with current market information.

[Accesses knowledge base for internal research on cloud storage security]

Based on our internal analysis from Q1 this year, the key security features in cloud storage include:
- End-to-end encryption
- Zero-knowledge architecture
- Multi-factor authentication
- SOC 2 compliance
- Data residency options

Let me check the current market landscape to see if there have been any recent developments.

[Uses web browsing to search for current information]

I've found some updated information. In the last three months, several major providers have introduced:
- Quantum-resistant encryption options
- Biometric authentication integration
- Enhanced ransomware protection features

Would you like me to create a visualization comparing the top competitors based on these security features?

User: Yes, please create a comparison chart.

[Uses code interpreter to generate a visual comparison]

Here's a visual comparison of the top cloud storage providers and their security features:
[Image: Comparative chart of cloud storage security features]

Would you like me to focus on any specific aspect of this competitive landscape?

Creating RAG + Tools Agents

Building these advanced agents involves a structured process:
1

Define Agent Purpose and Requirements

Clearly specify what your agent needs to accomplish.Key considerations:
  • Primary use cases and scenarios
  • Required knowledge sources
  • Necessary tools and capabilities
  • User expectations and needs
  • Success criteria and metrics
2

Prepare Knowledge Resources

Assemble and organize the information your agent needs.Activities include:
  • Document collection and curation
  • Content organization and structuring
  • Metadata creation for improved retrieval
  • Validation of information accuracy
  • Knowledge base configuration
3

Select and Configure Tools

Determine which built-in tools your agent requires.For each tool:
  • Enable required capabilities
  • Configure settings and parameters
  • Define usage boundaries and limitations
  • Set up authentication if required
  • Test individual tool functionality
4

Create System Instructions

Develop comprehensive guidance for your agent.Key components:
  • Agent role and purpose definition
  • Knowledge utilization guidelines
  • Tool selection and usage criteria
  • Response formatting requirements
  • Error handling and limitations
5

Develop Tool Usage Instructions

Provide specific guidance for when and how to use each tool.Include for each tool:
  • When to use (clear criteria)
  • How to use effectively
  • Result interpretation guidance
  • Error handling approaches
  • User communication during tool use
6

Test and Refine

Validate and iteratively improve your agent.Testing approach:
  • Scenario-based evaluation
  • Tool usage verification
  • Knowledge retrieval assessment
  • Edge case testing
  • Real user feedback collection

Implementation in AI Knowledge

Creating a RAG + Tools agent in Prisme.ai’s AI Knowledge is straightforward:
  • 1. Create New Agent
  • 2. Connect Knowledge Base
  • 3. Enable Built-in Tools
  • 4. Create System Instructions
  • 5. Test and Deploy
Start by creating a new agent in the AI Store.Steps:
  1. Navigate to AI Knowledge
  2. Click “Create New Agent”
  3. Provide name and basic description

Tool-Specific Instructions

To maximize the effectiveness of each built-in tool, include specific guidance in your system instructions:
When to Use:
Use the web browsing tool when:
1. The user asks for current information beyond our internal documentation
2. You need to verify or update potentially outdated internal information
3. The user explicitly requests external research
4. You need specific details not available in our knowledge base

Always tell the user when you're using web browsing and cite the sources of information retrieved.
How to Use Effectively:
When using the web browsing tool:
1. Form specific, focused search queries
2. Prioritize authoritative sources
3. Cross-reference information from multiple sources when possible
4. Summarize key findings rather than providing entire web pages
5. Extract only relevant information to the user's query
6. Always cite sources with title and URL
Example Prompt Section:
For web browsing:
- Formulate clear, specific search queries focused on the user's information need
- Prioritize results from authoritative sources (.gov, .edu, established industry sites)
- Synthesize information from multiple sources rather than relying on a single result
- Always cite your sources by including "According to [source name] ([URL])"
- When information conflicts between sources, acknowledge this and explain which source seems more reliable and why
- If search results are insufficient, try reformulating your query or tell the user what information you were unable to find
When to Use:
Use the image generation tool when:
1. The user explicitly requests a visual representation
2. A complex concept would benefit from visual explanation
3. Creating diagrams, charts, or illustrations would enhance understanding
4. Visual examples would supplement textual information

Always confirm with the user before generating images unless explicitly requested.
How to Use Effectively:
When generating images:
1. Create detailed, specific prompts for the image generator
2. Align visual style with our brand guidelines (professional, clean, modern)
3. Ensure images are accessible and clear in their meaning
4. Generate appropriate alternatives if the user is not satisfied
5. Focus on informative rather than decorative images
Example Prompt Section:
For image generation:
- Create detailed, specific prompts that describe both content and style
- Follow our brand style guidelines: clean, professional, with our color palette (blue #1A73E8, gray #5F6368, green #34A853)
- For diagrams and charts, prioritize clarity and readability over aesthetic complexity
- Ensure generated images are appropriate and professional for business use
- Always ask the user if they'd like modifications to the generated image
- If the user requests a specific style, artistic approach, or reference, incorporate these elements explicitly in your prompt
When to Use:
Use the code interpreter tool when:
1. Performing calculations or data analysis is required
2. The user has provided data that needs processing
3. Creating data visualizations would be valuable
4. Converting between data formats is needed
5. The user explicitly requests analysis or computation

Explain your analytical approach before executing code.
How to Use Effectively:
When using code interpreter:
1. Write clean, well-commented code for transparency
2. Explain your analysis approach in non-technical terms
3. Present results with clear interpretations
4. Create visualizations that highlight key insights
5. Handle errors gracefully with meaningful explanations
Example Prompt Section:
For code interpretation and data analysis:
- Write clean, well-documented Python code with comments explaining key steps
- Before executing code, explain your analytical approach in non-technical terms
- When analyzing data, first examine its structure and quality before drawing conclusions
- Create informative visualizations with clear titles, labeled axes, and appropriate chart types
- Always interpret results in business terms, focusing on insights rather than just numbers
- When errors occur, provide clear explanations and alternative approaches
- For data visualizations, use our brand colors (#1A73E8 blue, #34A853 green, #FBBC04 yellow, #EA4335 red)

Best Practices for RAG + Tools Agents

Clear Tool Selection Logic

Provide explicit criteria for when to use each toolExample:
Use web browsing when:
- Information needed is likely to change frequently
- The query explicitly mentions current events
- Internal knowledge is insufficient or outdated

Use code interpreter when:
- Calculations are required
- Data analysis is needed
- Visualization would enhance understanding

User Communication During Tool Use

Keep users informed about tool usage and processesExample:
Before using a tool:
"I'll need to search the web to find the most current information on this topic."

During tool use:
"I'm analyzing the data you provided. This will take a moment."

After tool use:
"Based on the web search results from [sources], I found that..."

Integrate Knowledge and Tool Outputs

Combine information from different sources coherentlyExample:
First present information from internal knowledge:
"According to our documentation, our current process is..."

Then supplement with web information:
"Based on recent industry updates from [source], there are new approaches..."

Finally, provide analysis:
"Analyzing these approaches against your requirements shows that..."

Handle Tool Failures Gracefully

Provide alternative approaches when tools don’t work as expectedExample:
"I tried to search for current information on this topic, but couldn't find specific results. Instead, let me:
1. Share what we know from our internal documentation
2. Suggest some alternative approaches
3. Recommend reliable sources you might check directly"

Troubleshooting Common Issues

Symptoms:
  • Agent fails to find relevant information
  • Responses ignore available knowledge
  • Retrieved information is incorrect or outdated
Solutions:
  • Verify knowledge base configuration and content
  • Improve document chunking and organization
  • Enhance retrieval instructions in system prompt
  • Add more specific examples of knowledge utilization
  • Test with focused queries to validate retrieval
Symptoms:
  • Agent uses tools when unnecessary
  • Agent fails to use tools when needed
  • Consistent selection of suboptimal tools
Solutions:
  • Refine tool selection criteria in system instructions
  • Provide explicit examples of when to use each tool
  • Add clear guidance for choosing between similar tools
  • Include decision tree for tool selection logic
  • Test with scenarios that require tool selection decisions
Symptoms:
  • Ineffective web searches returning irrelevant results
  • Low-quality image generation
  • Code that errors or produces incorrect results
Solutions:
  • Improve tool-specific instructions and examples
  • Add more detailed guidance on effective tool usage
  • Provide templates for common tool operations
  • Include error handling instructions for each tool
  • Test each tool independently with focused scenarios
Symptoms:
  • Disjointed responses that fail to synthesize information
  • Tool outputs presented without context or interpretation
  • Failure to connect retrieved knowledge with tool results
Solutions:
  • Enhance instructions for information synthesis
  • Add examples of well-integrated responses
  • Include specific guidance on combining knowledge and tool outputs
  • Provide templates for presenting multi-source information
  • Test with scenarios requiring information integration
Symptoms:
  • Slow response times
  • Tool execution timeouts
  • Memory errors during complex operations
Solutions:
  • Optimize tool usage guidelines for efficiency
  • Add instructions for breaking complex tasks into manageable steps
  • Provide fallback options for resource-intensive operations
  • Include guidelines for managing large datasets
  • Test with progressively complex scenarios to identify limits

Advanced Configuration Techniques

For organizations seeking to maximize the effectiveness of their RAG + Tools agents, consider these advanced approaches:

Tool Chaining

Configure agents to use tools in sequence for complex workflowsImplementation:
For market analysis requests:
1. First use knowledge retrieval to access internal market research
2. Then use web browsing to gather current market trends
3. Next use code interpreter to analyze combined data
4. Finally use image generation to create visualizations of findings
Tool chaining enables sophisticated multi-step processes that combine different capabilities.

Contextual Tool Configuration

Adapt tool behavior based on user type or request contextImplementation:
When supporting technical users:
- Include more technical detail in responses
- Show code snippets and raw data when relevant
- Use technical terminology in explanations

When supporting business users:
- Focus on insights rather than technical details
- Emphasize visualizations over raw data
- Use business terminology in explanations
Contextual configuration improves relevance for different user groups.

Hybrid Knowledge Approach

Strategically combine internal knowledge with web informationImplementation:
For product information:
- Always use internal knowledge for specifications and features
- Use web browsing only for competitor comparisons
- Supplement with internal competitive analysis when available
- Clearly distinguish between internal and external information
This approach ensures accurate internal information while benefiting from external context.

Progressive Disclosure

Structure responses to present essential information firstImplementation:
When providing analysis results:
1. Start with key findings and recommendations
2. Follow with supporting evidence and context
3. Offer detailed analysis for those who want to explore further
4. Provide visualization options that users can request
Progressive disclosure improves usability by preventing information overload.

Enterprise Integration Considerations

When deploying RAG + Tools agents in enterprise environments, consider:
  • Usage Policies: Define clear guidelines for appropriate tool usage
  • Content Review: Establish processes for reviewing agent outputs
  • Audit Trails: Implement logging for tool usage and information sources
  • Access Controls: Limit specific tools to appropriate user groups
  • Compliance Checks: Ensure tool outputs meet regulatory requirements
Implementation Example:
This agent's web browsing capability is restricted to approved domains and automatically logs all external information sources. Image generation follows brand guidelines and content policies. All data processing complies with our data handling procedures and privacy requirements.
Protect sensitive information when using tools:
  • Data Handling: Establish clear rules for handling sensitive information
  • Tool Boundaries: Define what data can be processed by each tool
  • Output Scrubbing: Implement checks for sensitive information in outputs
  • Authentication: Manage service credentials securely
  • User Permissions: Align tool access with user authorization levels
Implementation Example:
Code interpreter will not process files containing PII or confidential information. Web browsing is restricted to public information only. All generated content is screened for sensitive information before delivery to users.
Prepare for widespread adoption and usage:
  • Resource Management: Monitor and optimize tool usage patterns
  • Usage Quotas: Implement appropriate limits for resource-intensive tools
  • Caching Strategies: Cache common tool results when appropriate
  • Load Balancing: Distribute tool processing across resources
  • Performance Monitoring: Track response times and resource utilization
Implementation Example:
This agent implements smart caching for web search results and common calculations. Image generation is limited to 10 images per user per day. Resource-intensive code execution has a 60-second timeout with graceful degradation to simpler analysis for complex requests.

Next Steps

Ready to create your own RAG + Tools agent? Continue with these resources:
I