Installation Guide¶
Get started with Agent Script Tools in your development environment.
Prerequisites¶
Before installing Agent Script Tools, ensure you have the following requirements:
System Requirements
- Python 3.13+ - Leveraging modern Python features
- uv - Fast, reliable package manager
- Git - For cloning the repository
Installing uv¶
If you don't have uv installed, get it with:
Installation Methods¶
From Source (Recommended)¶
Clone the repository and install in development mode:
| Bash | |
|---|---|
Production Installation¶
For production use, install without development dependencies:
| Bash | |
|---|---|
Package Installation¶
Install individual packages:
Verification¶
Verify your installation works correctly:
| Bash | |
|---|---|
Expected Output
If installation is successful, you should see:
- JSON and Markdown output from the CLI commands
- All tests passing
- No linting or type errors
Development Setup¶
For contributing to Agent Script Tools:
1. Clone and Install¶
| Bash | |
|---|---|
2. Install Pre-commit Hooks¶
3. Configure Your Editor¶
Install recommended extensions:
Configure the Python interpreter:
- File → Settings → Project → Python Interpreter
- Add → Existing Environment
- Point to
.venv/bin/python
Project Structure¶
After installation, your project structure will look like:
Quick Commands Reference¶
Common commands for daily development:
| Command | Description |
|---|---|
uv sync --all-groups |
Install/update all dependencies |
uv run poe format |
Format code with Ruff |
uv run poe lint |
Lint code |
uv run poe typecheck |
Type check with MyPy |
uv run poe code-quality |
Run all quality checks |
uv run poe test |
Run tests |
uv run poe cov |
Run tests with coverage |
uv run poe docs |
Serve documentation locally |
Troubleshooting¶
Common Issues¶
Python Version
Issue: python: command not found or wrong Python version
Solution:
uv Installation
Issue: uv: command not found
Solution:
Permission Errors
Issue: Permission denied when installing
Solution:
Getting Help¶
If you encounter issues:
- Check the logs: Most uv commands provide verbose output with
-v - Search GitHub Issues: github.com/theagenticguy/agent-script/issues
- Create an Issue: Include your OS, Python version, and error messages
Next Steps¶
Now that you have Agent Script Tools installed:
-
Learn the Specification Format
Understand how to define agent capabilities, tools, and interaction models
-
Convert between JSON and Markdown formats with practical examples