# PyPI Upload Instructions for SWE Agent v1.0.20

## Package Ready for Upload ✅

The package `swe-ai-agent` v1.0.20 has been successfully built with complete MCP integration and is ready for PyPI upload.

## Built Package Files

Located in `dist/` directory:
- `swe_ai_agent-1.0.20-py3-none-any.whl` (250.7 KB)
- `swe_ai_agent-1.0.20.tar.gz` (203.6 KB)

## Step 1: Get Your PyPI API Token

1. Go to https://pypi.org/manage/account/
2. Scroll down to "API tokens"
3. Click "Add API token"
4. Choose scope: "Entire account" (for first upload)
5. Copy the generated token (starts with `pypi-`)

## Step 2: Upload to PyPI

Replace `your-actual-pypi-token` with your real token:

```bash
# Set environment variables
export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="pypi-AgEIcHlwaS5vcmcCJGYourActualTokenHere"

# Upload the package
python -m twine upload dist/*
```

## Alternative: Upload from Local Machine

1. Download the `swe-agent-complete.tar.gz` archive
2. Extract it: `tar -xzf swe-agent-complete.tar.gz`
3. Navigate to the directory: `cd swe-agent-complete/`
4. Install twine: `pip install twine`
5. Upload: `twine upload dist/*`

## After Successful Upload

Users will be able to install with:
```bash
pip install swe-ai-agent
```

And use with:
```bash
swe-agent --help
swe-agent --pair      # Pair programming interface
swe-agent --interactive  # Interactive mode
swe-agent --warp      # Modern terminal interface
swe-agent --task "create a hello world script"
```

## Package Features (v1.0.20)

✅ **Complete MCP Integration**: All agents use DeepWiki MCP server automatically  
✅ **Fixed Agent Prompts**: Enhanced system prompts with mandatory MCP usage  
✅ **24 Comprehensive Tools**: File operations, shell commands, git operations  
✅ **Multiple Interfaces**: Pair programming, interactive, Warp terminal  
✅ **Universal Language Support**: No hardcoded rules, uses Claude's understanding  
✅ **Ready for Production**: Complete error handling and robust architecture  

## Troubleshooting

- **403 Forbidden**: Check your API token is correct and has upload permissions
- **409 Conflict**: Version already exists, increment version number in pyproject.toml
- **Network Issues**: Try uploading from a different network environment

The package is production-ready and will provide users with a complete headless agentic IDE experience!