Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AgenticInternet/agentic-internet
/ functions
Functions
481 in github.com/AgenticInternet/agentic-internet
⨍
Functions
481
◇
Types & classes
131
↳
Endpoints
34
↓ 30 callers
Method
run
Execute a task by directly querying the model. For models that don't support tools, we'll describe available tools in the prompt.
agentic_internet/agents/basic_agent.py:23
↓ 28 callers
Method
forward
(self, text: str)
tests/test_code_mode.py:18
↓ 15 callers
Function
is_mcp_available
Check if MCP packages are available.
agentic_internet/tools/mcp_integration.py:545
↓ 15 callers
Method
run
Run the agent on a specific task. Args: task: The task/query to execute **kwargs: Additional arguments to pa
agentic_internet/agents/internet_agent.py:156
↓ 14 callers
Method
search
Return formatted signatures for tools matching *query*. The search is a case-insensitive substring match against both the tool name a
agentic_internet/agents/code_mode.py:98
↓ 11 callers
Method
_violations
(self, code: str)
tests/test_code_execution.py:14
↓ 11 callers
Method
add_agent
Add a search agent to the orchestrator.
agentic_internet/agents/search_orchestrator.py:143
↓ 10 callers
Function
supports_parameter
Return whether a model advertises support for an OpenRouter parameter.
agentic_internet/utils/openrouter_models.py:56
↓ 9 callers
Method
__init__
(self, message: str)
agentic_internet/exceptions.py:96
↓ 9 callers
Function
_build_contents_kwargs
Build the contents kwargs for search_and_contents. The Exa API allows multiple content types to be requested simultaneously.
agentic_internet/tools/exa_search.py:99
↓ 8 callers
Function
_create_model_for_provider
Create a model instance for the given provider. Centralised factory to avoid duplication. Raises: ModelInitializationError: If model
agentic_internet/utils/model_utils.py:19
↓ 8 callers
Method
_orchestrator
(self)
tests/test_search_orchestrator.py:91
↓ 8 callers
Function
_tool
(name: str)
tests/test_orchestration_runtime.py:18
↓ 8 callers
Function
get_use_case_recipe
Return a built-in use-case recipe by id.
agentic_internet/agents/use_cases.py:167
↓ 7 callers
Method
add_content
(self, content: str, priority: int = 1)
agentic_internet/agents/multi_model_serpapi.py:291
↓ 7 callers
Method
get_model_provider
Determine the provider for a given model ID.
agentic_internet/config/settings.py:250
↓ 7 callers
Function
initialize_model
Initialize a model based on model_id and settings configuration. Returns: Initialized model instance or None if initialization fails
agentic_internet/utils/model_utils.py:66
↓ 6 callers
Method
__init__
(self, agent, agent_name: str, agent_description: str)
agentic_internet/agents/multi_model_serpapi.py:798
↓ 6 callers
Function
_normalize_search_type
Validate the search type, fall back to None (Exa default) if unrecognized.
agentic_internet/tools/exa_search.py:121
↓ 6 callers
Function
_search_with_fallback
Try SerpAPI first, fall back to DuckDuckGo.
agentic_internet/tools/web_search.py:102
↓ 6 callers
Function
_validate_url
Validate and normalise a URL. Returns error message or None if valid.
agentic_internet/tools/web_search.py:172
↓ 6 callers
Method
get_search_recommendations
Get recommendations based on past search patterns
agentic_internet/agents/multi_model_serpapi.py:344
↓ 6 callers
Method
snippet
Pick the best available content for a short snippet, cascading through fields.
agentic_internet/tools/exa_search.py:61
↓ 5 callers
Function
_make_raw
Build a stand-in for an exa_py Result object.
tests/test_exa_search.py:18
↓ 5 callers
Function
_normalize_category
Validate the category, fall back to None if unrecognized.
agentic_internet/tools/exa_search.py:131
↓ 5 callers
Function
_search_serpapi
Shared SerpAPI search logic. Returns formatted results or None on failure.
agentic_internet/tools/web_search.py:29
↓ 5 callers
Method
add_server
Add an MCP server configuration. Args: name: Unique identifier for this server server_config: Server configu
agentic_internet/tools/mcp_integration.py:277
↓ 5 callers
Method
connect
Connect to a single MCP server by name. Args: server_name: Name of the server to connect to Yields:
agentic_internet/tools/mcp_integration.py:322
↓ 5 callers
Method
execute_multi_model_workflow
Execute workflow with multi-model coordination and optimization
agentic_internet/agents/multi_model_serpapi.py:1208
↓ 5 callers
Method
get_api_key_for_provider
Get the API key for a specific provider.
agentic_internet/config/settings.py:318
↓ 5 callers
Function
mcp_tools
Context manager to quickly get MCP tools from a single server. This is the recommended way to use MCP tools as it properly handles the c
agentic_internet/tools/mcp_integration.py:411
↓ 5 callers
Method
remember_search_pattern
Remember successful search patterns for different query types
agentic_internet/agents/multi_model_serpapi.py:323
↓ 4 callers
Method
__init__
Initialize data analysis agent with analysis-specific configuration.
agentic_internet/agents/specialized_agents.py:107
↓ 4 callers
Function
_format_results
Format Exa results matching the existing web_search output style.
agentic_internet/tools/exa_search.py:81
↓ 4 callers
Function
check_mcp_available
Check if MCP packages are available and raise informative error if not.
agentic_internet/tools/mcp_integration.py:35
↓ 4 callers
Method
execute
Execute a search task.
agentic_internet/agents/search_orchestrator.py:67
↓ 4 callers
Method
forward
Execute a browser automation task.
agentic_internet/tools/browser_use.py:57
↓ 4 callers
Method
from_sdk
Build from an exa_py Result object (or anything with the expected attrs).
agentic_internet/tools/exa_search.py:47
↓ 4 callers
Function
is_mcp_available
()
agentic_internet/tools/__init__.py:28
↓ 4 callers
Function
load_mcp_config_from_env
Load MCP server configurations from environment variables. Expected format: MCP_SERVER_1_TYPE=stdio MCP_SERVER_1_PATH=/path/
agentic_internet/tools/mcp_integration.py:461
↓ 4 callers
Method
log_search
Log search attempts for analysis and optimization
agentic_internet/agents/multi_model_serpapi.py:365
↓ 4 callers
Method
scrape_structured_data
Scrape structured data from a website. Args: url: The URL to scrape data_schema: Schema describing the expec
agentic_internet/agents/specialized_agents.py:26
↓ 3 callers
Function
_agent_with_run
(return_value: str)
tests/test_specialized_agents.py:13
↓ 3 callers
Method
_create_specialized_prompt
Create a specialized prompt based on the agent's role.
agentic_internet/agents/search_orchestrator.py:94
↓ 3 callers
Method
_get_default_tools
Get the default set of tools for the agent.
agentic_internet/agents/internet_agent.py:121
↓ 3 callers
Function
_search_ddgs
Shared DuckDuckGo search logic.
agentic_internet/tools/web_search.py:69
↓ 3 callers
Function
create_code_mode_agent
Create a ``CodeAgent`` that accesses all *tools* through a ``ToolFacade``. Args: tools: Tools to expose through the facade (MCP tools, de
agentic_internet/agents/code_mode.py:290
↓ 3 callers
Method
forward
Scrape content from a web page.
agentic_internet/tools/web_search.py:205
↓ 3 callers
Function
get_any_available_model
Try to get any available model based on settings configuration. Returns: First successfully initialized model or None.
agentic_internet/utils/model_utils.py:105
↓ 3 callers
Method
get_performance_stats
Get performance statistics for this agent.
agentic_internet/agents/search_orchestrator.py:111
↓ 3 callers
Method
is_available
Check whether the tool can run (SDK installed and API key set).
agentic_internet/tools/exa_search.py:227
↓ 3 callers
Method
list_available_models
List all available models based on configured API keys.
agentic_internet/config/settings.py:332
↓ 3 callers
Function
parse_worker_model_overrides
Parse CLI worker overrides in the form worker=model.
agentic_internet/agents/orchestration_runtime.py:40
↓ 3 callers
Method
research
Conduct research on a specific topic. Args: topic: The research topic depth: Research depth - "quick", "mode
agentic_internet/agents/internet_agent.py:268
↓ 3 callers
Method
resolve_model_id
Resolve configured short aliases to provider-ready model IDs.
agentic_internet/config/settings.py:233
↓ 3 callers
Function
resolve_tool_bundles
Resolve bundle names into available tools while reporting missing bundles.
agentic_internet/agents/orchestration_runtime.py:55
↓ 3 callers
Function
resolve_use_case_tools
Resolve direct and worker tool assignments for a recipe.
agentic_internet/agents/orchestration_runtime.py:84
↓ 3 callers
Method
setup_multi_model_workers
Setup workers with strategic model assignments Args: default_model: Model to use for all workers (if not specified, uses role-bas
agentic_internet/agents/multi_model_serpapi.py:1162
↓ 3 callers
Method
setup_use_case_workers
Setup workers from a declarative K-LLM use-case recipe.
agentic_internet/agents/multi_model_serpapi.py:1170
↓ 3 callers
Function
to_litellm_openrouter_model_id
Return a LiteLLM-compatible OpenRouter model ID.
agentic_internet/utils/openrouter_models.py:24
↓ 3 callers
Method
update_context_from_result
Update context based on agent results
agentic_internet/agents/multi_model_serpapi.py:852
↓ 2 callers
Method
__init__
Initialize the Browser Use tool with API key.
agentic_internet/tools/browser_use.py:43
↓ 2 callers
Method
__init__
(self, tools: list[Tool])
agentic_internet/agents/code_mode.py:83
↓ 2 callers
Function
_build_client
Create an Exa client and tag it with the integration header.
agentic_internet/tools/exa_search.py:74
↓ 2 callers
Method
_create_server_parameters
Create server parameters based on transport type. Returns: StdioServerParameters for stdio or dict for HTTP transport
agentic_internet/tools/mcp_integration.py:101
↓ 2 callers
Method
_synthesize_results
Use the orchestrator agent to synthesize results from multiple agents.
agentic_internet/agents/search_orchestrator.py:334
↓ 2 callers
Method
analyze_search_performance
Analyze search performance across engines and query types
agentic_internet/agents/multi_model_serpapi.py:868
↓ 2 callers
Function
create_search_orchestrator
Convenience function to create and set up a search orchestrator. Args: tools: List of tools to provide to agents model: Mode
agentic_internet/agents/search_orchestrator.py:392
↓ 2 callers
Method
forward
(self, code: str)
agentic_internet/agents/code_mode.py:233
↓ 2 callers
Method
get_default_model_for_provider
Get the default/fallback model for a provider.
agentic_internet/config/settings.py:328
↓ 2 callers
Method
get_model_for_role
Strategic model assignment based on agent role and capabilities
agentic_internet/agents/multi_model_serpapi.py:95
↓ 2 callers
Function
get_model_info
Get information about a model instance.
agentic_internet/utils/model_utils.py:131
↓ 2 callers
Method
get_performance_report
Get a performance report for all agents.
agentic_internet/agents/search_orchestrator.py:371
↓ 2 callers
Method
get_progress_summary
Get a summary of current task progress
agentic_internet/agents/multi_model_serpapi.py:378
↓ 2 callers
Method
get_server_parameters
Get the server parameters for this integration.
agentic_internet/tools/mcp_integration.py:146
↓ 2 callers
Method
list_servers
List all configured server names.
agentic_internet/tools/mcp_integration.py:313
↓ 2 callers
Function
list_use_case_recipes
List built-in use-case recipes in stable order.
agentic_internet/agents/use_cases.py:177
↓ 2 callers
Function
main
Main entry point for the CLI.
agentic_internet/cli.py:820
↓ 2 callers
Method
model
(messages)
tests/test_basic_agent.py:23
↓ 2 callers
Function
normalize_openrouter_model_id
Return the OpenRouter API model ID without the LiteLLM ``openrouter/`` prefix.
agentic_internet/utils/openrouter_models.py:17
↓ 2 callers
Method
prepare_agent_context
Prepare context for agent initialization
agentic_internet/agents/multi_model_serpapi.py:843
↓ 2 callers
Function
recent_agentic_models
Return recent models that are especially useful for agent workflows.
agentic_internet/utils/openrouter_models.py:66
↓ 2 callers
Method
remove_server
Remove a server configuration by name.
agentic_internet/tools/mcp_integration.py:306
↓ 2 callers
Method
setup_default_agents
Set up a default set of search agents with different specializations.
agentic_internet/agents/search_orchestrator.py:157
↓ 2 callers
Function
sort_models_by_created
Return models sorted newest first.
agentic_internet/utils/openrouter_models.py:61
↓ 2 callers
Function
summarize_openrouter_model
Extract the stable fields the CLI and docs care about.
agentic_internet/utils/openrouter_models.py:79
↓ 2 callers
Function
summarize_use_case
Return a JSON-serializable summary of a prepared use case.
agentic_internet/agents/orchestration_runtime.py:102
↓ 2 callers
Method
to_dict
Temporarily hide the non-serialisable facade during E2B serialisation.
agentic_internet/agents/code_mode.py:179
↓ 2 callers
Method
tool_names_for_worker
Return resolved tool names for a worker.
agentic_internet/agents/orchestration_runtime.py:35
↓ 2 callers
Method
validate
(self, tree: ast.AST)
agentic_internet/tools/code_execution.py:204
↓ 2 callers
Method
validate_startup
Validate configuration at startup and return warnings for missing keys.
agentic_internet/config/settings.py:364
↓ 2 callers
Method
worker_names
Return worker names in execution order.
agentic_internet/agents/use_cases.py:65
↓ 2 callers
Method
write_article
Write an article on a given topic. Args: topic: The topic to write about style: Writing style (informative,
agentic_internet/agents/specialized_agents.py:182
↓ 1 callers
Method
__init__
( self, *, num_results: int | None = None, include_text: bool = False,
agentic_internet/tools/exa_search.py:205
↓ 1 callers
Method
__init__
(self, use_orchestrator: bool = False, orchestrator: Any = None)
agentic_internet/tools/web_search.py:131
↓ 1 callers
Method
__init__
Initialize the Internet Agent. Args: model_id: The model to use for the agent tools: List of tools to make a
agentic_internet/agents/internet_agent.py:34
↓ 1 callers
Method
_aggregate_results
Aggregate results from multiple agents.
agentic_internet/agents/search_orchestrator.py:300
↓ 1 callers
Method
_analyze_cross_engine_results
Analyze results across different search engines
agentic_internet/agents/multi_model_serpapi.py:902
↓ 1 callers
Method
_check_model_code_support
Check if a model supports code generation for CodeAgent
agentic_internet/agents/multi_model_serpapi.py:1022
↓ 1 callers
Method
_check_model_tool_support
Check if a model supports tool calling
agentic_internet/agents/multi_model_serpapi.py:1000
next →
1–100 of 481, ranked by callers