Development Setup

Initial Setup

  1. Clone the Repository

git clone https://github.com/raga-ai-hub/agentneo.git
cd agentneo
  1. Create Virtual Environment

python -m venv venv
source venv/bin/activate  # Unix
# or
venv\Scripts\activate  # Windows
  1. Install Development Dependencies

pip install -e ".[dev]"

Development Tools

Required Tools

  • Python 3.8+

  • Git

  • pytest

  • black (code formatting)

  • isort (import sorting)

  • flake8 (linting)

Installing Development Tools

pip install black isort flake8 pytest pytest-cov

Setting Up Pre-commit Hooks

pre-commit install

Running Tests

# Run all tests
pytest

# Run with coverage
pytest --cov=agentneo tests/

# Run specific test file
pytest tests/test_tracer.py

Last updated