Magnai is a vertical AI SaaS platform that automates public affairs monitoring for UK Parliament activity, media coverage, and social media. Built for public affairs teams, it transforms hours of manual research into automated, AI-generated intelligence briefings.
Tech Stack
- Backend: Django, Python, PostgreSQL (Supabase)
- AI/ML: OpenAI GPT-4, Claude Agent SDK, multi-agent orchestration
- Infrastructure: Docker, Railway, Django Q (async tasks), WebSockets
- APIs: UK Parliament API, Twitter API, Opoint Media API
Key Features
1. Automated Monitoring Reports
Multi-agent AI system that monitors parliamentary debates, written questions, votes, bills, and media coverage. Generates structured briefings with source attribution and Hansard links.
- Control Agent: Orchestrates sub-agents (parliament, media, Twitter)
- Parliament Agent: Searches debates, questions, votes, bills via UK Parliament API
- Media Agent: Monitors news coverage via Opoint API
- Background Processing: Django Q task queue for scheduled reports
2. AI Stakeholder Mapping
Autonomous research agent that identifies relevant MPs and Lords for any policy topic.
- Claude Agent SDK: Agentic research with MCP tools wrapping Parliament API
- Intelligent Search: Searches debates, written questions, EDMs, committees, bills
- Evidence-Based: Returns member IDs with rationale, confidence scores, and source citations
- Auto-Enrichment: Hydrates stakeholder profiles from Parliament Members API
- Real-time Progress: WebSocket updates during map generation
3. Bill Tracking
Track parliamentary bills through their lifecycle with AI-powered summaries and amendment analysis.
4. Multi-Tenant Architecture
Team-based access control with company/team hierarchy. URL-based tenant isolation
/<company_slug>/).Technical Highlights
- LLM Tool Schema Design: Solved GPT-4 hallucination issues by removing optional params that trigger dummy value injection
- Claude Agent SDK Deployment: Fixed macOS ARM64 binary issues in Docker Linux containers via npm-based CLI installation
- Parliament API Integration: Full client for Members, Bills, Votes, Committees, Oral/Written Questions endpoints
- Race Condition Handling: Django Q tasks with proper locking for concurrent report generation
Results
- Reduced manual parliamentary monitoring from hours to minutes
- Automated stakeholder identification with evidence-based rationale
- Real-time briefings with direct Hansard links and source attribution
6 likes · 95 views · Feb 22, 2026
AI platform that automates public affairs monitoring for UK parliament activity, media, and social media saving hours of manual monitoring
Timeline
Nov 20, 2025 - Feb 10, 2026
Tags
What the client had to say
Abubakar has been brilliant to work with - I couldn't recommend him any higher!
Daniel Wootton, Magnai Ltd
Feb 10, 2026, Client