# Ads4GPTs Python Integration SDK

Monorepo containing Python SDKs for Ads4GPTs integrations.

## Requirements

-   Python ^3.11
-   Poetry

## Package Structure

```
ads4gpts-python-integration-sdk/
├── packages/
│   ├── core/           # Core SDK (ads4gpts-core)
│   ├── langgraph/      # LangGraph integration (ads4gpts-langgraph)
│   ├── fastapi/        # FastAPI integration (ads4gpts-fastapi)
│   └── ehko/           # Ehko integration (ads4gpts-ehko)
```

## Installation

Install each package in order:

```bash
# Core
cd packages/core
poetry install

# LangGraph
cd ../langgraph
poetry install

# FastAPI
cd ../fastapi
poetry install

# Ehko
cd ../ehko
poetry install
```

## Development

All packages use path dependencies with `develop = true`, so changes are immediately reflected across packages.

## Publishing

This monorepo uses `poetry-monorepo-dependency-plugin` to automatically convert path dependencies to version dependencies during build.

To publish:

```bash
# 1. Build and publish core first
cd packages/core
poetry build
poetry publish

# 2. Build and publish langgraph
cd ../langgraph
poetry build
poetry publish

# 3. Build and publish fastapi
cd ../fastapi
poetry build
poetry publish

# 4. Build and publish ehko
cd ../ehko
poetry build
poetry publish
```

## License

[PENDING]
