Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions src/content/docs/community/tools/strands-google.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
project:
pypi: https://pypi.org/project/strands-google/
github: https://github.com/cagataycali/strands-google
maintainer: cagataycali
service:
name: google
link: https://console.cloud.google.com/
title: strands-google
community: true
description: Google API integration
integrationType: tool
languages: Python
sidebar:
label: "google"
---


[strands-google](https://github.com/cagataycali/strands-google) is a universal Google API integration tool that provides access to 200+ Google APIs (Gmail, Drive, Calendar, YouTube, Sheets, Docs, and more) directly from your Strands agent.

## Installation

```bash
pip install strands-google
```

## Usage

```python
from strands import Agent
from strands_google import use_google, gmail_send, gmail_reply

agent = Agent(tools=[use_google, gmail_send, gmail_reply])

# Send an email
agent("Send an email to friend@example.com saying hello")

# Search Gmail
agent("Find all unread emails from last week")

# List Google Drive files
agent("Show me my recent Drive files")

# List calendar events
agent("What meetings do I have today?")
```

## Key Features

- **Universal Google API Access**: Gmail, Drive, Calendar, YouTube, Sheets, Docs, and 200+ more via the Discovery API
- **Flexible Authentication**: OAuth 2.0, Service Accounts, and API Keys
- **Gmail Helpers**: Easy email sending and replying with automatic encoding
- **Dynamic Scopes**: Configure OAuth scopes on-the-fly
- **Safety Prompts**: Mutative operations require confirmation by default

## Configuration

```bash
GOOGLE_OAUTH_CREDENTIALS=~/gmail_token.json # OAuth token path
GOOGLE_APPLICATION_CREDENTIALS=~/service-key.json # Service account path
GOOGLE_API_KEY=your_api_key # API key for public APIs
GOOGLE_API_SCOPES=gmail.readonly,drive.file # Default OAuth scopes
```

Run the authentication helper to set up OAuth:

```bash
python -m strands_google.google_auth
```

## Resources

- [PyPI Package](https://pypi.org/project/strands-google/)
- [GitHub Repository](https://github.com/cagataycali/strands-google)
- [Google Cloud Console](https://console.cloud.google.com/)
- [Google API Client Library](https://github.com/googleapis/google-api-python-client)
67 changes: 67 additions & 0 deletions src/content/docs/community/tools/strands-perplexity.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
project:
pypi: https://pypi.org/project/strands-perplexity/
github: https://github.com/mkmeral/strands-perplexity
maintainer: mkmeral
service:
name: perplexity
link: https://docs.perplexity.ai/
title: strands-perplexity
community: true
description: Perplexity web search
integrationType: tool
languages: Python
sidebar:
label: "perplexity"
---


[strands-perplexity](https://github.com/mkmeral/strands-perplexity) is a real-time web search tool powered by the [Perplexity Search API](https://docs.perplexity.ai/guides/search-quickstart) with citation support, regional filtering, and multi-query capabilities.

## Installation

```bash
pip install strands-perplexity
```

## Usage

```python
from strands import Agent
from strands_perplexity import perplexity_search

agent = Agent(tools=[perplexity_search])

# Search the web
agent("What are the latest developments in AI?")

# Research a topic
agent("Find recent papers on quantum computing breakthroughs")

# Get current information
agent("What happened in tech news today?")
```

## Key Features

- **Real-time Web Search**: Access ranked web search results from Perplexity's continuously refreshed index
- **Citations Included**: Every result includes URLs for proper attribution
- **Regional Search**: Filter results by country using ISO country codes
- **Language Filtering**: Filter results by language using ISO 639-1 codes
- **Domain Filtering**: Include or exclude specific domains from results
- **Multi-query Support**: Execute up to 5 related queries in a single request

## Configuration

```bash
PERPLEXITY_API_KEY=your_api_key # Required
```

Get your API key at: [Perplexity API Settings](https://perplexity.ai/account/api)

## Resources

- [PyPI Package](https://pypi.org/project/strands-perplexity/)
- [GitHub Repository](https://github.com/mkmeral/strands-perplexity)
- [Perplexity Search API Docs](https://docs.perplexity.ai/guides/search-quickstart)
- [Perplexity Search Best Practices](https://docs.perplexity.ai/guides/search-best-practices)
Loading