- Python 3.10 or later
- pip (Python package manager)
The simplest way to install AgentAssay:
pip install agentassayThis installs the core package with all required dependencies.
To use AgentAssay with a specific agent framework, install the corresponding extra:
# For LangGraph agents
pip install agentassay[langgraph]
# For CrewAI agents
pip install agentassay[crewai]
# For AutoGen agents
pip install agentassay[autogen]
# For OpenAI Agents SDK
pip install agentassay[openai]
# For smolagents
pip install agentassay[smolagents]
# For Semantic Kernel (Microsoft)
pip install agentassay[semantic-kernel]
# For AWS Bedrock Agents
pip install agentassay[bedrock]
# For MCP (Model Context Protocol)
pip install agentassay[mcp]
# For Vertex AI Agents (Google)
pip install agentassay[vertex]
# Install all framework adapters
pip install agentassay[all]If you use AgentAssert for behavioral contracts, install the contracts extra:
pip install agentassay[contracts]For development or to get the latest unreleased changes:
# Clone the repository
git clone https://github.com/qualixar/agentassay.git
cd agentassay
# Create a virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate # macOS/Linux
# .venv\Scripts\activate # Windows
# Install in editable mode with dev dependencies
pip install -e ".[dev]"The [dev] extra includes everything needed for contributing:
- Test runner and coverage tools
- Linter and formatter
- Type checker
- Property-based testing support
After installing, verify that everything is working:
# Check the CLI is available
agentassay --version
# Check the pytest plugin is registered
python -m pytest --co -q 2>&1 | head -5
# Run a quick Python import check
python -c "import agentassay; print(f'AgentAssay v{agentassay.__version__}')"pip install --upgrade agentassaypip uninstall agentassay