Skip to main content
A Shared Datasource is a knowledge base created in one Project that can be shared with other Projects. This enables multiple teams to maintain a single source of truth and ensure consistent information across all agents in different projects.

What Makes a Datasource Shared?

  • Single Knowledge Base
  • Multiple Agents Access
  • Centralized Management
  • Consistent Updates
  • Team Collaboration
A datasource is β€œshared” when it’s assigned to multiple agents in your project. All assigned agents can:
  • Search the same content
  • Retrieve the same results
  • Benefit from updates
  • Reference consistent information

Benefits of Shared Datasources

Single Source of Truth

Update knowledge once, all agents benefit

Consistency

Ensure all agents have the same information

Efficiency

Reduce storage by avoiding duplication

Maintainability

Easier to manage and update content

Sharing Architecture

Single Agent vs Shared

  • Single-use datasource:
    • Agent A β†’ Datasource X
    • Agent B β†’ Datasource Y (separate copy)
  • Shared datasource:
    • Agent A, Agent B, and Agent C β†’ Datasource X (single copy)

Benefits of Consolidation


Creating Shared Datasources

Step 1: Create the Datasource

1

Go to Datasources

Navigate to Datasources in your project
2

Create New

Click Create Datasource
3

Choose Type

Select Manual or Google Drive
4

Set Details

Enter name, description, and purpose
5

Add Content

Upload files, add URLs, or enter text

Step 2: Assign to Multiple Agents

1

Go to Agents

Navigate to Agents section
2

Edit Agent

Open an agent’s configuration
3

Go to Datasources Tab

Find the Datasources section
4

Add Datasource

Click Add Datasource and select the shared datasource
5

Configure Settings

Set Top K, reranking, and other search parameters
6

Repeat for Other Agents

Assign to each agent that needs access

Step 3: Test Across Agents


Managing Shared Datasources

Centralized Updates

When you update a shared datasource:
  1. Update Content
  2. All Agents Notified
  3. Changes Available Immediately
  4. All Responses Use New Content
Timeline:
  1. Edit datasource (add/remove files or content)
  2. Changes are indexed
  3. All agents using this datasource see updates
  4. Immediate effect on subsequent queries

Versioning

Track changes to your shared datasource:
  • Version History: See what changed and when
  • Content Timeline: Track addition/removal of resources
  • Update Logs: Monitor who made changes
  • Rollback: Revert to previous versions if needed

Monitoring Usage

Track how agents use your shared datasource:
  • Agent References: See which agents access it
  • Query Analytics: Monitor search patterns
  • Performance: Track retrieval speed and accuracy
  • Coverage: Ensure all relevant queries find answers

Datasource Ownership & Cross-Project Sharing

Project Scope Model

Datasources are created in a Primary Project and can be shared with other Secondary Projects:
  • Project A (Primary β€” creates datasource)
    • Datasource X (owned here)
  • Project B (Secondary β€” can use Datasource X)
    • References Datasource X
  • Project C (Secondary β€” can use Datasource X)
    • References Datasource X

Access Control

Role-Based Access (Within Primary Project)

Secondary Project Access

All roles in secondary projects have:
  • βœ… Read-only access to datasource
  • βœ… Can assign to agents
  • βœ… Can search and query
  • ❌ Cannot modify content
  • ❌ Cannot modify schema

Real-World Scenarios

Scenario 1: Support Team

  • Company FAQ Datasource:
    • Product FAQ
    • Troubleshooting Guides
    • Support Procedures
  • Used by:
    • Customer Support Agent
    • Technical Support Agent
    • Sales Support Agent
Benefits:
  • All agents answer from same FAQ
  • Consistent support experience
  • Single update point for policies
  • New team members can access existing knowledge

Scenario 2: Company Knowledge Base

  • Company Datasource:
    • Employee Handbook
    • Policies & Procedures
    • Benefits Information
    • Internal Processes
  • Used by:
    • HR Assistant Agent
    • Onboarding Agent
    • Employee Support Agent
    • HR Reporting Agent
Benefits:
  • Centralized HR information
  • Consistent policy explanations
  • Automatic updates for changes
  • Audit trail of information source

Scenario 3: Product Documentation

  • Product Docs Datasource:
    • User Guide
    • API Documentation
    • Release Notes
    • Troubleshooting
  • Used by:
    • Customer Support Agent
    • Product Assistant Agent
    • Sales Support Agent
    • Developer Relations Agent
Benefits:
  • Keep documentation current
  • Multiple agents reference same docs
  • Quick updates for new releases
  • Consistent technical information

Best Practices for Shared Datasources

Clear Naming

Use names that clearly indicate the content and purpose

Descriptive Metadata

Document what’s in the datasource and how to use it

Regular Audits

Review which agents use each datasource

Update Schedule

Plan and communicate content updates

Documentation

For each shared datasource, document:
  • Purpose: What knowledge does it contain?
  • Coverage: What topics are included?
  • Update Frequency: How often is it updated?
  • Owner: Who maintains it?
  • Related Agents: Which agents use it?
  • Search Tips: How to find information effectively?

Content Organization

  • Structure: Use consistent naming and organization
  • Metadata: Add tags for easy categorization
  • Sections: Organize by topic or department
  • Updates: Version control and change tracking
  • Cleanup: Remove outdated content regularly

Performance Optimization

  • Content Quality: Well-structured documents retrieve better
  • File Size: Optimize large files for faster indexing
  • Specificity: Avoid redundant or overlapping content
  • Reranking: Enable for improved relevance
  • Top K: Tune based on your use case

Challenges & Solutions

Challenge: Content Divergence

Problem: Different teams create duplicate datasources with similar content Solution:
  • Audit existing datasources before creating new ones
  • Consolidate similar content
  • Establish naming conventions
  • Document datasource purposes clearly

Challenge: Outdated Information

Problem: Shared datasource becomes stale, misleading agents Solution:
  • Assign ownership for updates
  • Set update schedule and reminders
  • Monitor usage patterns
  • Archive old content clearly
  • Enable version history

Challenge: Conflicting Information

Problem: Multiple versions of policies or procedures Solution:
  • Single source of truth approach
  • Clear deprecation process
  • Version control
  • Update notifications
  • Audit trail of changes

Migration from Individual to Shared

If you currently have separate datasources for each agent:
1

Audit Content

Review all existing datasources for duplication
2

Consolidate

Merge similar content into single datasource
3

Update Agents

Reassign agents to shared datasource
4

Test

Verify all agents work correctly
5

Cleanup

Delete old individual datasources
6

Document

Record the new shared datasource structure

Next Steps