Skip to content

API Reference parrot.bots.flows.agents.hr

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.bots.flows.agents.hr

View source

HR-specific orchestrator and crew factories.

Moved from parrot.bots.orchestration.hr to parrot.bots.flows.agents.hr (FEAT-143).

Import paths are recalculated for the new package depth:

  • OrchestratorAgent now imported from .orchestrator
  • AgentCrew now imported from ..crew (flows.crew package) All class signatures are preserved; no API changes.

Alias AbstractStore

Re-exported from parrot.stores.abstract.AbstractStore.

Alias AbstractTool

Re-exported from parrot.tools.abstract.AbstractTool.

Alias AgentCrew

Re-exported from parrot.bots.flows.crew.AgentCrew.

Alias BasicAgent

Re-exported from parrot.bots.agent.BasicAgent.

Class EmployeeDataAgent

Agent specialized in employee profile and organizational data.

This agent handles employee-specific information like profiles, positions, and salary data.

Parameter Type Default Description
employee_database None
access_control_rules Dict[str, List[str]] None
**kwargs {}

Class HRAgentFactory

Factory for creating HR-specific agent orchestration systems.

Method HRAgentFactory.create_hr_orchestrator

Create an HR orchestrator with specialized agents.

create_hr_orchestrator(hr_agent: BasicAgent = None, employee_data_agent: BasicAgent = None, shared_tools: List[AbstractTool] = None) -> OrchestratorAgent

Parameter Type Default Description
hr_agent BasicAgent None Agent for HR policies and procedures.
employee_data_agent BasicAgent None Agent for employee data access.
shared_tools List[AbstractTool] None Tools to share between agents.

Returns: OrchestratorAgent — Configured OrchestratorAgent instance.

Method HRAgentFactory.create_hr_crew

Create an HR processing crew that processes requests in sequence.

Example sequence: Policy Check → Data Validation → Response Generation.

create_hr_crew(agents: List[BasicAgent], shared_tools: List[AbstractTool] = None) -> AgentCrew

Parameter Type Default Description
agents List[BasicAgent] List of agents to include in the crew.
shared_tools List[AbstractTool] None Optional tools shared across all agents.

Returns: AgentCrew — Configured AgentCrew instance.

Alias OrchestratorAgent

Re-exported from parrot.bots.flows.agents.orchestrator.OrchestratorAgent.

Class RAGHRAgent

HR Agent with RAG capabilities using the existing vector store system.

This agent specializes in company policies, procedures, and HR documentation.

Parameter Type Default Description
vector_store AbstractStore None
knowledge_threshold float 0.7
max_context_docs int 5
**kwargs {}

Alias ToolManager

Re-exported from parrot.tools.manager.ToolManager.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally