← All Projects

AiWand

One Python package for calling OpenAI and Gemini through the same interface, with provider switching and structured output handled for you.

By Aman Kumar • 2025-07-20

AI
AiWand

AiWand

One API to rule them all - Unified OpenAI and Gemini interface with automatic provider switching and structured data extraction from anywhere.

On every project I ended up writing the same scaffolding again: call the endpoint, handle the response, coerce it into a structured shape. AiWand is that scaffolding as one package, so it stops being a thing I rewrite.

What it does

  • call_ai is one interface across providers, with the provider picked automatically.
  • extract pulls structured data out of text, web links, documents and images.
  • Output comes back as Pydantic objects, so there is no JSON parsing step.
  • Convenience wrappers for summarising, chat, generation and classification.
  • A CLI for the same operations without writing a script.

Tech Stack

  • Python

Github

PIP

AI