Metadata-Version: 2.4
Name: analogai-sdk
Version: 0.1.3
Summary: Minimal Python SDK for AnalogAI completion endpoints
Author: Your Name
Author-email: you@example.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: python-dotenv (>=1.0.1)
Requires-Dist: requests (>=2.31.0)
Description-Content-Type: text/markdown

# AnalogAI SDK (minimal)

This workspace contains a tiny Python helper for calling AnalogAI completion endpoints.

## Setup

1. Install dependencies with Poetry.
2. Set environment variables in `.env` (already created with placeholders):
   - `ANALOGAI_API_KEY`
   - `ANALOGAI_AGENT_ID`
   - `ANALOGAI_BASE_URL` (optional; defaults to `https://app.analogai.net:7777`)

## Install (Poetry)

```bash
poetry install
```

### Local install (editable)

```bash
poetry run pip install -e .
```

### Global install (Poetry)

```bash
poetry build
pip install dist/analogai-0.1.0-py3-none-any.whl
```

## PyPI name

Once published, the package will be available on PyPI as `analogai`.

## Usage

```python
from analogai_sdk import AnalogAIClient

client = AnalogAIClient()
print(client.generate_completion("your text here"))

for chunk in client.generate_streaming_completion("your text here"):
    print(chunk)
```

### Passing agent ID directly

```python
from analogai_sdk import AnalogAIClient

client = AnalogAIClient(agent_id="your-agent-id")
print(client.generate_completion("your text here"))
```

