Core library for the TAIGA framework - provides base classes and utilities for creating AI problem-solving environments using MCP (Model Context Protocol) servers.
# From the repository root:
# Create virtual environment and install with development dependencies
uv venv
source .venv/bin/activate
uv pip install "./taiga-core[dev]"
# Run validation tests for an environment
pytest -m validate_env --problems-metadata-path=examples/math-in-python/problems-metadata.jsonThe validation tests verify that your environment is properly configured by:
- Checking that the Docker image specified in problems-metadata.json can be spawned
- Verifying that required tools (
setup_problemandgrade_problem) are available - Ensuring the problem ID format follows naming conventions
- Validating the metadata schema structure
Graders that call the Anthropic API (e.g. the rubric example) run against a local stub
(tests/anthropic_api_stub.py) when ANTHROPIC_API_KEY is not set, so the validation tests
work without API access. Export ANTHROPIC_API_KEY to run grading against the live API instead.