LLM Station
A unified, provider-agnostic agent framework for OpenAI, Google Gemini, and Anthropic Claude with tool integration.
Quick Start
Install
# Install from PyPI (recommended)
pip install llm-station
# Optional: Install with specific provider support
pip install llm-station[openai] # OpenAI only
pip install llm-station[anthropic] # Anthropic only
pip install llm-station[google] # Google only
pip install llm-station[all] # All providers
# Development install
git clone https://github.com/your-repo/llm_station.git
cd llm_station
pip install -e .[dev]
Set Up API Keys
# Add to .env file
echo "OPENAI_API_KEY=your-openai-key" >> .env
echo "GEMINI_API_KEY=your-gemini-key" >> .env
echo "ANTHROPIC_API_KEY=your-anthropic-key" >> .env
Use Any Provider
from llm_station import Agent
from dotenv import load_dotenv
import os
load_dotenv()
# Same interface, any provider
agent = Agent(
provider="openai", # or "google", "anthropic"
model="gpt-4o-mini",
api_key=os.getenv("OPENAI_API_KEY")
)
# Basic chat
response = agent.generate("What is machine learning?")
print(response.content)
# Use tools with simple, memorable names
response = agent.generate(
"Search for recent AI developments",
tools=["search"] # Auto-routes to best search provider
)
print(response.content)
if response.grounding_metadata:
sources = response.grounding_metadata.get("sources", [])
print(f"Found {len(sources)} sources")
# Multiple tools work together
response = agent.generate(
"Research AI trends, analyze the data, and create a summary",
tools=["search", "code", "json"]
)
Documentation
Release files for llm-station 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_station-1.0.1.tar.gz | 71.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_station-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 142.4 kB
Release files / llm_station-1.0.1.tar.gz
| Download URL | llm_station-1.0.1.tar.gz |
|---|---|
| Size | 71.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5974b76bf986bf00ebdd9714a70469b88bcef59ab40a021de98231fe2cfaeac0
|
|
BLAKE2b-256 checksum How to use checksums |
562e9cc4a0a4094aac81902bc73524c8c8b5d4c93e9d0314bcf9eda7a097b1d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Release files / llm_station-1.0.1-py3-none-any.whl
| Download URL | llm_station-1.0.1-py3-none-any.whl |
|---|---|
| Size | 70.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e48b95d0ef3efa85deddfb53ff7205d09e85fb35dbab3c37af8b7300088974d
|
|
BLAKE2b-256 checksum How to use checksums |
7b1f5305dbbc6ead216bfdd8318273d9a0a3c565f524383463c14dafa78ab67f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|