Skip to main content

Growth and Relationship AI Management Infrastructure

Project description

GRAMI-AI: Adaptive AI Agent Orchestration Framework

🚀 Overview

GRAMI-AI is a cutting-edge, async-first AI agent framework designed to solve complex computational challenges through intelligent, collaborative agent interactions. Built with unprecedented flexibility, this library empowers developers to create sophisticated, context-aware AI systems that can adapt, learn, and collaborate across diverse domains.

🌟 Key Innovations

  • Modular Agent Architecture: Seamlessly compose and deploy AI agents with dynamic capabilities
  • Multi-Provider LLM Integration: Leverage models from OpenAI, Anthropic, Google Gemini, and more
  • Async-First Design: High-performance, non-blocking agent interactions
  • Extensible Tool Ecosystem: Easily integrate custom tools and expand agent capabilities
  • Advanced Memory Management: Intelligent context retention and retrieval

🔍 Use Cases

While initially conceived for marketing and growth solutions, GRAMI-AI's flexible architecture supports a wide range of applications:

  • Marketing Intelligence
  • Research Automation
  • Complex Problem Solving
  • Interactive AI Assistants
  • Cross-Domain Knowledge Synthesis

📦 Installation

pip install grami-ai

🚀 Quick Start

Basic Agent Creation

from grami_ai.core.agent import AsyncAgent
from grami_ai.llms.gemini_llm import GeminiLLMProvider

# Create an AI agent for marketing
async def main():
    agent = await AsyncAgent.create(
        name="MarketingAssistant",
        llm="gemini",
        tools=["content_generation", "web_search"]
    )

    # Generate marketing content
    response = await agent.process({
        "type": "content_request",
        "platform": "instagram",
        "niche": "tech",
        "content_type": "post"
    })
    print(response)

# Run the agent
asyncio.run(main())

🛠 Core Components

Agent

  • Orchestrates LLM, memory, tools, and interfaces
  • Async message processing
  • Dynamic tool selection

Tools

  • Extensible async tool base class
  • Metadata-driven tool configuration
  • Support for various tool categories

Memory

  • Async memory providers
  • In-memory and Redis backends
  • Conversation and state management

Logging

  • Async logging with structured output
  • Configurable log levels
  • Context-aware logging

🔧 Configuration

GRAMI-AI supports environment-based configuration:

  • Development
  • Testing
  • Production
from grami_ai.core.config import get_settings

# Get environment-specific settings
settings = get_settings()

📡 Interfaces

  • WebSocket
  • Kafka Consumer
  • Custom Interface Support

🔒 Security

  • Environment variable management
  • Configurable token expiration
  • Resource limits

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines.

📄 License

MIT License, Copyright (c) 2024 WAFIR-Cloud

📞 Contact

For support, collaboration, or inquiries:

Repository Information

Repository: WAFIR-Cloud/grami-ai Issues: GitHub Issues Documentation: README

Python Compatibility

  • Supported Python Versions: 3.10 - 3.12
  • Recommended Python Version: 3.11

🌐 Roadmap

  • Enhanced LLM Provider Support
  • Advanced Tool Ecosystem
  • Comprehensive Documentation
  • Performance Benchmarking
  • Community Extensions

🏆 Acknowledgements

Built with ❤️ by YAFATek Solutions, pushing the boundaries of AI-powered solutions.

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

grami_ai-0.3.0.tar.gz (79.8 kB view details)

Uploaded Source

Built Distribution

grami_ai-0.3.0-py3-none-any.whl (95.2 kB view details)

Uploaded Python 3

File details

Details for the file grami_ai-0.3.0.tar.gz.

File metadata

  • Download URL: grami_ai-0.3.0.tar.gz
  • Upload date:
  • Size: 79.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for grami_ai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b8793b6d9f94f76455e6ad81ea76ea961629f0661a51f220b47ff72499d23e74
MD5 0f182eea1b7ff6ea908e6d25e25aa237
BLAKE2b-256 46e381dd0a24f57f79b233adca567c6caf080fb2dc1409a043ecd924b785c7e8

See more details on using hashes here.

File details

Details for the file grami_ai-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: grami_ai-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 95.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for grami_ai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02209a5e55acf2796834539660e5b2d7b8fc56f1effc732494f3e7c9bbbb599d
MD5 e2228636062e4a704f7d0aa39bda9675
BLAKE2b-256 a63d12bb455bbd4792d8136fda64a961f4d1c07c233ecc66551bd955fb470304

See more details on using hashes here.

Supported by

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