AI SEO Strategist
AI SEO Strategist is a Python package designed to streamline the extraction and organization of AI-driven SEO strategies from user inputs. This tool helps founders and marketers quickly access practical SEO tactics tailored to their specific challenges or goals, enabling efficient planning and implementation.
Features
- Structured Output: Generates a categorized list of actionable SEO strategies.
- Customizable LLM: Uses
ChatLLM7by default but can be configured with anyBaseChatModelfrom LangChain. - Consistent Formatting: Ensures clear and consistent output for easy integration into workflows and documents.
- Flexible API Key Management: Supports API key via environment variable or direct input.
Installation
pip install ai_seo_strategist
Usage
Basic Usage
from ai_seo_strategist import ai_seo_strategist
user_input = "Improve SEO for my e-commerce website"
strategies = ai_seo_strategist(user_input)
print(strategies)
Using a Custom LLM
You can use any LLM compatible with LangChain's BaseChatModel. Here are examples using different LLMs:
Using OpenAI
from langchain_openai import ChatOpenAI
from ai_seo_strategist import ai_seo_strategist
llm = ChatOpenAI()
response = ai_seo_strategist(user_input, llm=llm)
print(response)
Using Anthropic
from langchain_anthropic import ChatAnthropic
from ai_seo_strategist import ai_seo_strategist
llm = ChatAnthropic()
response = ai_seo_strategist(user_input, llm=llm)
print(response)
Using Google
from langchain_google_genai import ChatGoogleGenerativeAI
from ai_seo_strategist import ai_seo_strategist
llm = ChatGoogleGenerativeAI()
response = ai_seo_strategist(user_input, llm=llm)
print(response)
Using an API Key
You can pass an API key directly or use an environment variable.
Using Environment Variable
export LLM7_API_KEY="your_api_key"
Passing API Key Directly
from ai_seo_strategist import ai_seo_strategist
user_input = "Improve SEO for my e-commerce website"
strategies = ai_seo_strategist(user_input, api_key="your_api_key")
print(strategies)
Parameters
- user_input (str): The user input text to process.
- llm (Optional[BaseChatModel]): The LangChain LLM instance to use. Defaults to
ChatLLM7. - api_key (Optional[str]): The API key for LLM7. If not provided, it will use the environment variable
LLM7_API_KEY.
Rate Limits
The default rate limits for LLM7's free tier are sufficient for most use cases. If you need higher rate limits, you can obtain a free API key by registering at LLM7.
Issues
For any issues or suggestions, please open an issue on GitHub.
Author
- Eugene Evstafev
- Email: hi@eugene.plus
- GitHub: chigwell
Metadata
Release files for ai-seo-strategist 2025.12.21130456
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_seo_strategist-2025.12.21130456.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_seo_strategist-2025.12.21130456-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / ai_seo_strategist-2025.12.21130456.tar.gz
| Download URL | ai_seo_strategist-2025.12.21130456.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e164e7a417396a18a8cf40a7d0afbcbbb9de08ea16dab9e48d3681b83c8bae90
|
|
BLAKE2b-256 checksum How to use checksums |
7fb7e80598c6223165a94744ad289896ec901d55737294b238b66761f1a1e5b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / ai_seo_strategist-2025.12.21130456-py3-none-any.whl
| Download URL | ai_seo_strategist-2025.12.21130456-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9a41092ccca3dd762e183ca46e65c16235e18a4daf164fe2921d2e9f4fa2ade
|
|
BLAKE2b-256 checksum How to use checksums |
4c30e78d858113d1d8b6c3b45c6ea5d8a154dbffcb650d9c87867a029b3a6540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|