Your AI Superpower in Sales for Enterprise - Real-Time AI Multi-Agent Sales Orchestrator
AI SalesGrid - Solution Overview | Technical Deployment Guide
AI-SalesGrid is an innovative enterprise solution designed to revolutionize sales processes through real-time AI multi-agent orchestration. Leveraging the power of Google Cloud's Generative AI and Vertex AI Agent Builder, this system acts as an intelligent sales superpower, automating and optimizing complex sales workflows. It integrates deeply with CRM systems and various Google Cloud services to provide a seamless, scalable, and highly effective platform for sales teams.
The project focuses on building an agentic workflow to empower sales professionals, enabling them to close deals faster, personalize customer interactions, and gain actionable insights, ultimately enhancing overall sales efficiency and revenue.
- π― Real-Time Multi-Agent Orchestration: Deploys and manages a network of specialized AI agents that collaborate to achieve sales objectives.
- π§ Generative AI Integration: Utilizes Google Cloud's Vertex AI to power advanced conversational capabilities, content generation, and intelligent decision-making for sales agents.
- βοΈ Google Cloud Platform (GCP) Native: Built to leverage GCP services like Vertex AI, Firestore, BigQuery, Cloud Storage, and Cloud Run for scalability, reliability, and performance.
- π CRM Integration Readiness: Designed with architecture capable of integrating with existing CRM systems to enrich agent context and streamline data flow.
- β‘ Enterprise-Grade Scalability: Engineered for high performance and scalability to meet the demands of large enterprise sales operations.
- π Secure & Compliant: Adheres to Google Cloud's robust security and compliance standards.
- Automated Sales Workflow: Manages the entire sales journey from initial client inquiry to final reporting.
- Client Requirement Analysis: Specialized
solutionagentanalyzes client needs and matches them with available company services, strictly adhering to a knowledge base. - Dynamic Pricing Generation: The
pricingagentgenerates pricing, validating against predefined rules like discount limits, margin thresholds, and approval policies. - Formal Proposal Generation:
proposalagentcrafts professional proposals following company templates, incorporating solution and pricing details. - Comprehensive Risk Assessment:
riskagentevaluates delivery timelines, margin risks, and compliance issues, providing a risk score. - Executive Summary Reporting:
reportingagentgenerates concise executive summaries, formatted for CEO dashboards, detailing deal size, margin, risk, and approval status. - Google Vertex AI Search Integration: Sub-agents utilize
VertexAISearchToolto query an internal knowledge base (company-rules-kb) for up-to-date company policies and service information. - Google Search Integration: The Head Account Manager can perform external searches using
GoogleSearchToolfor broader context. - Multi-Agent Orchestration: A
root_agent(Head Account Manager) intelligently delegates tasks to various sub-agents for specialized processing. - Configurable AI Models: Agents are configured to use Google Gemini
gemini-2.5-flashmodel. - Containerized Deployment: Provided Dockerfile for easy, consistent, and scalable deployment.
The system's architecture is detailed in the Architecture Diagram directory and the AI SalesGrid - Tech Deployment.pdf. It typically involves a serverless deployment on Google Cloud Run, orchestrating various AI agents and interacting with data stores like Firestore and BigQuery, and potentially external CRM systems.
- Language: Python 3.11
- Agent Framework: Google Agent Development Kit (ADK)
- AI Platform: Google Vertex AI
- Large Language Model (LLM): Google Gemini (specifically
gemini-2.5-flash) - Search Tools:
VertexAISearchTool,GoogleSearchTool - Containerization: Docker
- Cloud Platform: Google Cloud Platform (for Vertex AI services, project
salesgrid-ai)
Backend & AI Core:
-
-
(Generative AI, Agent Builder)
- Agentic Framework: (Inferred: e.g., LangChain, CrewAI, or custom built using ADK-Python)
Database & Storage:
DevOps & Deployment:
Follow these steps to get AI-SalesGrid up and running for development and deployment.
- Python 3.9+: The core agents are developed in Python.
- Docker: Required for building and running the containerized application.
- Google Cloud SDK (gcloud CLI): Necessary for authenticating and interacting with Google Cloud services.
- Google Cloud Project: An active GCP project with billing enabled.
- Service Account Key: A JSON key file with necessary permissions (e.g., Vertex AI User, Firestore Editor, BigQuery Data Editor, Cloud Run Developer).
-
Clone the repository
git clone https://github.com/fadynabil10/AI-SalesGrid.git cd AI-SalesGrid -
Navigate to the agents directory
cd agents -
Install Python dependencies Assumes a
requirements.txtexists in theagents/directory.pip install -r requirements.txt
-
Environment setup Create a
.envfile in theagents/directory to configure Google Cloud settings and other necessary variables.cp .env.example .env
Example
.envcontent (customize with your actual values):# Google Cloud Project ID GCP_PROJECT_ID=your-gcp-project-id # Google Cloud Region (e.g., us-central1) GCP_REGION=your-gcp-region # Path to your Google Cloud service account key file # Set this environment variable for local development GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/service-account-key.json # Optional: CRM API Key or other integration secrets CRM_API_KEY=your-crm-api-key
Ensure
GOOGLE_APPLICATION_CREDENTIALSpoints to your service account JSON key file. -
Build the Docker image From the root
AI-SalesGriddirectory:docker build -t ai-salesgrid .
To run the AI-SalesGrid application locally using Docker:
docker run -p 8080:8080 \
-e GOOGLE_APPLICATION_CREDENTIALS=/app/path/to/your/service-account-key.json \
-v /path/to/your/service-account-key.json:/app/path/to/your/service-account-key.json:ro \
-e GCP_PROJECT_ID=your-gcp-project-id \
-e GCP_REGION=your-gcp-region \
ai-salesgridNote: Adjust the GOOGLE_APPLICATION_CREDENTIALS path inside the container and the volume mount (-v) to match your service account key location.
The application should be accessible at http://localhost:8080.
To run the AI-SalesGrid application on Cloud Run using Docker:
adk deploy cloud_run --project=$GOOGLE_CLOUD_PROJECT --region=$GOOGLE_CLOUD_LOCATION --with_ui .AI-SalesGrid/
βββ AI SalesGrid - Solution.pdf # High-level overview and business case
βββ AI SalesGrid - Tech Deployment.pdf # Detailed technical deployment guide
βββ Architecture Diagram/ # Contains architectural diagrams
β βββ (e.g., architecture-diagram.png)
βββ Dockerfile # Docker build instructions for the application
βββ agents/ # Core directory for AI agents and logic
βββ .env.example # Example environment variables
βββ requirements.txt # Python dependencies for the agents
βββ (e.g., main.py) # Main entry point for the agent orchestration
βββ (other agent modules) # Python files defining various agents and their functions
βββ AI-SalesGrid/
βββ AI SalesGrid - Solution.pdf
βββ AI SalesGrid - Tech Deployment.pdf
βββ Architecture Diagram
β βββ 1- Main Archtiect.png
β βββ 2- Multi Agent Arch.PNG
β βββ 3- Advanced Multi Agent with CRM.png
β βββ 4- Core Componant for Vertex AI Builder.jpg
β βββ 5.png
β βββ 6.png
β βββ 7.png
β βββ 8.png
βββ Dockerfile
βββ agents
βββ ai-salesgridAI-SALESGRID/
__root__
Dockerfile
agents
ai-salesgrid
agent.py
Architecture Diagram
1- Main Archtiect.png
Before getting started with AI-SalesGrid, ensure your runtime environment meets the following requirements:
- Programming Language: Python
- Container Runtime: Docker
Install AI-SalesGrid using one of the following methods:
Build from source:
- Clone the AI-SalesGrid repository:
β― git clone https://github.com/fadynabil10/AI-SalesGrid- Navigate to the project directory:
β― cd AI-SalesGrid- Install the project dependencies:
β― docker build -t fadynabil10/AI-SalesGrid .Run AI-SalesGrid using the following command:
Using docker Β
β― docker run -it {image_name}The application relies on environment variables for sensitive information and configuration. A .env.example file is provided in the agents/ directory.
| Variable | Description | Default | Required |
|---|---|---|---|
GCP_PROJECT_ID |
Your Google Cloud Project ID. | Yes | |
GCP_REGION |
The Google Cloud region for services (e.g., us-central1). |
Yes | |
GOOGLE_APPLICATION_CREDENTIALS |
Path to the Google service account key file (local dev only). | Yes | |
CRM_API_KEY |
API key for integrating with external CRM systems. | No | |
PORT |
The port on which the application will listen. | 8080 |
No |
Ensure your Google Cloud service account has the necessary IAM roles:
Vertex AI UserCloud Firestore User(or appropriate editor/viewer roles)BigQuery Data Editor(or appropriate editor/viewer roles)Storage Object Admin(for Cloud Storage access)Cloud Run Developer(for deployment to Cloud Run)
Assumes a typical Python application setup within the agents/ directory.
| Command | Description |
|---|---|
pip install -r requirements.txt |
Installs all required Python dependencies. |
python agents/main.py |
Starts the development server/agent orchestration. |
docker build . -t ai-salesgrid |
Builds the Docker image for the application. |
adk deploy cloud_run . |
Builds Solution to work Live API |
- Set up your Google Cloud Project and obtain a service account key.
- Configure environment variables in the
.envfile within theagents/directory. - Install Python dependencies using
pip. - Run the main application script (e.g.,
python agents/main.py) or use the Docker run command as described in "Start Development (Local Container)". - Interact with the agents via the exposed API (if any) or observe agent behaviors through logs.
AI-SalesGrid is designed for cloud-native deployment, primarily on Google Cloud Run using Docker containers.
The Dockerfile in the root directory defines the production build process.
# Build the production Docker image
docker build -t gcr.io/your-gcp-project-id/ai-salesgrid:latest .Replace your-gcp-project-id with your actual Google Cloud Project ID.
-
Authenticate Docker with Google Container Registry (GCR) or Artifact Registry
gcloud auth configure-docker
-
Push the Docker image to GCR/Artifact Registry
docker push gcr.io/your-gcp-project-id/ai-salesgrid:latest
-
Deploy to Google Cloud Run
gcloud run deploy ai-salesgrid \ --image gcr.io/your-gcp-project-id/ai-salesgrid:latest \ --platform managed \ --region your-gcp-region \ --allow-unauthenticated # Or specify appropriate authentication if needed --set-env-vars GCP_PROJECT_ID=your-gcp-project-id,GCP_REGION=your-gcp-region \ --service-account=your-cloud-run-service-account@your-gcp-project-id.iam.gserviceaccount.comReplace placeholders with your actual project ID, region, and a service account with Cloud Run Invoker permissions for the deployed service.
Refer to AI SalesGrid - Tech Deployment.pdf for more detailed deployment instructions.
The AI-SalesGrid, being an orchestrator, may expose a RESTful API for external systems or UI clients to interact with the multi-agent system.
The API base URL will be the endpoint provided by your Cloud Run service (e.g., https://ai-salesgrid-xxxxxx-uc.a.run.app).
Specific API endpoints would be detailed here based on the Python framework used (e.g., Flask, FastAPI) and the exposed agent functionalities.
Example (Hypothetical):
POST /api/v1/sales/engage: Initiates a new sales engagement workflow.- Request Body:
{ "customer_info": {}, "product_details": {} } - Response:
{ "engagement_id": "...", "status": "initiated" }
- Request Body:
GET /api/v1/sales/engagement/{id}: Retrieves the status and progress of an ongoing engagement.POST /api/v1/agent/task: Assigns a specific task to an agent or agent group.
We welcome contributions to AI-SalesGrid! Please see our Contributing Guide for details on how to get started, report bugs, and suggest features.
Contributors should follow the "Quick Start" guide for local development. Adherence to Python best practices, clear documentation of agent logic, and unit testing is highly encouraged.
- Google Cloud Platform: For providing a robust suite of AI and cloud services.
- Vertex AI & Generative AI: Powering the intelligence of the sales agents.
- Open Source Community: For the vast array of Python libraries and tools that make this project possible.
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π‘ Submit Pull Requests: Review open PRs, and submit your own PRs.
Contributing Guidelines
- Fork the Repository: Start by forking the project repository to your github account.
- Clone Locally: Clone the forked repository to your local machine using a git client.
git clone https://github.com/fadynabil10/AI-SalesGrid
- Create a New Branch: Always work on a new branch, giving it a descriptive name.
git checkout -b new-feature-x
- Make Your Changes: Develop and test your changes locally.
- Commit Your Changes: Commit with a clear message describing your updates.
git commit -m 'Implemented new feature x.' - Push to github: Push the changes to your forked repository.
git push origin new-feature-x
- Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
- Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
β Star this repo if you find it helpful!
Made with β€οΈ by Fady Nabil
