Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_agent_kickoff_with_calculator_skill
Test that agent can delegate calculation to A2A server.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:53
Method
test_agent_kickoff_with_conversation_skill
Test that agent can have a conversation with A2A server.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:67
Method
test_agent_kickoff_with_failed_a2a_endpoint
Test that agent handles failed A2A connection gracefully.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:126
Function
test_agent_kickoff_with_files_parameter
Test that Agent.kickoff() accepts and passes files to the executor.
lib/crewai/tests/agents/test_lite_agent.py:889
Method
test_agent_kickoff_with_list_messages
Test that agent.kickoff() works with list of messages.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:149
Function
test_agent_kickoff_with_mcp_tools
Test that Agent.kickoff() properly integrates MCP tools with LiteAgent
lib/crewai/tests/agents/test_lite_agent.py:719
Function
test_agent_kickoff_with_planning
Test Agent.kickoff() with planning enabled generates a plan.
lib/crewai/tests/agents/test_agent_reasoning.py:185
Function
test_agent_kickoff_with_planning_disabled
Test Agent.kickoff() with planning explicitly disabled via planning=False.
lib/crewai/tests/agents/test_agent_reasoning.py:225
Method
test_agent_kickoff_with_planning_stores_plan_in_state
Test that Agent.kickoff() with planning enabled stores plan in executor state.
lib/crewai/tests/agents/test_agent_executor.py:1579
Function
test_agent_kickoff_with_platform_tools
Test that Agent.kickoff() properly integrates platform tools with LiteAgent
lib/crewai/tests/agents/test_lite_agent.py:669
Function
test_agent_kickoff_without_planning
Test Agent.kickoff() without planning skips plan generation.
lib/crewai/tests/agents/test_agent_reasoning.py:205
Method
test_agent_kickoff_without_planning_skips_plan_generation
Test that Agent.kickoff() without planning skips planning phase.
lib/crewai/tests/agents/test_agent_executor.py:1601
Function
test_agent_knowledege_with_crewai_knowledge
()
lib/crewai/tests/agents/test_agent.py:2022
Function
test_agent_launch_failures_are_reported
(monkeypatch, error, reason, exception)
lib/cli/tests/test_run_agent.py:29
Function
test_agent_llm_creation_with_env_vars
()
lib/crewai/tests/agents/test_agent.py:45
Function
test_agent_llm_given_as_a_mapping_in_yaml
(tmp_path)
lib/crewai/tests/test_project.py:230
Function
test_agent_max_iterations_stops_loop
Test that agent execution terminates when max_iter is reached.
lib/crewai/tests/agents/test_agent.py:450
Function
test_agent_max_retry_limit
()
lib/crewai/tests/agents/test_agent.py:1263
Function
test_agent_max_rpm_counts_both_physical_attempts
( max_rpm: int, replies: tuple[Any, ...], minute_waits: int, use_async: bool )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:209
Function
test_agent_mcps_accepts_legacy_prefix_with_tool
()
lib/crewai/tests/agents/test_agent.py:3055
Function
test_agent_mcps_accepts_mixed_ref_types
()
lib/crewai/tests/agents/test_agent.py:3031
Function
test_agent_mcps_accepts_multiple_hash_refs
()
lib/crewai/tests/agents/test_agent.py:3021
Function
test_agent_mcps_accepts_slug_with_hyphenated_tool
()
lib/crewai/tests/agents/test_agent.py:3011
Function
test_agent_mcps_accepts_slug_with_specific_tool
Agent(mcps=["notion#get_page"]) must pass validation (_SLUG_RE).
lib/crewai/tests/agents/test_agent.py:3000
Function
test_agent_mcps_rejects_hash_without_slug
()
lib/crewai/tests/agents/test_agent.py:3045
Function
test_agent_memoization
()
lib/crewai/tests/test_project.py:112
Function
test_agent_memory_true_uses_agent_llm_model
()
lib/crewai/tests/agents/test_agent.py:32
Function
test_agent_model_dump_json_with_callable_guardrail
()
lib/crewai/tests/test_guardrail_serialization.py:109
Function
test_agent_moved_on_after_max_iterations
()
lib/crewai/tests/agents/test_agent.py:486
Method
test_agent_native_tool_hooks_before_and_after
Test that Agent with native tool calling executes before/after hooks.
lib/crewai/tests/hooks/test_tool_hooks.py:652
Function
test_agent_output_when_guardrail_returns_base_model
()
lib/crewai/tests/agents/test_lite_agent.py:512
Method
test_agent_overrides_crew
(self)
lib/crewai/tests/tools/test_tool_failure.py:223
Function
test_agent_passes_better_compaction_setting_to_executor
()
lib/crewai/tests/agents/test_agent.py:897
Method
test_agent_policy_used_when_no_narrower_scope
(self)
lib/crewai/tests/tools/test_tool_failure.py:178
Function
test_agent_powered_by_new_o_model_family_that_allows_skipping_tool
()
lib/crewai/tests/agents/test_agent.py:354
Function
test_agent_powered_by_new_o_model_family_that_uses_tool
()
lib/crewai/tests/agents/test_agent.py:380
Method
test_agent_preserves_metadata_for_discovered_skills
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:87
Function
test_agent_project_dispatch_and_crew_only_flag
(monkeypatch)
lib/cli/tests/test_run_agent.py:137
Function
test_agent_project_launches_current_cli_in_project_environment
( tmp_path, monkeypatch, manager )
lib/cli/tests/test_run_agent.py:108
Function
test_agent_respect_the_max_rpm_set
(capsys)
lib/crewai/tests/agents/test_agent.py:513
Function
test_agent_respect_the_max_rpm_set_over_crew_rpm
(capsys)
lib/crewai/tests/agents/test_agent.py:547
Method
test_agent_restore_kickoff_event_id
(self)
lib/crewai/tests/test_checkpoint.py:759
Function
test_agent_retries_close_the_scope_of_every_attempt
()
lib/crewai/tests/utilities/test_events.py:375
Function
test_agent_retry_that_succeeds_closes_one_scope_per_attempt
()
lib/crewai/tests/utilities/test_events.py:423
Function
test_agent_run_counts_its_own_kind
(project, usage, commands, inputs)
lib/cli/tests/test_run_usage.py:1898
Method
test_agent_save_extends_crew_root_scope
Agent._save_to_memory extends crew's root_scope with agent info.
lib/crewai/tests/memory/test_memory_root_scope.py:552
Method
test_agent_save_sanitizes_role
Agent role with special chars is sanitized for scope path.
lib/crewai/tests/memory/test_memory_root_scope.py:583
Function
test_agent_scope_preserved_after_tool_error_event
()
lib/crewai/tests/events/test_event_context.py:270
Method
test_agent_sees_the_failure_message_as_plain_text
Model-facing behavior is unchanged: it still reads prose.
lib/crewai/tests/tools/test_tool_failure.py:423
Function
test_agent_step_callback
()
lib/crewai/tests/agents/test_agent.py:670
Function
test_agent_symlink_cannot_escape_project
(tmp_path: Path, explicit: bool)
lib/crewai-core/tests/test_agent_project_entrypoint.py:44
Function
test_agent_training_handler
(crew_training_handler)
lib/crewai/tests/agents/test_agent.py:1125
Method
test_agent_treats_plain_skill_string_as_path
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:135
Function
test_agent_usage_metrics_are_captured_for_hierarchical_process
()
lib/crewai/tests/test_crew.py:1793
Function
test_agent_use_specific_tasks_output_as_context
(capsys)
lib/crewai/tests/agents/test_agent.py:643
Function
test_agent_use_trained_data
(crew_training_handler)
lib/crewai/tests/agents/test_agent.py:1147
Function
test_agent_use_trained_data_accepts_crew_trained_agents_file_path
( crew_training_handler, tmp_path )
lib/crewai/tests/agents/test_agent.py:1219
Function
test_agent_use_trained_data_honors_env_var
(crew_training_handler, monkeypatch)
lib/crewai/tests/agents/test_agent.py:1176
Function
test_agent_use_trained_data_prefers_crew_trained_agents_file
( crew_training_handler, monkeypatch )
lib/crewai/tests/agents/test_agent.py:1193
Function
test_agent_use_trained_data_skips_load_when_file_missing
(tmp_path, monkeypatch)
lib/crewai/tests/agents/test_agent.py:1248
Function
test_agent_utils_summarize_messages_keeps_its_old_argument_order
The replacement takes ``llm`` first; the old helper took ``messages`` first.
lib/crewai/tests/test_imports.py:73
Function
test_agent_validation_does_not_import_project_cli_or_core
(project, import_probe, shadow)
lib/cli/tests/deploy/test_agent_import_security.py:91
Function
test_agent_validation_pins_transport_before_project_dotenv
( project, import_probe, monkeypatch )
lib/cli/tests/deploy/test_agent_import_security.py:57
Function
test_agent_with_a2a_creates_successfully
Verify that creating an agent with a2a succeeds and applies wrapper.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:53
Function
test_agent_with_a2a_has_wrapper
Verify that agents with a2a get the wrapper applied.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:34
Function
test_agent_with_additional_kwargs
()
lib/crewai/tests/agents/test_agent.py:1364
Function
test_agent_with_all_llm_attributes
()
lib/crewai/tests/agents/test_agent.py:1479
Function
test_agent_with_callbacks
()
lib/crewai/tests/agents/test_agent.py:1347
Function
test_agent_with_custom_stop_words
()
lib/crewai/tests/agents/test_agent.py:1333
Function
test_agent_with_deterministic_fingerprint
Test using deterministic fingerprints with agents.
lib/crewai/tests/security/test_deterministic_fingerprints.py:38
Function
test_agent_with_http_mcp_config
Test agent setup with MCPServerHTTP configuration.
lib/crewai/tests/mcp/test_mcp_config.py:79
Function
test_agent_with_knowledge_sources
()
lib/crewai/tests/agents/test_agent.py:1691
Function
test_agent_with_knowledge_sources_extensive_role
()
lib/crewai/tests/agents/test_agent.py:1820
Function
test_agent_with_knowledge_sources_generate_search_query
()
lib/crewai/tests/agents/test_agent.py:1918
Function
test_agent_with_knowledge_sources_with_query_limit_and_score_threshold
()
lib/crewai/tests/agents/test_agent.py:1723
Function
test_agent_with_knowledge_sources_with_query_limit_and_score_threshold_default
()
lib/crewai/tests/agents/test_agent.py:1771
Function
test_agent_with_knowledge_sources_works_with_copy
()
lib/crewai/tests/agents/test_agent.py:1858
Function
test_agent_with_knowledge_with_no_crewai_knowledge
()
lib/crewai/tests/agents/test_agent.py:1971
Function
test_agent_with_llm
()
lib/crewai/tests/agents/test_agent.py:1320
Function
test_agent_with_missing_response_template
Test that an agent with system_template and prompt_template but no response_template works without errors.
lib/crewai/tests/agents/test_agent.py:172
Method
test_agent_with_mixed_configs_gets_injection
Agent with list containing A2AServerConfig should get to_agent_card.
lib/crewai/tests/a2a/utils/test_agent_card.py:48
Function
test_agent_with_ollama_llama3
()
lib/crewai/tests/agents/test_agent.py:1542
Function
test_agent_with_only_crewai_knowledge
()
lib/crewai/tests/agents/test_agent.py:1997
Function
test_agent_with_only_prompt_template
Test that an agent with only system_template works without errors.
lib/crewai/tests/agents/test_agent.py:156
Function
test_agent_with_only_system_template
Test that an agent with only system_template works without errors.
lib/crewai/tests/agents/test_agent.py:140
Function
test_agent_with_planning_config_custom_prompts
Test agent with PlanningConfig using custom prompts.
lib/crewai/tests/agents/test_agent_reasoning.py:46
Function
test_agent_with_planning_config_disabled
Test agent with PlanningConfig disabled.
lib/crewai/tests/agents/test_agent_reasoning.py:72
Function
test_agent_with_reasoning_and_max_attempts_backward_compat
Test agent with reasoning=True and max_reasoning_attempts (backward compatibility).
lib/crewai/tests/agents/test_agent_reasoning.py:164
Function
test_agent_with_reasoning_backward_compat
Test agent with reasoning=True (backward compatibility).
lib/crewai/tests/agents/test_agent_reasoning.py:145
Function
test_agent_with_security_config
Test creating an Agent with a SecurityConfig.
lib/crewai/tests/security/test_integration.py:7
Method
test_agent_with_server_config_gets_to_agent_card_method
Agent with A2AServerConfig should have to_agent_card method injected.
lib/crewai/tests/a2a/utils/test_agent_card.py:15
Function
test_agent_with_sse_mcp_config
Test agent setup with MCPServerSSE configuration.
lib/crewai/tests/mcp/test_mcp_config.py:109
Function
test_agent_with_stdio_mcp_config
Test agent setup with MCPServerStdio configuration.
lib/crewai/tests/mcp/test_mcp_config.py:49
Method
test_agent_with_tools
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:887
Method
test_agent_with_tools_and_reasoning
`reasoning=True` adds a planning call, which must recover as well.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:907
Function
test_agent_without_a2a_has_no_wrapper
Verify that agents without a2a don't get the wrapper applied.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:18
Method
test_agent_without_a2a_no_injection
Agent without any a2a config should not get to_agent_card method.
lib/crewai/tests/a2a/utils/test_agent_card.py:38
Method
test_agent_without_a2a_works_normally
Test that agent without A2A config works normally.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:111
Function
test_agent_without_apps_no_platform_tools
Test that agents without apps don't trigger platform tools integration.
lib/crewai/tests/agents/test_agent.py:2728
Function
test_agent_without_max_rpm_respects_crew_rpm
(capsys)
lib/crewai/tests/agents/test_agent.py:585
← previous
next →
10,801–10,900 of 19,482, ranked by callers