Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Interested in sponsoring this project? Feel free to reach out!
- [Job Search Agent](memory_agents/job_search_agent) - Job search agent with memory.
- [Brand Reputation Monitor](memory_agents/brand_reputation_monitor) - AI-powered brand reputation monitoring with news analysis and sentiment tracking.
- [Product Launch Agent](memory_agents/product_launch_agent) - Competitive intelligence tool for analyzing competitor product launches.
- [AI Consultant Agent](memory_agents/ai_consultant_agent/) - An AI-powered consulting agent that uses **Memori v3** as a long-term memory fabric and **ExaAI** for research.

### πŸ“š RAG Applications

Expand Down
10 changes: 10 additions & 0 deletions memory_agents/ai_consultant_agent/.streamlit/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[theme]
base = "light"

# Optional overrides for later:
# primaryColor = "#0b57d0"
# backgroundColor = "#ffffff"
# secondaryBackgroundColor = "#f5f7fb"
# textColor = "#000000"


136 changes: 136 additions & 0 deletions memory_agents/ai_consultant_agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
## AI Consultant Agent with Memori

An AI-powered consulting agent that uses **Memori v3** as a long-term memory fabric and **ExaAI** for research. Built with Streamlit for the UI.

Memori repo: [`GibsonAI/Memori`](https://github.com/GibsonAI/Memori)

## Features

- 🧠 **AI Readiness Assessment**: Analyze a company’s AI maturity, goals, and constraints.
- 🎯 **Use-Case Recommendations**: Suggest where to integrate AI (workflows, CX, analytics, product, ecosystem).
- πŸ’΅ **Cost Bands**: Provide rough cost bands and complexity for proposed AI initiatives.
- βš™οΈ **Web / Case-Study Research**: Use **ExaAI** to pull in relevant case studies and industry examples.
- 🧾 **Persistent Memory (Memori v3)**: Store and reuse context across assessments and follow-up questions.

## Prerequisites

- Python 3.11 or higher
- [uv](https://github.com/astral-sh/uv) package manager (fast Python package installer)
- OpenAI API key (`OPENAI_API_KEY`)
- ExaAI API key (`EXA_API_KEY`)
- (Optional) `SQLITE_DB_PATH` if you want to override the default `./memori.sqlite` path

## Installation

### 1. Install `uv`

If you don't have `uv` installed:

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```

Or using pip:

```bash
pip install uv
```

### 2. Clone and Navigate

From the root of the main repo:

```bash
cd memory_agents/ai_consultant_agent
```

### 3. Install Dependencies with `uv`

Using `uv` (recommended):

```bash
uv sync
```

This will:

- Create a virtual environment automatically.
- Install all dependencies from `pyproject.toml`.
- Make the project ready to run.

### 4. Set Up Environment Variables

Create a `.env` file in this directory:

```bash
OPENAI_API_KEY=your_openai_api_key_here
EXA_API_KEY=your_exa_api_key_here
# Optional:
# SQLITE_DB_PATH=./memori.sqlite
```

## Usage

### Run the Application

Activate the virtual environment created by `uv` and run Streamlit:

```bash
# Activate the virtual environment (created by uv)
source .venv/bin/activate # On macOS/Linux
# or
.venv\Scripts\activate # On Windows

# Run the app
streamlit run app.py
```

Or using `uv` directly:

```bash
uv run streamlit run app.py
```

The app will create (or use) a local **SQLite database** (default `./memori.sqlite`) for Memori v3.

In the UI you can:

1. **Enter API Keys** in the sidebar (or rely on `.env`).
2. **Configure a Company Profile** in the **AI Assessment** tab.
3. **Run an AI Assessment** to get:
- Recommendation (adopt AI now / later / not yet),
- Priority use cases,
- Cost bands & risks,
- Next-step plan.
4. **Use the Memory Tab** to ask about:
- Previous recommendations,
- Previously suggested cost bands,
- How new ideas relate to earlier assessments.

## Project Structure

```text
ai_consultant_agent/
β”œβ”€β”€ app.py # Streamlit interface (assessment + memory tabs)
β”œβ”€β”€ workflow.py # ExaAI research + OpenAI-based consulting workflow
β”œβ”€β”€ pyproject.toml # Project dependencies (uv format)
β”œβ”€β”€ README.md # This file
β”œβ”€β”€ requirements.txt # PIP-style dependency list
β”œβ”€β”€ .streamlit/
β”‚ └── config.toml # Streamlit theme (light)
β”œβ”€β”€ assets/ # Logos (reused from other agents)
└── memori.sqlite # Memori database (created automatically)
```

## License

See the main repository LICENSE file.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

---

Made with ❀️ by [Studio1](https://www.Studio1hq.com) Team

Loading
Loading