GQC Agent provides a multi-agent AI pipeline for intent classification, query rephrasing, and note creation using GPT and Gemini models.
Project description
GQC Agent
GQC Agent is a Python library that helps developers work with AI models using an agent-based pipeline. It includes model validation, intent classification, query rephrasing, summarization, and an orchestrator that manages all agents.
Table of Contents
Overview
GQC Agent is a lightweight, modular Python library designed to orchestrate multiple AI agents for large language model (LLM) applications. It simplifies the workflow of building intelligent conversational systems by providing robust tools for input validation, model management, intent prediction, query rephrasing, and interaction summarization.
Features
- GPT & Gemini model validator
- Intent classifier
- Query rephraser
- Summarizer agent
- Orchestrator for multi-agent flow
Technologies
Project is created with:
- Python 3.13
Use Cases
- AI chatbots with enhanced context handling
- Retrieval-Augmented Generation (RAG) for Q&A and summarization
- Workflow automation using multiple AI agents
- Note-taking and interaction summarization
Installation
Install using pip (after publishing)
pip install gqc-agent
Environment Setup
Create a .env file:
OPENAI_API_KEY=your_key
GEMINI_API_KEY=your_key
Usage Examples
Example: Using OPENAI Client
from gqc_agent.core.orchestrator import AgentPipeline
OPENAI_API_KEY = "YOUR_OPENAI_API_KEY"
client = AgentPipeline(api_key=OPENAI_API_KEY, model="gpt-4o-mini")
response = client.run_gqc(
user_input={
"input": "Tell me more about both of them",
"current": {"role": "user", "query": "Tell me more about both of them", "timestamp": "2025-01-01 12:30:45"},
"history": [
{"role": "user", "query": "What is meant by active broker", "timestamp": "2025-01-01 12:00:00"},
{"role": "assistant", "response": "Active broker is active in treaty and claims modules.", "timestamp": "2025-01-01 12:01:10"},
{"role": "user", "query": "Where is pending broker used?", "timestamp": "2025-01-01 12:02:00"},
{"role": "assistant", "response": "Pending broker is used in TR Treaty module.", "timestamp": "2025-01-01 12:03:22"}
]
}
)
print(response)
Example: Using GEMINI Client
from gqc_agent.core.orchestrator import AgentPipeline
GEMINI_API_KEY = "YOUR_GEMINI_API_KEY"
client = AgentPipeline(api_key=GEMINI_API_KEY, model="gemini-pro")
response = client.run_gqc({...})
print(response)
List Supported Models
from gqc_agent.core.orchestrator import AgentPipeline
print("GPT Models:", AgentPipeline.get_supported_models(api_key="YOUR_OPENAI_API_KEY"))
print("Gemini Models:", AgentPipeline.get_supported_models(api_key="YOUR_GEMINI_API_KEY"))
Load System Prompt
from gqc_agent.core.orchestrator import AgentPipeline
prompt = AgentPipeline.show_system_prompt(filename="sample.md")
print(prompt)
Project Status
- Active Development
Planned updates:
- More LLM vendor support
- Better agent routing
- Improved accuracy
- Performance optimizations
License
MIT License
Author
BIG ENTITIES
BE AI Developers
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
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 gqc_agent-1.0.1.tar.gz.
File metadata
- Download URL: gqc_agent-1.0.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4114ef379f46695c6c59e4af1064b15805bff08ddf3fa06b721c256470ff11d
|
|
| MD5 |
6a58f5217684ebf1d1b91f3f2071bcf8
|
|
| BLAKE2b-256 |
d132d30a4037362021f8231b011b2771636d9a12cf6d5592d910ee11b0136d9d
|
File details
Details for the file gqc_agent-1.0.1-py3-none-any.whl.
File metadata
- Download URL: gqc_agent-1.0.1-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c37b7478fb9d9a75f40b8ed2d497979890104755af88a76fda36fdf7020365d8
|
|
| MD5 |
7273129c29786ddf0fe2e54ada5ef725
|
|
| BLAKE2b-256 |
dee728cb4bef7d200f717fda6b4f9712e05c1872880d4d93999ab65e0df4d8d2
|