Agentic Portfolio System - A compliance-grade MCP server that serves as both human and machine-readable portfolio.
Atlas-G Protocol transforms a traditional developer portfolio into an autonomous agent that demonstrates compliance-grade engineering in real-time. Instead of reading about experience with "strict state management" and "hallucination mitigation," users interact with an agent that actively demonstrates these capabilities.
- MCP Server: Machine-readable portfolio accessible by AI development environments
- Governance Layer: Real-time hallucination mitigation via knowledge graph validation
- Live Audit Log: Streams internal compliance checks to the UI
- WebSocket Streaming: Real-time "Thought-Action" loop visualization
- CSP Headers: Configured for DEV.to iframe embedding
The Atlas-G Protocol follows a "Private-by-Design" pattern to ensure sensitive career data isn't leaked in public repositories:
- Template Pattern: All proprietary information (work history, PII) is stored in
data/resume.txt, which is explicitly excluded from the repository via.gitignore. - resume.template.txt: A sanitized template is provided for open-source users to populate with their own data.
- Hallucination Mitigation: The agent's governance layer validates every claim against the local
resume.txtknowledge graph before responding.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cloud Run Instance β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββββββββββ βββββββββββββββββββββββββββ β
β β React Frontend βββββΊβ FastAPI Backend β β
β β (Terminal UI) β β - Agent Core β β
β βββββββββββββββββββ β - Governance Layer β β
β β - MCP Server β β
β βββββββββββββ¬ββββββββββββββ β
β β β
β βββββββββββββΌββββββββββββββ β
β β Tools β β
β β - query_resume β β
β β - verify_employment β β
β β - audit_project β β
β βββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Python 3.11+
- Google Cloud API Key (for Gemini)
# Clone the repository
cd Atlas-G\ Protocol
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -e ".[dev]"
# Copy environment template
cp .env.example .env
# Edit .env with your GOOGLE_API_KEY# Start the server
uvicorn backend.main:application --reload --port 8080
# Open http://localhost:8080pytest backend/tests/ -vConnect your AI development environment to the Atlas-G MCP server:
{
"mcpServers": {
"atlas-g-protocol": {
"command": "python",
"args": ["-m", "backend.mcp_server"]
}
}
}| Tool | Description |
|---|---|
query_resume |
Semantic search over resume knowledge graph |
verify_employment |
Cross-reference employment claims |
audit_project |
Deep-dive into project architecture |
gcloud run deploy atlas-g-portfolio \
--source . \
--allow-unauthenticated \
--region us-central1 \
--labels dev-tutorial=devnewyear2026 \
--set-env-vars GOOGLE_API_KEY=your_key_hereAtlas-G Protocol/
βββ backend/
β βββ __init__.py
β βββ main.py # FastAPI application
β βββ agent.py # Thought-Action loop
β βββ governance.py # Hallucination mitigation
β βββ mcp_server.py # FastMCP wrapper
β βββ config.py # Settings management
β βββ tools/
β βββ resume_rag.py
β βββ verification.py
βββ frontend/ # React UI (Phase 3)
βββ data/
β βββ resume.txt # Knowledge graph source
βββ Dockerfile
βββ pyproject.toml
βββ mcp_config.json
- CSP Headers:
frame-ancestors 'self' https://dev.to https://*.dev.to - Governance Layer: All AI responses validated against resume data
- PII Detection: Automatic filtering of sensitive information
- Jailbreak Protection: Pattern-based detection and blocking
MIT License - See LICENSE for details.
- Audio: Emergency Alarm.wav by Mozfoo (CC0)