Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
Function
test_agent_handle_turn_pauses_too
(db)
lib/crewai/tests/agents/test_tool_approval.py:208
Function
test_agent_inputs_fail_before_launch
(inputs, monkeypatch)
lib/cli/tests/test_run_agent.py:61
Method
test_agent_inside_flow_reports_bedrock_tokens
(self, monkeypatch)
lib/crewai/tests/test_flow_usage_metrics.py:518
Function
test_agent_instances_have_independent_sessions
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:192
Method
test_agent_kickoff
(self, features: list[str], llm_cls: type[LLM])
lib/crewai/tests/tools/test_tool_failure.py:2448
Method
test_agent_kickoff_async
( self, features: list[str], llm_cls: type[LLM] )
lib/crewai/tests/tools/test_tool_failure.py:2458
Method
test_agent_kickoff_async_delegates_to_a2a
Test that agent.kickoff_async() delegates to A2A server.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:189
Function
test_agent_kickoff_async_stops_on_apps_amp_cannot_resolve
(monkeypatch)
lib/crewai/tests/agents/test_agent.py:2811
Method
test_agent_kickoff_async_with_calculator
Test async delegation with calculator skill.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:204
Method
test_agent_kickoff_config_only_sets_checkpoint
(self)
lib/crewai/tests/test_checkpoint.py:642
Method
test_agent_kickoff_delegates_to_a2a
Test that agent.kickoff() delegates to A2A server.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:40
Method
test_agent_kickoff_delegates_to_from_checkpoint
(self)
lib/crewai/tests/test_checkpoint.py:627
Method
test_agent_kickoff_handles_multi_turn_conversation
Test that agent handles multi-turn A2A conversations.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:98
Method
test_agent_kickoff_inside_a_flow_leaves_the_boundary_to_the_flow
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:335
Function
test_agent_kickoff_memory_recall_and_save
Agent.kickoff() with memory should recall before execution and save after.
lib/crewai/tests/memory/test_unified_memory.py:901
Function
test_agent_kickoff_multi_step_task_with_planning
Test Agent.kickoff() with a multi-step task that benefits from planning.
lib/crewai/tests/agents/test_agent_reasoning.py:245
Function
test_agent_kickoff_preserves_parameters
Test that Agent.kickoff() uses the correct parameters from the Agent.
lib/crewai/tests/agents/test_lite_agent.py:71
Function
test_agent_kickoff_raises_typed_error_after_two_empty_answers
( use_async: bool, )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:415
Function
test_agent_kickoff_recovers_from_one_empty_answer
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:405
Method
test_agent_kickoff_returns_lite_agent_output
Test that kickoff returns LiteAgentOutput with correct structure.
lib/crewai/tests/agents/test_agent_a2a_kickoff.py:81
Function
test_agent_kickoff_stops_on_apps_amp_cannot_resolve
(monkeypatch)
lib/crewai/tests/agents/test_agent.py:2798
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:3059
Function
test_agent_mcps_accepts_mixed_ref_types
()
lib/crewai/tests/agents/test_agent.py:3035
Function
test_agent_mcps_accepts_multiple_hash_refs
()
lib/crewai/tests/agents/test_agent.py:3025
Function
test_agent_mcps_accepts_slug_with_hyphenated_tool
()
lib/crewai/tests/agents/test_agent.py:3015
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:3004
Function
test_agent_mcps_rejects_hash_without_slug
()
lib/crewai/tests/agents/test_agent.py:3049
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
← previous
next →
11,501–11,600 of 20,757, ranked by callers