# TrustySign Agent (Archived)
**Archive Date**: 2025-11-24
**Archive Reason**: Agent moved to external implementation. IRIS now functions as MCP-only provider.
## What Was Archived
This directory contains the deprecated TrustySign conversational AI agent that was embedded within IRIS.
### Archived Components
```
_archived_agent/
├── agents/ # LangGraph agent implementation
├── api/ # FastAPI chat endpoints (port 9000)
├── llm_core/ # Claude API client + system prompts
├── token_tracker/ # LLM token usage tracking
├── file_handler/ # Document upload/processing
├── web_search/ # Tavily web search integration
├── telegram_bot/ # Telegram bot interface
├── trustysign-frontend/ # Next.js PWA frontend
└── start_trusty_sign_api.py # Agent API entry point
```
## Why It Was Archived
1. **External Agent**: User has a separate, external agent that consumes IRIS MCP tools
2. **Never Fully Functional**: The embedded agent had performance issues (30-60s response times)
3. **Maintenance Overhead**: Unnecessary complexity for an MCP-only service
4. **Architecture Shift**: IRIS is now a **pure MCP provider** (27 tools via port 8001)
## What Remains Active in IRIS
```
IRIS Container (iris-app) - Active Services:
├── Port 8000: OAuth Server ✅ Microsoft Graph authentication
├── Port 8001: MCP Server ✅ 27 tools (HTTP/SSE)
└── Port 8081: Booking Page UI ✅ External meeting confirmation
```
## If You Need to Restore
1. Move archived components back to original locations
2. Restore port 9000 in `entrypoint.sh`
3. Rebuild Docker container: `cd /opt/iris && ./deploy.sh`
4. Re-add frontend build to docker-compose (nginx volume)
## Related Changes
- **Commit**: TBD (archive commit)
- **OAuth Removal**: Commit 31f3454 (OAuth tools removed from MCP)
- **TrustyVault Integration**: Commit c7836c4 (credentials now via TrustyVault)
---
**Note**: This agent code is preserved for reference but should NOT be used in production. Use external agent + IRIS MCP instead.