production-grade-agentic-system

(โ˜… 932)

Core 7 layers of production grade agentic system

  • .env.example
  • .python-version
  • docker-compose.yml
  • Dockerfile
  • LICENSE
  • Makefile
  • pyproject.toml
  • README.md
  • schema.sql
  • SECURITY.md
  • uv.lock

๐Ÿš€ Installation Guide

1. Get the code
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
Prerequisites
  • 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).

โœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • 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.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
&& 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).

โœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

5. Make

Medium
Prerequisites
  • 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.

โœ… If it finishes without errors, it worked. Try running the generated executable directly.

Pulled directly from this repo's README.

// repository documentation