
![DoCoreAI Banner](https://raw.githubusercontent.com/SajiJohnMiranda/DoCoreAI/main/assets/DoCoreAI-Github-header-image.jpg)

# DoCoreAI – AI Prompt Optimization for Developers [Fine-Tune-Free LLM Optimization Engine]

### ✅ Optimize LLM Responses • Reduce Token Waste • Improve AI Output Quality

---
[![🔥 Downloads](https://static.pepy.tech/badge/docoreai)](https://pepy.tech/project/docoreai)
![📦 Latest Version](https://img.shields.io/pypi/v/docoreai)
![🐍 Python Compatibility](https://img.shields.io/pypi/pyversions/docoreai)
[![⭐ GitHub Stars](https://img.shields.io/github/stars/sajijohnmiranda/DoCoreAI)](https://github.com/SajiJohnMiranda/DoCoreAI/stargazers)
[![🧾 License](https://img.shields.io/badge/license-CC%20BY--NC--ND%204.0-blue)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

---
## 🎯 Who It’s For
- **AI Developers & Prompt Engineers**: Automate tuning, get feedback instantly.
- **Product Builders & SaaS Founders**: Cut LLM costs without performance loss.
- **Managers & Analysts**: Get insights from usage, bloat, and savings reports.

---
## 🔧 Developer Quick Start

```bash
pip install docoreai
docoreai test
```

### Or use in Python:
```python
from docore_ai import intelligence_profiler

result = intelligence_profiler(
    "Summarize our roadmap milestones",
    role="Product Manager"
)
print(result)
```

✅ Output:
- Optimized LLM prompt
- Intelligence parameters (reasoning, creativity, precision)

✅ Works with: [OpenAI](https://openai.com), [Groq](https://groq.com)  
Coming soon: Claude, LLaMA

---
## 📊 A few of What You Get are...

<h4>📊 Developer Time Saved</h4>
<img src="http://docoreai.com/wp-content/uploads/2025/08/dev-time.png" alt="Developer Time Saved – Impact of prompt optimization on dev hours" width="500" />

<h4>📉 Cost Savings</h4>
<img src="http://docoreai.com/wp-content/uploads/2025/08/cost-estimate-chart.png" alt="Cost Estimation – Estimated API cost savings per prompt" width="500" />

<h4>🧱 Bloat Score / Wasted Tokens</h4>
<img src="http://docoreai.com/wp-content/uploads/2025/08/bloat-prompt-chart.png" alt="Bloat Score – Prompt verbosity analysis and optimization impact" width="500" />

---
## ✅ Features

- No Fine-Tuning Needed – smarter prompts out of the box
- LLM Cost Reduction SaaS Ready – cut tokens, save money
- Prompt Analytics for Developers – track, compare, and improve
- Works with LangChain, FastAPI, Flask, and RAG pipelines

---
## 🖥️ CLI Command Reference

```bash
docoreai start        # Launch the engine
docoreai test         # Run a test prompt
docoreai show         # Open the local prompt viewer
docoreai dash         # Open dashboard in browser
```

View insights at: [https://docoreai.com/dashboard](https://docoreai.com/dashboard)

---
## ⚙️ .env Configuration

```ini
OPENAI_API_KEY=
GROQ_API_KEY=
MODEL_PROVIDER=openai
MODEL_NAME=gpt-3.5-turbo
DOCOREAI_TOKEN=
DOCOREAI_API_URL=https://docoreai.com
ALLOW_SYSTEM_MESSAGE_INJECTION=true
```

---
## 📘 Learn More

- 🌐 [Official Website](https://docoreai.com)
- 🐙 [GitHub Repo](https://github.com/SajiJohnMiranda/DoCoreAI)
- 📊 [DoCoreAI Pulse Benchmarks](https://github.com/SajiJohnMiranda/DoCoreAI-Pulse)
- 📝 [Blog: 25 Days of DoCoreAI](https://mobilights.medium.com/25-days-of-docoreai-a-reflection-on-the-journey-so-far-f832c1210996)

---
## ✅ Quick Start Checklist

- [x] Install with pip
- [x] Create a `.env` file with your API + DoCoreAI token
- [x] Run `docoreai test` or `start`
- [x] View usage at [DoCoreAI Dashboard](https://docoreai.com/dashboard)

---
## 🤝 Join the Community

- ⭐ [Star us on GitHub](https://github.com/SajiJohnMiranda/DoCoreAI)
- 💬 [Join GitHub Discussions](https://github.com/SajiJohnMiranda/DoCoreAI/discussions)
- 🧪 Submit benchmark results or improvements

---
## 📜 License

Licensed under [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/)  
Contact: info@docoreai.com for business or custom licensing.

---
👀 Watch repo updates → [Subscribe](https://github.com/SajiJohnMiranda/DoCoreAI/subscription)  
🍴 Fork it → [Contribute on GitHub](https://github.com/SajiJohnMiranda/DoCoreAI)
