Skip to main content

OmniGenAI

A lightweight, provider-agnostic Python framework for Generative AI and Agentic AI.

  • Zero-dependency core
  • Tool calling and memory management
  • Provider adapters for OpenAI, Anthropic, Groq, Ollama
  • RAG and workflow support

Install

pip install omnigenai

Quick start

import os
from omnigenai import OmniAgent, tool, OpenAIProvider
from openai import OpenAI

@tool
def get_weather(location: str) -> str:
    return f"Weather in {location} is 72°F and sunny."

client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
provider = OpenAIProvider(client)
agent = OmniAgent(provider=provider, model="gpt-4", tools=[get_weather])
print(agent.run("What is the weather in Tokyo?"))

Metadata

Release files for omnigenai 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnigenai 0.1.1
File Size Uploaded Provenance Actions
omnigenai-0.1.1.tar.gz 23.7 kB Without provenance Details for omnigenai-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnigenai 0.1.1
File Interpreter ABI Platform Actions
omnigenai-0.1.1-py3-none-any.whl Python 3 none any Details for omnigenai-0.1.1-py3-none-any.whl

Total release size: 26.4 kB

Release files / omnigenai-0.1.1.tar.gz

Download URL omnigenai-0.1.1.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0c472ac98d2223d47976c3752323702bba319638d6d0d59f1246e9f32b532c2b
BLAKE2b-256 checksum
How to use checksums
0b441f88ce7b488382f9049b5355713a97f69aa5b5c44301bcc7ae75cd636d15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / omnigenai-0.1.1-py3-none-any.whl

Download URL omnigenai-0.1.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
357894cd8a92c097578b3cc4c33ef4deb536de42cd46bb9b881a3c6d2bbe31e9
BLAKE2b-256 checksum
How to use checksums
229571abdab81f9cc42e3a687e9cad73f012dd538ffa35643bfb490a4a89ce04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for omnigenai 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page