Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agenticsorg/edge-agents
/ functions
Functions
1,315 in github.com/agenticsorg/edge-agents
⨍
Functions
1,315
◇
Types & classes
471
↳
Endpoints
32
↓ 1 callers
Method
_load_credentials_file
Load credentials from file. Raises: FileNotFoundError: If credentials file doesn't exist json.JSONDe
scripts/agents/devops/src/core/credentials.py:102
↓ 1 callers
Function
_load_from_env
Load configuration from environment variables. Environment variables are converted to nested dictionaries based on double underscore
scripts/agents/devops/src/core/config.py:113
↓ 1 callers
Method
_verify_access
Verify that the credentials have access to the service. This method should be overridden by subclasses to perform a simple,
scripts/agents/devops/src/aws/base.py:180
↓ 1 callers
Method
_verify_access
Verify that the token has access to GitHub API. Raises: AuthenticationError: If authentication fails.
scripts/agents/devops/src/github/github.py:120
↓ 1 callers
Method
addFeedback
* Add feedback to a contribution * @param id The ID of the contribution * @param feedback The feedback to add * @returns Whether the feedback
scripts/gemini-tumbler/src/utils/contributionManager.ts:61
↓ 1 callers
Function
addFileToVectorStore
* Add a file to a vector store * @param vectorStoreId Vector store ID * @param fileId File ID
scripts/vectorstore/03-search-vector-store.ts:86
↓ 1 callers
Function
addFileToVectorStore
* Add a file to a vector store * @param vectorStoreId Vector store ID * @param fileId File ID
scripts/vectorstore/02-upload-file-to-vector-store.ts:83
↓ 1 callers
Function
addFileToVectorStore
* Add a file to a vector store * @param vectorStoreId Vector store ID * @param fileId File ID
scripts/vectorstore/06-upload-file-example.ts:83
↓ 1 callers
Function
addFileToVectorStore
* Add a file to a vector store * @param vectorStoreId Vector store ID * @param fileId File ID
scripts/vectorstore/07-search-vector-store-example.ts:83
↓ 1 callers
Method
analyzeAndDiff
* Analyze and compute diff between two versions of code * @param path Path to the file * @param oldContent Previous version of code * @param
scripts/sparc2/src/agent/agent.ts:110
↓ 1 callers
Function
analyzeConfigurations
( files: { path: string; content: string }[] )
supabase/functions/security-scanner/index.ts:421
↓ 1 callers
Function
analyzePullRequest
( owner: string, repo: string, prNumber: number, modelName: string = "gpt-4-turbo-preview" )
supabase/functions/git-pull-fixer/index.ts:118
↓ 1 callers
Method
applyChanges
* Apply changes to a file and commit them * @param path Path to the file * @param message Commit message * @returns Commit hash
scripts/sparc2/src/agent/agent.ts:147
↓ 1 callers
Function
applyCorsHeaders
(response: Response)
scripts/sparc2/src/_shared/cors.ts:20
↓ 1 callers
Method
applyEnvironmentVariables
* Applies environment variables to the configuration * * @param config - The configuration to apply environment variables to
scripts/sparc-bench/src/utils/config-parser.ts:184
↓ 1 callers
Method
applyStatisticalAnalysis
* Applies statistical analysis to results * * @param results - Results to analyze * @returns BenchmarkResult[] - Analyzed results
scripts/sparc-bench/src/metrics/agentic-evaluator.ts:321
↓ 1 callers
Function
areSimilar
* Check if two strings are similar (used for detecting changed lines) * @param a First string * @param b Second string * @returns True if the strin
scripts/sparc2/src/diff/diffTracker.ts:244
↓ 1 callers
Function
assertTrue
* Assert that a value is true * @param value Value to check
scripts/sparc-bench/src/tests/benchmark-test.ts:225
↓ 1 callers
Function
attemptFix
(code: string, errors: string[])
supabase/functions/mcp-server/index.ts:188
↓ 1 callers
Method
attemptFix
(code: string, errors: string[])
supabase/functions/meta-function-generator/mcp_server.ts:238
↓ 1 callers
Function
calculateAdaptability
* Calculate adaptability metric * @param results Test results * @returns Adaptability score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/swebench-runner.ts:182
↓ 1 callers
Function
calculateAdaptability
* Calculate adaptability metric * @param results Test results * @returns Adaptability score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/humaneval-runner.ts:169
↓ 1 callers
Function
calculateAdaptability
* Calculate adaptability metric * @param results Test results * @returns Adaptability score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/redcode-runner.ts:273
↓ 1 callers
Method
calculateEffectSize
* Calculates the effect size * * @param prevResult - Previous result * @param currResult - Current result * @returns number - Effect size
scripts/sparc-bench/src/metrics/agentic-evaluator.ts:382
↓ 1 callers
Function
calculateEfficiency
* Calculate efficiency metric * @param results Test results * @returns Efficiency score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/swebench-runner.ts:150
↓ 1 callers
Function
calculateEfficiency
* Calculate efficiency metric * @param results Test results * @returns Efficiency score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/humaneval-runner.ts:138
↓ 1 callers
Function
calculateEfficiency
* Calculate efficiency metric * @param results Test results * @returns Efficiency score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/redcode-runner.ts:239
↓ 1 callers
Function
calculateSafety
* Calculate safety metric * @param results Test results * @returns Safety score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/swebench-runner.ts:162
↓ 1 callers
Function
calculateSafety
* Calculate safety metric * @param results Test results * @returns Safety score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/humaneval-runner.ts:150
↓ 1 callers
Function
calculateSafety
* Calculate safety metric * @param results Test results * @returns Safety score (0-1, higher is better)
scripts/sparc-bench/src/benchmarks/redcode-runner.ts:251
↓ 1 callers
Function
calculateSecurityTrends
( repoName: string, currentScan: ScanResult )
supabase/functions/security-scanner/index.ts:676
↓ 1 callers
Method
calculateToolAccuracy
* Calculate tool accuracy * @param step Agent step * @returns Tool accuracy
scripts/sparc-bench/src/metrics/metrics-collector.ts:47
↓ 1 callers
Function
calculateTotal
(items)
scripts/sparc2/examples/sample-test-file.js:9
↓ 1 callers
Function
calculateTotalPrice
(items)
scripts/sparc2/sample-test-file.js:13
↓ 1 callers
Method
calculateTrajectoryScore
* Calculate trajectory score * @param steps Agent steps * @returns Trajectory score
scripts/sparc-bench/src/metrics/metrics-collector.ts:99
↓ 1 callers
Method
calculateWilcoxonPValue
* Calculates the p-value for the Wilcoxon signed-rank test * * @param prevResult - Previous result * @param currResult - Current result *
scripts/sparc-bench/src/metrics/agentic-evaluator.ts:369
↓ 1 callers
Function
callLLM
(content: string)
supabase/functions/agent-manager/index.ts:115
↓ 1 callers
Function
callOpenRouter
(messages: any[], maxRetries = 3)
supabase/functions/agent_alpha/index.ts:275
↓ 1 callers
Function
callOpenRouter
(messages: any[], maxRetries = 3)
supabase/functions/agent_beta/index.ts:247
↓ 1 callers
Function
callOpenRouter
(messages: ChatMessage[])
supabase/functions/agentic_inbox_agent/index.ts:103
↓ 1 callers
Function
checkEnvironmentVariables
()
supabase/functions/env_test.ts:84
↓ 1 callers
Function
checkRateLimit
(path: string, clientIp: string)
supabase/functions/security-scanner/index.ts:1359
↓ 1 callers
Function
check_deployment_prerequisites
Check if the prerequisites for deployment are met. Args: request: Parameters for the deployment Returns: Re
scripts/agents/devops/examples/openai_agents_deployment_example.py:72
↓ 1 callers
Function
check_security
Check if input text contains potentially malicious content. Args: input_text: The text to check Returns: Se
scripts/agents/devops/src/core/guardrails.py:46
↓ 1 callers
Function
check_sensitive_info
Check if output text contains sensitive information. Args: output_text: The text to check Returns: Sensitiv
scripts/agents/devops/src/core/guardrails.py:118
↓ 1 callers
Method
clearMetrics
* Clear metrics
scripts/sparc-bench/src/metrics/metrics-collector.ts:24
↓ 1 callers
Function
clearVectorStore
()
scripts/vectorstore/04-sparc2-vector-store-implementation.ts:275
↓ 1 callers
Function
clearVectorStore
* Clear all entries from the vector store * Useful for testing or resetting the database
scripts/vectorstore/08-sparc2-vector-store-implementation.ts:264
↓ 1 callers
Function
clearVectorStore
()
scripts/sparc2/src/vector/vectorStore.ts:337
↓ 1 callers
Function
combineResults
* Combine benchmark results * @param results Array of benchmark results * @returns Combined results
scripts/sparc-bench/src/analysis/analyze-results.ts:134
↓ 1 callers
Function
computeFunctionDiff
* Compute a diff between two files, focusing on function-level changes * @param oldText Previous version of code * @param newText New version of cod
scripts/sparc2/src/diff/diffTracker.ts:265
↓ 1 callers
Method
constructSummaryPrompt
(params: { content: string; format?: string; max_length?: number; include_key_quotes?: boolean
scripts/agentic-mcp/src/mcp/tools/summarize.ts:98
↓ 1 callers
Function
convertPlainTextToJson
(text: string)
supabase/functions/security-scanner/index.ts:748
↓ 1 callers
Method
createAssistant
* Create an assistant (if supported) * @param options Options for the assistant
scripts/sparc2/src/agent/types.ts:178
↓ 1 callers
Function
createEvaluator
(config: AgenticBenchmarkConfig)
scripts/sparc-bench/src/metrics/agentic-evaluator.ts:395
↓ 1 callers
Function
createFunction
* Create a new Edge Function * @param args Command-line arguments
supabase/functions/edge_deployment/client.ts:258
↓ 1 callers
Method
createMockProvider
* Create a mock provider * @param name Provider name * @param options Provider options * @returns Mock provider
scripts/sparc2/src/agent/providers/provider-factory.ts:67
↓ 1 callers
Method
createOpenAIProvider
* Create an OpenAI provider * @param name Provider name * @param options Provider options * @returns OpenAI provider
scripts/sparc2/src/agent/providers/provider-factory.ts:44
↓ 1 callers
Method
createOpenRouterProvider
* Create an OpenRouter provider * @param name Provider name * @param options Provider options * @returns OpenRouter provider
scripts/sparc2/src/agent/providers/provider-factory.ts:54
↓ 1 callers
Function
createOptimizedBenchmarkManager
(options: BenchmarkManagerOptions = {})
scripts/sparc-bench/src/benchmarks/optimized-benchmark-manager.ts:49
↓ 1 callers
Method
createPrompt
* Create a prompt for the OpenAI API * @param task Task description * @param files Files to process * @returns Prompt text
scripts/sparc2/src/agent/agent.ts:265
↓ 1 callers
Function
createSchedulingLink
(req: Request)
supabase/functions/calendly/index.ts:5
↓ 1 callers
Function
createServer
()
scripts/sparc2/examples/sse-streaming.js:168
↓ 1 callers
Method
createSystemMessage
(params: any)
scripts/agentic-mcp/src/mcp/tools/support.ts:90
↓ 1 callers
Function
create_ec2_instance
Mock create_ec2_instance function.
scripts/agents/devops/tests/test_openai_agents_ec2.py:93
↓ 1 callers
Function
create_ec2_instance
Mock create_ec2_instance function.
scripts/agents/devops/tests/custom/test_openai_agents_ec2.py:94
↓ 1 callers
Function
create_ec2_instance
Create an EC2 instance.
scripts/agents/devops/tests/custom/test_openai_agents_components.py:218
↓ 1 callers
Method
create_instance
Create a new EC2 instance. Args: name: Name tag for the instance. instance_type: EC2 instance type (
scripts/agents/devops/src/aws/ec2.py:108
↓ 1 callers
Function
create_issue
Create a GitHub issue.
scripts/agents/devops/tests/custom/test_openai_agents_components.py:273
↓ 1 callers
Function
credential_command_with_error
Credential command that raises an error.
scripts/agents/devops/tests/custom/run_cli_error_tests.py:89
↓ 1 callers
Method
defineResearchAgents
(params: { query: string; depth?: string; focus_areas?: string[]; }, webSearchResults: string)
scripts/agentic-mcp/src/mcp/tools/research.ts:179
↓ 1 callers
Function
deleteFunction
* Delete an Edge Function * @param slug Function slug
supabase/functions/edge_deployment/client.ts:367
↓ 1 callers
Function
deleteFunction
(name: string)
supabase/functions/mcp-server/index.ts:247
↓ 1 callers
Method
deleteFunction
(name: string)
supabase/functions/meta-function-generator/mcp_server.ts:323
↓ 1 callers
Method
delete_key_pair
Delete an EC2 key pair. Args: key_name: The name of the key pair to delete.
scripts/agents/devops/src/aws/ec2.py:535
↓ 1 callers
Method
delete_security_group
Delete an EC2 security group. Args: group_id: The ID of the security group to delete.
scripts/agents/devops/src/aws/ec2.py:427
↓ 1 callers
Function
deployFunction
(name: string, code: string, config: Record<string, any> = {})
supabase/functions/mcp-server/index.ts:214
↓ 1 callers
Method
deployFunction
(name: string, code: string, config: Record<string, any> = {})
supabase/functions/meta-function-generator/mcp_server.ts:264
↓ 1 callers
Method
detectExplicitRateLimiting
* Detect explicit rate limiting signals in a response
scripts/gemini-tumbler/src/utils/rateMonitor.ts:105
↓ 1 callers
Method
detectRateLimitHeaders
* Detect rate limit information from response headers
scripts/gemini-tumbler/src/utils/rateMonitor.ts:165
↓ 1 callers
Method
detectTimingAnomalies
* Detect rate limiting from timing anomalies
scripts/gemini-tumbler/src/utils/rateMonitor.ts:261
↓ 1 callers
Function
detectVulnerabilityPatterns
( files: { path: string; content: string }[] )
supabase/functions/security-scanner/index.ts:473
↓ 1 callers
Function
divide
* Divides the first number by the second. * @param {number} a - The numerator * @param {number} b - The denominator * @returns {number} The quotien
scripts/sparc2/test-file.js:40
↓ 1 callers
Function
ec2_command_with_error
EC2 command that raises an error.
scripts/agents/devops/tests/custom/run_cli_error_tests.py:77
↓ 1 callers
Function
enhanceDependencyFindings
( findings: SecurityFinding[] )
supabase/functions/security-scanner/index.ts:580
↓ 1 callers
Method
executeAdversarialScenario
* Execute adversarial scenario * @param testType Test type * @returns Test result
scripts/sparc-bench/src/metrics/security-evaluator.ts:70
↓ 1 callers
Method
executeAssistantStep
* Execute a step using an assistant * @param step The step to execute * @param context The current context * @returns The updated context
scripts/sparc2/src/agent/executor/agent-executor.ts:156
↓ 1 callers
Function
executeCode
( code: string, apiKey: string )
scripts/sparc2/scripts/e2b-code-interpreter-api.ts:30
↓ 1 callers
Method
executeCommand
* Execute a command * @param body The request body * @returns The HTTP response
supabase/functions/mcp-server/core/server.ts:142
↓ 1 callers
Method
executeEchoCommand
* Execute the echo command * @param body The request body * @returns The HTTP response
supabase/functions/mcp-server/core/server.ts:184
↓ 1 callers
Function
executeFile
( filePath: string, options: { stream?: boolean; language?: "python" | "javascript" | "typescript"
scripts/sparc2/src/sandbox/codeInterpreter.ts:210
↓ 1 callers
Method
executeLLMStep
* Execute a step using a simple LLM call * @param step The step to execute * @param context The current context * @returns The updated contex
scripts/sparc2/src/agent/executor/agent-executor.ts:114
↓ 1 callers
Method
executePingCommand
* Execute the ping command * @returns The HTTP response
supabase/functions/mcp-server/core/server.ts:207
↓ 1 callers
Method
executeQuery
* Execute a query * @param body The request body * @returns The HTTP response
supabase/functions/mcp-server/core/server.ts:163
↓ 1 callers
Method
executeRandomQuery
* Execute the random query * @returns The HTTP response
supabase/functions/mcp-server/core/server.ts:241
↓ 1 callers
Method
executeStep
* Execute a single step in a flow * @param step The step to execute * @param context The current context * @returns The updated context
scripts/sparc2/src/agent/executor/agent-executor.ts:92
↓ 1 callers
Method
executeTimeQuery
* Execute the time query * @returns The HTTP response
supabase/functions/mcp-server/core/server.ts:224
↓ 1 callers
Method
executeToolCall
* Execute a tool call * @param toolCall The tool call to execute * @param context The current context * @returns The tool call output
scripts/sparc2/src/agent/executor/agent-executor.ts:271
↓ 1 callers
Function
extractErrorMessage
* Extract an error message from an error if available
scripts/gemini-tumbler/src/utils/responseInterceptor.ts:160
↓ 1 callers
Function
extractErrorType
* Extract an error type from an error if available
scripts/gemini-tumbler/src/utils/responseInterceptor.ts:172
← previous
next →
301–400 of 1,315, ranked by callers