Metadata-Version: 2.4
Name: abhanti
Version: 1.0.0
Summary: Universal AI Client - Works out of the box with FREE endpoint
Home-page: https://github.com/yourusername/abhanti
Author: Abhishek
Author-email: abhishek@example.com
Keywords: ai llm openai free universal-client
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai>=1.0.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: requests>=2.28.0
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.1.0; extra == "langchain"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 🚀 Abhanti - Universal AI Client

**Works out of the box with FREE endpoint!**
```python
from abhanti import ai

# Works immediately - no setup needed!
response = ai("What is Python?")
print(response)
```

## ✨ Features

- ✅ **Zero config** - works instantly
- ✅ **FREE by default** - uses llm7.io
- ✅ **Universal** - supports ollama.com, OpenAI, etc.
- ✅ **Smart API keys** - prompts when needed
- ✅ **Model discovery** - fetch available models
- ✅ **LangChain compatible**

## 📦 Installation
```bash
pip install abhanti
```

## 🚀 Quick Start

### Zero Config (FREE)
```python
from abhanti import ai

print(ai("What is 2+2?"))
print(ai("Explain AI"))
```

### Ollama.com (with API key)
```python
from abhanti import AIClient

# Get API key from: https://ollama.com/account
client = AIClient(
    url="https://ollama.com/v1",
    api_key="your-ollama-key"
)

# Get available models
models = client.get_available_models()
print([m['name'] for m in models])

# Use specific model
client.model = "gpt-oss:120b"
response = client.ask("Hello!")
```

### Environment Variables
```bash
export ABHANTI_URL="https://ollama.com/v1"
export ABHANTI_API_KEY="your-key"
export ABHANTI_MODEL="gpt-oss:120b"
```

## 🔥 Supported Providers

- **llm7.io** (FREE, default)
- **ollama.com** (requires API key)
- **OpenAI** (requires API key)
- **Groq** (requires API key)
- **Anthropic** (requires API key)

## 📖 Examples

See `examples/` folder for more examples.

## 📄 License

MIT License
