A comprehensive, zero-dependency framework for Generative AI and Agentic AI
Project description
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?"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
omnigenai-0.1.1.tar.gz
(23.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omnigenai-0.1.1.tar.gz.
File metadata
- Download URL: omnigenai-0.1.1.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c472ac98d2223d47976c3752323702bba319638d6d0d59f1246e9f32b532c2b
|
|
| MD5 |
752c8a2c2efcf8924c7b6f04e4add80d
|
|
| BLAKE2b-256 |
0b441f88ce7b488382f9049b5355713a97f69aa5b5c44301bcc7ae75cd636d15
|
File details
Details for the file omnigenai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: omnigenai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
357894cd8a92c097578b3cc4c33ef4deb536de42cd46bb9b881a3c6d2bbe31e9
|
|
| MD5 |
43a1fd9661492785f67767ed64db29f3
|
|
| BLAKE2b-256 |
229571abdab81f9cc42e3a687e9cad73f012dd538ffa35643bfb490a4a89ce04
|