production-grade-agentic-system
Core 7 layers of production grade agentic system
File Explorer
Download Latest Version (.zip)- conciseness.md
- hallucination.md
- helpfulness.md
- relevancy.md
- toxicity.md
- __init__.py
- evaluator.py
- helpers.py
- main.py
- schemas.py
- llm_latency.json
- dashboards.yml
- prometheus.yml
- build-docker.sh
- docker-entrypoint.sh
- ensure-db-user.sh
- logs-docker.sh
- run-docker.sh
- set_env.sh
- stop-docker.sh
- __init__.py
- system.md
- __init__.py
- web_search.py
- workflow.py
- settings.py
- base.py
- database.py
- session.py
- thread.py
- user.py
- __init__.py
- auth.py
- chat.py
- graph.py
- db_manager.py
- auth.py
- interaction.py
- router.py
- llm_provider.py
- logs.py
- middleware.py
- rate_limit.py
- telemetry.py
- __init__.py
- auth.py
- graph.py
- sanitization.py
- __init__.py
- main.py
- .env.example
- .python-version
- docker-compose.yml
- Dockerfile
- LICENSE
- Makefile
- pyproject.toml
- README.md
- schema.sql
- SECURITY.md
- uv.lock
π Installation Guide
git clone https://github.com/FareedKhan-dev/production-grade-agentic-system
Downloads the entire project code from GitHub to your computer.
cd production-grade-agentic-system
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
- APT (Debian/Ubuntu κ³μ΄) Built into Debian/Ubuntu-based Linux distributions.
pip install uv
Installs the package published on PyPI directly β no need to clone the source.
sudo apt-get install -y docker.io docker-compose
Installs directly from the APT package repository (Debian/Ubuntu-based).
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
POSTGRES_HOST=db # Database host (Docker service name or hostname)
Type this command into your terminal and run it.
- /var/lib/docker/:/var/lib/docker:ro
Type this command into your terminal and run it.
RUN chmod +x /app/scripts/docker-entrypoint.sh
Type this command into your terminal and run it.
ENTRYPOINT ["/app/scripts/docker-entrypoint.sh"]
Type this command into your terminal and run it.
- targets: ['app:8000'] # Connects to the 'app' service in docker-compose
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
4. Python
Easy&& pip install --upgrade pip \
Installs the Python libraries listed in requirements.txt (or similar).
&& pip install uv \
Installs the Python libraries listed in requirements.txt (or similar).
RUN uv venv && . .venv/bin/activate && uv pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
pip install uv
Installs the package published on PyPI directly β no need to clone the source.
@bash -c "source scripts/set_env.sh ${ENV:-development} && python -m evals.main --interactive"
Runs the Python script (or module).
Pulled directly from this repo's README.
5. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make docker-build-env ENV=production
Compiles the code based on the generated build configuration to produce an executable.
make docker-run-env ENV=development
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
