Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
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
Method
test_agent_without_server_config_no_injection
Agent without A2AServerConfig should not get to_agent_card method.
lib/crewai/tests/a2a/utils/test_agent_card.py:27
Method
test_agent_without_skills_emits_nothing
(self)
lib/crewai/tests/events/test_skill_usage_events.py:169
Method
test_agent_without_tools_is_untouched
No tools means no conflict, so nothing should be rewritten.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:929
Method
test_agent_without_tools_no_thought_in_output
Test that agent without tools produces clean output without 'Thought:' prefix.
lib/crewai/tests/utilities/test_prompts_no_thought_leakage.py:160
Function
test_agent_without_tools_still_gets_the_schema_on_its_only_call
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:368
Method
test_agents_accept_a_crew_offered_handler_by_default
``Crew(cache=True)`` offers its handler via set_cache_handler at kickoff; agents that didn't explicitly opt out must accept it.
lib/crewai/tests/test_tool_cache_default.py:188
Function
test_agents_do_not_get_delegation_tools_with_there_is_only_one_agent
()
lib/crewai/tests/test_crew.py:1752
Function
test_agents_md_command_parser_accepts_a_group_run_without_a_subcommand
()
lib/cli/tests/test_create_crew.py:2704
Function
test_agents_md_command_parser_rejects_a_group_that_needs_a_subcommand
()
lib/cli/tests/test_create_crew.py:2709
Function
test_agents_md_docs_paths_exist
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2920
Function
test_agents_md_imports_resolve
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2902
Function
test_agents_md_never_list_still_catches_advice
()
lib/cli/tests/test_create_crew.py:2897
Function
test_agents_md_never_teaches_what_main_removed
(shipped_agents_md, text)
lib/cli/tests/test_create_crew.py:2892
Function
test_agents_md_numbered_lists_have_no_gaps
(tmp_path, evaluation)
lib/cli/tests/test_create_crew.py:2784
Function
test_agents_md_python_examples_compile
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2915
Function
test_agents_md_references_the_feature
(shipped_agents_md, feature)
lib/cli/tests/test_create_crew.py:2877
Function
test_agents_md_stays_within_its_token_budget
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2884
Function
test_agents_rpm_is_never_set_if_crew_max_rpm_is_not_set
()
lib/crewai/tests/test_crew.py:1001
Method
test_agents_sharing_one_llm_report_per_call_usage
(self)
lib/crewai/tests/agents/test_lite_agent.py:1248
Method
test_agents_that_opted_out_refuse_a_crew_offered_handler
(self)
lib/crewai/tests/test_tool_cache_default.py:198
Function
test_agents_yaml_from_repository_loads_repository_agent
(tmp_path)
lib/crewai/tests/test_project.py:541
← previous
next →
10,901–11,000 of 19,663, ranked by callers