In this article, we'll explore how to build an AI People Research Agent that can help you gather detailed information about professionals, their career progression, and company backgrounds. This powerful agent combines LinkedIn data with intelligent analysis to create comprehensive professional profiles.
Outline
- Install Supercog Agentic Framework
- Set up required API keys
- Start the People Researcher Agent
- Run your first people research
- Understanding the output
- Conclusion
Install Supercog Agentic Framework 🛠️
Currently, the easiest way to run Supercog agentic framework is from source. We'll use uv for package management:
- Clone the Supercog agentic repository:
git clone https://github.com/supercog-ai/agentic.git
- Change to the agentic directory:
cd agentic
- Install the project in editable mode with all optional and development tools using uv:
uv pip install -e ".[all,dev]"
Set up required API keys 🔑
To use the People Researcher agent, you'll need to set up the following API keys:
- RapidAPI Key (for LinkedIn data access)
- OpenAI API Key (for the AI model)
You can set these in one of three ways:
- Environment Variables:
export RAPIDAPI_KEY=your_rapidapi_key
export OPENAI_API_KEY=your_openai_api_key
- .env File:
RAPIDAPI_KEY=your_rapidapi_key
OPENAI_API_KEY=your_openai_api_key
- Using agentic secrets:
agentic secrets set "RAPIDAPI_KEY=your_rapidapi_key"
agentic secrets set "OPENAI_API_KEY=your_openai_api_key"
You can get your RapidAPI key from: https://rapidapi.com/
Start the People Researcher Agent 🚀
Run the following command to start the People Researcher agent:
python examples/people_researcher.py
This will launch the agent in interactive mode, ready to accept your research requests.
Run your first people research 🔍
Once the agent is running, you can start researching people by providing their name and company. Here's an example:
Do a research on Emmanuel Onwuegbusi, he works at Supercog AI
The agent will:
- Search for matching LinkedIn profiles
- If multiple matches are found, it will ask you to select the correct one
- Gather detailed profile information
- Research the company background
- Generate a comprehensive report
Understanding the output 📊
The agent will provide a detailed report that includes:
- Profile overview (name, location, LinkedIn URL)
- Career progression
- Current role details
- Company background
- Education history
- Skills and endorsements
- Certifications and achievements
Here's a snippet example of what the output might look like:
### Background Report on Emmanuel Onwuegbusi
**Profile Overview:**
- **Name:** Emmanuel Onwuegbusi
- **Location:** Nigeria
- **LinkedIn Profile:** [Emmanuel Onwuegbusi](https://www.linkedin.com/in/emmanuelonwuegbusi)
- **Profile Picture:** 
- **Summary:** Emmanuel is a Creative Software Engineer with expertise in Software Engineering, Data Science, Machine Learning, and Technical Writing. He leverages his creative skills and technical knowledge to lead and build data-driven applications.
**Career Progression:**
1. **Current Role: Software Engineer at Supercog AI**
- **Duration:** September 2024 - Present
- **Location:** San Francisco, California, United States
- **Description:** Emmanuel is involved in solving complex problems in application and data integration using GenAI and agentic architectures.
- **Company Overview:** Supercog AI is a technology company specializing in AI and machine learning solutions, focusing on enhancing business operations through innovative AI-driven products and services.
Conclusion 🎉
The People Researcher agent is a powerful tool for gathering professional information and creating detailed background reports. It's particularly useful for:
- Recruiters looking to understand candidate backgrounds
- Business professionals researching potential partners or clients
- Anyone needing detailed professional profiles
You can customize your research by:
- Adding specific companies to narrow down searches
- Requesting particular aspects of a person's background
- Focusing on specific time periods in their career
To learn more about Supercog Agentic Framework:
- Visit the GitHub repository: https://github.com/supercog-ai/agentic
- Check out the documentation: https://supercog-ai.github.io/agentic/latest/
- Join the Discord community: https://discord.gg/EmPGShjmGu
Don't forget to star the repository if you find it useful! ⭐