Skip to content

NestAI is a comprehensive Python library designed to simplify and enhance interactions with AI models across multiple providers.

License

Notifications You must be signed in to change notification settings

pigeonposse/nestAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

NestAI by PIGEONPOSSE

HEADER

Web About us Github Donate

Universal AI Interface with Advanced Features

NestAI is a comprehensive Python library designed to simplify and enhance interactions with AI models across multiple providers. It offers a unified interface that abstracts away the complexities of working with different AI services, while providing advanced features like semantic caching, cost optimization, and detailed metrics tracking. NestAI is built to be both simple for beginners and powerful for advanced users, making AI integration seamless for any project.

The core of NestAI is its ability to intelligently manage AI requests, automatically selecting the most appropriate and cost-effective provider based on your needs. With built-in security features like PII detection and redaction, NestAI ensures your data remains protected while providing transparent insights into how decisions are made through its comprehensive logging and metrics systems.

⚠️ Version 1.0.0. API may evolve in future releases.

πŸ’‘ Semantic Caching reduces costs and improves response times by intelligently reusing similar responses.

Features

  • πŸš€ Simple Interface: Use AI with just a single line of code
  • πŸ”„ Multiple Providers: Support for OpenAI, Anthropic, Mistral, Cohere, and more
  • πŸ’° Cost Optimization: Automatically select the most cost-effective provider and model
  • ⚑ Caching: Avoid redundant API calls with both exact and semantic caching
  • πŸ“Š Streaming: Real-time text streaming for interactive applications
  • πŸ”’ Security: PII detection and redaction, encryption, and audit trails
  • πŸ“ˆ Metrics: Detailed usage tracking and performance metrics
  • 🧩 Customization: Plugin system for extending functionality
  • πŸ” Transparency: Decision logging and cost estimation
  • πŸ“¦ Batch Processing: Process multiple requests efficiently
  • πŸ’¬ Conversation Management: Manage conversations with context and memory
  • πŸ”„ Pipeline Processing: Create custom processing pipelines

Prerequisites

  • Python 3.8 or higher
  • API keys for the AI providers you wish to use

Installation

To install NestAI, use pip:

# Using pip
pip install nestai

# Using pipenv
pipenv install nestai

# Using poetry
poetry add nestai

β˜• Donate

Help us to develop more interesting things.

Donate

πŸ“œ License

This software is licensed with GPL-3.0.

Read more

🐦 About us

PigeonPosse is a ✨ code development collective ✨ focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.

More

πŸ“œ License

This software is licensed with GPL-3.0.

Read more

🐦 About us

PigeonPosse is a ✨ code development collective ✨ focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.

More

Collaborators

Name Role GitHub
Alejo Alejo Author & Development @alejomalia
Pigeonposse PigeonPosse Collective @PigeonPosse

Web About Us Donate Github Twitter Instagram Medium

About

NestAI is a comprehensive Python library designed to simplify and enhance interactions with AI models across multiple providers.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages