Skip to main content
Register cloud storage providers on a Knowledge instance with content_sources. Each provider has .file() and .folder() methods that create content references you pass to knowledge.insert().

Supported Providers

All configs are importable from agno.knowledge.remote_content.

Provider Configuration

S3Config

GcsConfig

GitHubConfig

SharePointConfig

AzureBlobConfig

Supports two authentication methods: Service Principal (Azure AD client credentials) and SAS (Shared Access Signature) token. Provide one or the other, not both.
Requires the Storage Blob Data Reader (or Contributor) role on the storage account.

Inserting Content

Each config has .file() and .folder() methods that return content references for knowledge.insert().

Browsing S3 Files

S3Config supports paginated file listing with list_files(). This is useful for building file pickers or exploring bucket contents before ingesting.
An async variant alist_files() is also available with the same signature.

Multiple Sources

Register multiple providers on a single Knowledge instance.
When running with AgentOS, registered sources are exposed via the /knowledge/{id}/sources API endpoint for listing and browsing.

Next Steps