Skip to main content

AI-powered Python framework for tabular data enrichment and analysis using LLMs. Features include intelligent feature engineering, natural language data analysis, and AI agents for automated workflows.

Project description

Augini 🤖

augini logo

PyPI version Downloads Documentation Discord Twitter Follow Last Commit Hugging Face

🎯 What is Augini?

Augini is an AI-powered Python framework for tabular data enrichment and analysis. It leverages Large Language Models (LLMs) to:

  • Generate meaningful features from your data
  • Provide natural language data analysis
  • Create AI agents for automated data workflows

🚀 Quick Start

pip install augini
from augini import DataEngineer, DataAnalyzer
import pandas as pd

# Sample customer data
df = pd.DataFrame({
    'CustomerID': ['C001', 'C002'],
    'Age': [25, 45],
    'MonthlyCharges': [50.0, 75.0]
})

# Initialize with your API key (supports OpenAI, OpenRouter, Azure)
engineer = DataEngineer(
    api_key="your-api-key",
    model="gpt-4o-mini",  # Use OpenRouter's GPT-4
    base_url="https://openrouter.ai/api/v1"  # Optional: use OpenRouter
)

# Generate customer insights
df = engineer.generate_features(
    df=df,
    features=[
        {
            'new_feature_name': 'CustomerSegment',
            'new_feature_description': 'Classify customer segment based on age and spending',
            'output_type': 'category',
            'constraints': {'categories': ['Premium', 'Regular', 'Budget']}
        },
        {
            'new_feature_name': 'ChurnRisk',
            'new_feature_description': 'Calculate churn risk score (0-100)',
            'output_type': 'float',
            'constraints': {'min': 0, 'max': 100}
        }
    ]
)

# Initialize analyzer for natural language insights
analyzer = DataAnalyzer(
    api_key="your-api-key",
    model="gpt-4o-mini",
    enable_memory=True  # Enable conversation context
)

# Fit data and ask questions
analyzer.fit(df)
insights = analyzer.chat("What patterns do you see in customer segments?")
print(insights)

🎁 Key Features

🔄 DataEngineer

  • Feature Generation: Create meaningful features using AI
  • Data Augmentation: Enrich datasets with synthetic data
  • Custom Constraints: Control output formats and ranges
  • Batch Processing: Handle large datasets efficiently

📊 DataAnalyzer

  • Natural Language Analysis: Ask questions about your data
  • Pattern Detection: Uncover hidden trends and correlations
  • Memory Context: Build on previous analysis
  • Visualization Integration: Generate plots and charts

🤖 AI Agents

  • Automated Workflows: Create agents for repetitive tasks
  • Custom Behaviors: Define agent goals and constraints
  • Chain Actions: Connect multiple agents for complex workflows

🌐 Provider Agnostic

Augini works with multiple LLM providers:

  • OpenAI
  • OpenRouter
  • Azure OpenAI
  • Anthropic (coming soon)

🤝 Contributing

We welcome contributions!

📜 License

Augini is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

augini-0.3.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

augini-0.3.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file augini-0.3.1.tar.gz.

File metadata

  • Download URL: augini-0.3.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for augini-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2f6c33f2cf6603e7028d5c027fd270ba33b6603e6b4e38a1bd6a465696e613a5
MD5 c1560860e2c2c9c03de371a9714ee07d
BLAKE2b-256 961a893f0461cbd65baaee806ae2f03d1175d27397f776a9e9053872d7874ae4

See more details on using hashes here.

File details

Details for the file augini-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: augini-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for augini-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c67b45270b2419d451073bb268ffc4a931e5eafeb2493a4a59849dcf9f2783c
MD5 aa11b5c2b45ec7fa5de64924c59d4a68
BLAKE2b-256 cbe46314e9751b723da4d66e6d562fce00a13f3f90a5ae0f87843b9f41170047

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page