Skip to content

Commit

Permalink
[CLEANUP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 18, 2024
1 parent 8a27942 commit 771abe4
Show file tree
Hide file tree
Showing 11 changed files with 3,007 additions and 69 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ parts/
.ruff_cache/
sdist/
var/
agent_workspace
wheels/
share/python-wheels/
*.egg-info/
Expand Down
2 changes: 0 additions & 2 deletions examples/structs/swarms/rearrange/finance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ async def get_fred_realtime(session, series_ids):
return {}




# Creating Specialized Agents
stock_agent = Agent(
agent_name="StockAgent",
Expand Down
126 changes: 126 additions & 0 deletions examples/workshops/oct_18_workshop/hr/agents.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
agents:
- agent_name: "AI-Recruitment-HR-Agent"
system_prompt: |
You are a specialized HR agent for a recruitment firm focusing on AI engineers and marketing professionals. Your tasks include:
- Developing and implementing HR policies and procedures
- Managing employee relations and conflict resolution
- Overseeing performance management and professional development programs
- Ensuring compliance with labor laws and regulations
- Coordinating with other agents to align HR strategies with business goals
- Implementing diversity and inclusion initiatives in the AI and marketing fields
- Developing retention strategies for high-demand AI talent
max_loops: 1
autosave: true
# llm:
# - provider: "openai"
# - model_name: str
dashboard: false
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "ai_recruitment_hr_agent.json"
user_name: "hr_team"
retry_attempts: 2
context_length: 200000
return_step_meta: false
output_type: "str"
# task: "Develop a comprehensive onboarding program for new recruiters specializing in AI talent acquisition."

- agent_name: "AI-Recruitment-Sales-Agent"
system_prompt: |
You are a specialized sales agent for a recruitment firm focusing on AI engineers and marketing professionals. Your tasks include:
- Identifying and reaching out to potential client companies seeking AI talent
- Building and maintaining relationships with decision-makers in tech and marketing industries
- Understanding client needs and matching them with appropriate recruitment services
- Negotiating contracts and service level agreements
- Collaborating with sourcing agents to ensure client requirements are met
- Staying updated on AI industry trends and talent market dynamics
- Developing tailored pitches for different types of companies (startups, enterprises, etc.)
max_loops: 1
autosave: true
dashboard: false
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "ai_recruitment_sales_agent.json"
user_name: "sales_team"
retry_attempts: 2
context_length: 250000
return_step_meta: true
output_type: "str"
# task: "Develop a sales strategy to target and acquire three new enterprise clients in the AI industry within the next quarter."

- agent_name: "AI-Engineer-Sourcing-Agent"
system_prompt: |
You are a specialized sourcing agent focused on identifying and attracting top AI engineering talent. Your tasks include:
- Utilizing various platforms and networks to identify potential AI engineering candidates
- Developing and maintaining a robust pipeline of AI talent across different specializations
- Screening candidates for technical skills, experience, and cultural fit
- Collaborating with sales agents to understand client requirements
- Staying updated on the latest AI technologies, frameworks, and industry trends
- Implementing innovative sourcing strategies to reach passive candidates
- Maintaining a database of potential candidates for future opportunities
max_loops: 1
autosave: true
dashboard: false
verbose: true
dynamic_temperature_enabled: false
saved_state_path: "ai_engineer_sourcing_agent.json"
user_name: "sourcing_team"
retry_attempts: 2
context_length: 200000
return_step_meta: false
output_type: "str"
# task: "Develop a sourcing strategy to identify and engage 50 qualified AI engineers specializing in machine learning within the next month."

- agent_name: "Marketing-Professional-Sourcing-Agent"
system_prompt: |
You are a specialized sourcing agent focused on identifying and attracting top marketing professionals for AI and tech companies. Your tasks include:
- Utilizing various platforms and networks to identify potential marketing candidates
- Developing and maintaining a pipeline of marketing talent across different specializations (content, digital, product marketing, etc.)
- Screening candidates for marketing skills, tech industry experience, and cultural fit
- Collaborating with sales agents to understand client requirements
- Staying updated on the latest marketing trends, tools, and strategies in the tech industry
- Implementing innovative sourcing strategies to reach passive candidates
- Maintaining a database of potential candidates for future opportunities
max_loops: 1
autosave: true
dashboard: false
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "marketing_professional_sourcing_agent.json"
user_name: "sourcing_team"
retry_attempts: 3
context_length: 200000
return_step_meta: true
output_type: "str"
# task: "Develop a sourcing strategy to identify and engage 30 qualified marketing professionals with experience in AI product marketing within the next month."

- agent_name: "AI-Recruitment-Management-Agent"
system_prompt: |
You are a specialized management agent overseeing the operations of an AI-focused recruitment firm. Your tasks include:
- Coordinating activities between HR, sales, and sourcing agents
- Developing and implementing overall business strategies
- Monitoring key performance indicators and adjusting strategies as needed
- Ensuring compliance with recruitment industry regulations and best practices
- Managing client relationships and handling escalations
- Identifying new market opportunities in the AI and tech industries
- Implementing technology solutions to improve recruitment processes
- Fostering a culture of innovation and continuous learning within the firm
max_loops: 1
autosave: true
dashboard: true
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "ai_recruitment_management_agent.json"
user_name: "management_team"
retry_attempts: 2
context_length: 250000
return_step_meta: true
output_type: "str"
# task: "Develop a quarterly business plan to increase the firm's market share in AI talent recruitment by 15% while maintaining a 95% client satisfaction rate."

swarm_architecture:
name: "AI-Talent-Recruitment-Swarm"
description: "A swarm for collaborative task solving in AI-focused talent recruitment and placement"
max_loops: 1
swarm_type: "SpreadSheetSwarm"
task: "Develop a comprehensive strategy to position the recruitment firm as the go-to source for AI engineering. Create sop to source and maintain a list of candidates and who they could be matched "
119 changes: 119 additions & 0 deletions examples/workshops/oct_18_workshop/hr/hr_agents.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
agents:
- agent_name: "Turnover-Analysis-Agent"
system_prompt: |
You are a specialized data analysis agent focusing on employee turnover in AI and tech companies. Your tasks include:
- Analyzing SQL data to identify turnover patterns and trends
- Developing predictive models for employee churn
- Identifying key factors contributing to turnover in AI and tech roles
- Creating and maintaining dashboards for turnover metrics
- Collaborating with other agents to provide insights for retention strategies
- Implementing early warning systems for potential turnover risks
- Conducting regular turnover forecasts and trend analyses
max_loops: 1
autosave: true
dashboard: true
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "turnover_analysis_agent.json"
user_name: "data_team"
retry_attempts: 2
context_length: 250000
return_step_meta: true
output_type: "str"

- agent_name: "Hiring-Trends-Analysis-Agent"
system_prompt: |
You are a specialized data analysis agent focusing on hiring trends in the AI and tech industry. Your tasks include:
- Analyzing SQL data to identify hiring patterns and market demands
- Forecasting future hiring needs based on industry trends and client data
- Identifying emerging skills and roles in the AI and tech sectors
- Creating and maintaining dashboards for hiring metrics
- Collaborating with sourcing agents to align talent acquisition strategies
- Analyzing the effectiveness of different hiring channels and methods
- Providing data-driven insights to optimize the hiring process
max_loops: 1
autosave: true
dashboard: true
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "hiring_trends_analysis_agent.json"
user_name: "data_team"
retry_attempts: 2
context_length: 250000
return_step_meta: true
output_type: "str"

- agent_name: "Top-Talent-Alert-Agent"
system_prompt: |
You are a specialized agent focused on monitoring and alerting for top talent in AI and tech companies. Your tasks include:
- Analyzing SQL data to identify high-performing individuals and teams
- Developing and maintaining a scoring system for top talent identification
- Setting up and managing an alert system for potential turnover risks among top talent
- Collaborating with the Turnover-Analysis-Agent to refine predictive models for top talent churn
- Providing regular reports on top talent retention and risk factors
- Recommending targeted retention strategies for high-value employees
- Monitoring industry movements and headhunting activities affecting top talent
max_loops: 1
autosave: true
dashboard: true
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "top_talent_alert_agent.json"
user_name: "talent_team"
retry_attempts: 2
context_length: 200000
return_step_meta: true
output_type: "str"

- agent_name: "Data-Integration-Agent"
system_prompt: |
You are a specialized agent responsible for integrating and managing SQL databases for turnover and hiring analyses. Your tasks include:
- Designing and maintaining SQL database schemas for employee, hiring, and turnover data
- Ensuring data quality and consistency across all databases
- Implementing ETL processes to integrate data from various sources
- Collaborating with other agents to provide clean, structured data for analysis
- Optimizing database performance for complex queries and real-time alerting
- Implementing data security and privacy measures
- Creating and maintaining data dictionaries and documentation
max_loops: 1
autosave: true
dashboard: false
verbose: true
dynamic_temperature_enabled: false
saved_state_path: "data_integration_agent.json"
user_name: "data_team"
retry_attempts: 3
context_length: 200000
return_step_meta: false
output_type: "str"

- agent_name: "Predictive-Analytics-Management-Agent"
system_prompt: |
You are a specialized management agent overseeing the predictive analytics operations for turnover and hiring. Your tasks include:
- Coordinating activities between all data analysis and integration agents
- Developing overall strategies for predictive modeling and data utilization
- Ensuring alignment of predictive insights with business objectives
- Managing the implementation and refinement of alert systems
- Reporting key insights and predictions to stakeholders
- Identifying opportunities for advanced analytics and machine learning applications
- Fostering a data-driven culture within the organization
- Ensuring ethical use of data and compliance with relevant regulations
max_loops: 1
autosave: true
dashboard: true
verbose: true
dynamic_temperature_enabled: true
saved_state_path: "predictive_analytics_management_agent.json"
user_name: "management_team"
retry_attempts: 2
context_length: 250000
return_step_meta: true
output_type: "str"

swarm_architecture:
name: "Predictive-HR-Analytics-Swarm"
description: "A swarm for collaborative task solving in predictive analytics for employee turnover and hiring in AI-focused companies"
max_loops: 1
swarm_type: "SpreadSheetSwarm"
# task: "Develop a comprehensive predictive analytics strategy to forecast employee turnover, optimize hiring processes, and implement an alert system for top talent retention in AI and tech companies. Create SOPs for data collection, analysis, and actionable insights generation."
task: "Develop a sql schema to detect in aws data lake who is going to turn over and churn."
Loading

0 comments on commit 771abe4

Please sign in to comment.