agents.rag.multi_agent_rag.compatibility¶
Safe Agent Compatibility Testing.
This module provides comprehensive compatibility testing for RAG agents using the compatibility module without modifying or breaking existing agents.
Classes¶
Comprehensive compatibility report for agent pairs. |
|
Levels of compatibility between agents. |
|
Compatibility report for multiple agents in a workflow. |
|
Safe compatibility testing that doesn't modify original agents. |
Functions¶
|
Quick compatibility check between two agents. |
Safely test RAG agent compatibility without breaking anything. |
|
|
Test compatibility of a custom agent workflow. |
Module Contents¶
- class agents.rag.multi_agent_rag.compatibility.AgentCompatibilityReport¶
Comprehensive compatibility report for agent pairs.
- class agents.rag.multi_agent_rag.compatibility.CompatibilityLevel¶
-
Levels of compatibility between agents.
Initialize self. See help(type(self)) for accurate signature.
- class agents.rag.multi_agent_rag.compatibility.MultiAgentCompatibilityReport¶
Compatibility report for multiple agents in a workflow.
- class agents.rag.multi_agent_rag.compatibility.SafeCompatibilityTester¶
Safe compatibility testing that doesn’t modify original agents.
This class provides comprehensive compatibility analysis between agents without risking damage to existing systems.
Init .
- Returns:
Add return description]
- Return type:
[TODO
- test_agent_pair_compatibility(source_agent, target_agent, safe_mode=True)¶
Safely test compatibility between two agents.
- Parameters:
source_agent (haive.agents.base.agent.Agent) – The source agent in the workflow
target_agent (haive.agents.base.agent.Agent) – The target agent in the workflow
safe_mode (bool) – If True, uses read-only testing without modifications
- Returns:
Detailed compatibility report
- Return type:
- test_rag_agents_safely()¶
Safely test compatibility of common RAG agent combinations.
- test_workflow_compatibility(agents, workflow_name='RAG Workflow')¶
Test compatibility across an entire workflow of agents.
- Parameters:
- Returns:
Comprehensive workflow compatibility report
- Return type:
- agents.rag.multi_agent_rag.compatibility.quick_agent_compatibility_check(agent1, agent2)¶
Quick compatibility check between two agents.
- Returns:
True if agents are safe to chain, False otherwise
- Parameters:
agent1 (haive.agents.base.agent.Agent)
agent2 (haive.agents.base.agent.Agent)
- Return type:
- agents.rag.multi_agent_rag.compatibility.safe_test_rag_compatibility()¶
Safely test RAG agent compatibility without breaking anything.
This is the main function to use for testing RAG agent compatibility.
- agents.rag.multi_agent_rag.compatibility.test_custom_agent_workflow(agents, workflow_name)¶
Test compatibility of a custom agent workflow.
- Parameters:
- Returns:
Comprehensive compatibility report
- Return type: