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
↓ 5 callers
Function
setupAgentTools
(server: Server)
supabase/functions/mcp-server/tests/agent-test.ts:96
↓ 5 callers
Function
setupMocks
()
scripts/sparc2/src/logger.test.ts:90
↓ 5 callers
Function
setupMocks
()
scripts/sparc2/src/vector/vectorStore.test.ts:18
↓ 5 callers
Method
trackStepPerformance
* Track step performance * @param step Agent step
scripts/sparc-bench/src/metrics/metrics-collector.ts:32
↓ 5 callers
Function
tryExec
( fn: () => Promise<T> | T, errorMessage = "An error occurred", verbose = false )
scripts/sparc-bench/src/utils/error-handler.ts:59
↓ 4 callers
Function
_get_github_client
Get an authenticated GitHub client. Returns: Authenticated GitHub client
scripts/agents/devops/src/github/github_tools.py:31
↓ 4 callers
Function
createCheckpoint
(name: string)
scripts/sparc2/src/git/gitIntegration.ts:325
↓ 4 callers
Function
createMockEnv
(options: { ANONYMIZER_SALT?: string; ANONYMIZER_ENABLED?: string; ANONYMIZER_FIELDS?: string; NEXT_SE
scripts/gemini-tumbler/src/cloudflare/cloudflare-worker.test.ts:31
↓ 4 callers
Function
createMockRequest
(options: { method?: string; headers?: Record<string, string>; body?: any; rawBody?: string; } = {})
scripts/gemini-tumbler/src/cloudflare/cloudflare-worker.test.ts:10
↓ 4 callers
Function
createTestConfig
()
scripts/gemini-tumbler/src/agent/tumblerService.test.ts:51
↓ 4 callers
Function
executeCode
( code: string, options: { stream?: boolean; language?: "python" | "javascript" | "typescript";
scripts/sparc2/scripts/e2b-code-interpreter.ts:69
↓ 4 callers
Method
getConversationHistory
()
scripts/agentic-mcp/src/types/index.ts:66
↓ 4 callers
Function
getCorsHeaders
(req: Request)
supabase/functions/_shared/cors.ts:11
↓ 4 callers
Function
getCurrentBranch
()
scripts/sparc2/src/git/gitIntegration.ts:373
↓ 4 callers
Method
getHealthState
* Get the current health state of all keys
scripts/gemini-tumbler/src/utils/rateLimitManager.ts:372
↓ 4 callers
Function
getTestRateLimitManager
()
scripts/gemini-tumbler/tests/test-utils.ts:38
↓ 4 callers
Function
getWorker
()
scripts/gemini-tumbler/src/cloudflare/cloudflare-worker.test.ts:54
↓ 4 callers
Function
handle_ec2_command
Handle EC2 commands.
scripts/agents/devops/tests/custom/run_cli_tests.py:95
↓ 4 callers
Method
handle_error
Handle common AWS errors and convert to appropriate exceptions. Args: error: The exception that was raised.
scripts/agents/devops/src/aws/base.py:197
↓ 4 callers
Function
handle_github_command
Handle GitHub commands.
scripts/agents/devops/tests/custom/run_cli_tests.py:128
↓ 4 callers
Function
initializeVectorStore
(name: string = "sparc2-vector-store")
scripts/vectorstore/09-final-sparc2-vector-store.ts:66
↓ 4 callers
Function
initializeVectorStore
(name: string = "sparc2-vector-store")
scripts/sparc2/src/vector/vectorStore.ts:66
↓ 4 callers
Function
isCorsPreflightRequest
(request: Request)
scripts/sparc2/src/_shared/cors.ts:52
↓ 4 callers
Function
listFiles
(path: string)
scripts/sparc2/scripts/e2b-code-interpreter.ts:212
↓ 4 callers
Method
listTools
()
scripts/agentic-mcp/src/mcp/tools/registry.ts:37
↓ 4 callers
Method
loadConfig
* Loads and parses the configuration * * @returns Promise<AgenticBenchmarkConfig> - The parsed configuration
scripts/sparc-bench/src/utils/config-parser.ts:69
↓ 4 callers
Function
mockEnv
()
scripts/gemini-tumbler/src/agent/tumblerService.test.ts:39
↓ 4 callers
Function
mock_trace
(name)
scripts/agents/devops/tests/custom/test_openai_agents_components.py:64
↓ 4 callers
Function
print_error
Print an error message with optional suggestion.
scripts/agents/devops/tests/custom/run_cli_error_tests.py:56
↓ 4 callers
Method
processResponse
* Process a response to update key health * * @param response The response metadata to process
scripts/gemini-tumbler/src/utils/rateLimitManager.ts:66
↓ 4 callers
Method
recall
(key: string)
scripts/agentic-mcp/src/types/index.ts:78
↓ 4 callers
Function
restoreEnv
()
scripts/gemini-tumbler/src/agent/tumblerService.test.ts:46
↓ 4 callers
Method
runAdversarialTests
* Run adversarial tests * @param tests Tests to run * @returns Test results
scripts/sparc-bench/src/metrics/security-evaluator.ts:61
↓ 4 callers
Function
searchDiffEntries
( query: string, maxResults: number = 5, )
scripts/sparc2/src/vector/vectorStore.ts:205
↓ 4 callers
Method
setTasks
* Sets the tasks to run * * @param tasks - Tasks to run
scripts/sparc-bench/src/metrics/agentic-evaluator.ts:65
↓ 4 callers
Method
start
* Start the server
scripts/gemini-tumbler/src/api/server.ts:359
↓ 4 callers
Function
testFunction
(code: string)
supabase/functions/mcp-server/index.ts:162
↓ 4 callers
Function
wait
(ms: number)
scripts/agents/openai-agent/test-file-search.ts:21
↓ 3 callers
Method
calculateSecurityScore
* Calculate security score * @param results Test results * @returns Security score
scripts/sparc-bench/src/metrics/security-evaluator.ts:94
↓ 3 callers
Function
checkFileStatus
(vectorStoreId: string)
scripts/agents/openai-agent/file-search.ts:79
↓ 3 callers
Method
createCheckpoint
* Create a checkpoint * @param name Name of the checkpoint * @returns Checkpoint hash
scripts/sparc2/src/agent/agent.ts:167
↓ 3 callers
Function
createRepoVectorStore
(repoName: string)
supabase/functions/security-scanner/index.ts:64
↓ 3 callers
Method
create_instance
(self, name, instance_type, ami_id, subnet_id, security_group_ids, key_name, wait=False)
scripts/agents/devops/tests/custom/run_cli_tests.py:52
↓ 3 callers
Method
dispose
* Clean up resources
scripts/gemini-tumbler/src/utils/rateLimitManager.ts:453
↓ 3 callers
Method
estimateTokenCount
* Estimate token count for a given text
scripts/gemini-tumbler/src/agent/vertexAIClient.ts:172
↓ 3 callers
Method
estimateTokenCount
* Estimate token count for a given text * This is a rough estimate as the actual tokenization depends on the model * @param text The text to est
scripts/gemini-tumbler/src/agent/directGeminiClient.ts:242
↓ 3 callers
Method
estimateTokenCount
* Estimate token count for a given text * This is a rough estimate as the actual tokenization depends on the model * @param text The text to est
scripts/gemini-tumbler/src/agent/googleGeminiClient.ts:222
↓ 3 callers
Method
estimateTokenCount
* Estimate token count for a given text * This is a rough estimate as the actual tokenization depends on the model * @param text The text to est
scripts/gemini-tumbler/src/agent/geminiClient.ts:128
↓ 3 callers
Function
executeCode
( code: string, options: RunCodeOptions = {} )
scripts/e2b/e2b-code-interpreter.ts:75
↓ 3 callers
Function
format_output
Format data for output in the specified format.
scripts/agents/devops/tests/custom/test_cli_format.py:10
↓ 3 callers
Method
format_resource_name
Format a resource name according to a template. Args: name_format: Format string for the name. **kwa
scripts/agents/devops/src/aws/base.py:402
↓ 3 callers
Method
getConversationHistory
()
scripts/agents/openai-agent/agent.ts:105
↓ 3 callers
Method
getConversationHistory
()
supabase/functions/openai-agent-sdk/index.ts:105
↓ 3 callers
Method
getMetrics
* Get metrics * @returns Metrics
scripts/sparc-bench/src/metrics/metrics-collector.ts:109
↓ 3 callers
Function
getOrCreateVectorStore
(repoName: string)
supabase/functions/security-scanner/index.ts:77
↓ 3 callers
Method
getState
(key: K)
scripts/agentic-mcp/src/types/index.ts:70
↓ 3 callers
Method
getWorkflowId
()
scripts/agentic-mcp/src/mcp/context.ts:100
↓ 3 callers
Method
getWorkflowId
()
scripts/agents/openai-agent/agent.ts:165
↓ 3 callers
Method
getWorkflowId
()
supabase/functions/openai-agent-sdk/index.ts:165
↓ 3 callers
Method
get_branch
Get details for a specific branch. Args: repo: Repository name or full path (owner/repo). branch: Br
scripts/agents/devops/src/github/github.py:747
↓ 3 callers
Method
get_security_group
Get details for a specific security group. Args: group_id: The ID of the security group. Re
scripts/agents/devops/src/aws/ec2.py:343
↓ 3 callers
Function
handleError
(error: unknown, verbose = false)
scripts/sparc-bench/src/utils/error-handler.ts:30
↓ 3 callers
Function
handle_cli_error
Handle CLI errors with user-friendly messages. Args: error: The exception that was raised Returns: Exit cod
scripts/agents/devops/src/cli.py:59
↓ 3 callers
Function
handle_cli_error
Handle CLI errors and return appropriate exit code.
scripts/agents/devops/tests/custom/test_error_handling.py:91
↓ 3 callers
Function
isRepoClean
()
scripts/sparc2/src/git/gitIntegration.ts:396
↓ 3 callers
Method
list_instances
List EC2 instances with optional filtering. Args: filters: List of filters to apply. Each filter is a dict with
scripts/agents/devops/src/aws/ec2.py:57
↓ 3 callers
Method
list_instances
(self, filters=None)
scripts/agents/devops/tests/custom/run_cli_tests.py:41
↓ 3 callers
Method
list_repositories
(self, org=None, user=None)
scripts/agents/devops/tests/custom/run_cli_tests.py:64
↓ 3 callers
Function
loadConfig
(configPath: string)
scripts/sparc2/src/config.ts:50
↓ 3 callers
Function
main
Main entry point for the CLI.
scripts/agents/devops/src/cli.py:508
↓ 3 callers
Function
makeRequest
(endpoint: string, method = "GET", body: any = null)
supabase/functions/calendly/test.ts:14
↓ 3 callers
Function
multiply
* Multiplies two numbers. * @param {number} a - The first number. * @param {number} b - The second number. * @returns {number} The product of a and
scripts/sparc2/examples/test_mcp_example.js:35
↓ 3 callers
Method
preRequest
* Check if a request can proceed with a given API key * * @param apiKey The API key to check * @param provider The provider this key belongs
scripts/gemini-tumbler/src/utils/rateLimitManager.ts:163
↓ 3 callers
Function
printHelp
* Display help information
scripts/sparc2/src/cli/cli.ts:43
↓ 3 callers
Method
processRequest
* Process a request through the tumbler * @param request The request to process * @returns The response from the selected model
scripts/gemini-tumbler/src/agent/tumblerService.ts:45
↓ 3 callers
Function
readFile
(path: string)
scripts/sparc2/scripts/e2b-code-interpreter.ts:191
↓ 3 callers
Method
registerResource
(resource: ResourceInfo)
supabase/functions/mcp-server/tests/resources/registry.test.ts:13
↓ 3 callers
Method
registerResourceTemplate
(template: ResourceTemplateInfo)
supabase/functions/mcp-server/tests/resources/registry.test.ts:17
↓ 3 callers
Method
registerTool
(tool: ToolHandler)
supabase/functions/mcp-server/tests/tools/registry.test.ts:11
↓ 3 callers
Function
restoreFetch
()
scripts/gemini-tumbler/src/agent/geminiClient.test.ts:12
↓ 3 callers
Method
run
( agent: Agent, inputs: string[], config?: AgentRunConfig )
supabase/functions/openai-agent-sdk/index.ts:439
↓ 3 callers
Function
runAgentLoop
( agent: Agent, input: string, context: Context, config?: AgentRunConfig )
scripts/agents/openai-agent/agent.ts:206
↓ 3 callers
Function
runAgentLoop
( agent: Agent, input: string, context: Context, config?: AgentRunConfig )
supabase/functions/openai-agent-sdk/index.ts:206
↓ 3 callers
Method
runTask
* Runs a single task * * @param task - Task to run * @param agentSize - Size of the agent * @param stepCount - Number of steps * @retu
scripts/sparc-bench/src/metrics/agentic-evaluator.ts:190
↓ 3 callers
Method
selectBestKey
* Select the best API key to use from a pool * * @param provider The provider to select a key for * @param apiKeys Array of available API ke
scripts/gemini-tumbler/src/utils/rateLimitManager.ts:232
↓ 3 callers
Method
selectKeyHealthAware
* Select a key using health-aware strategy
scripts/gemini-tumbler/src/utils/rateLimitManager.ts:283
↓ 3 callers
Function
sendEmail
( agentName: string, message: string, recipient: string = DEFAULT_RECIPIENT, action: string = "notify"
supabase/functions/security-scanner/email-service.ts:237
↓ 3 callers
Method
setParameters
* Set processing parameters * @param params Parameters to set
scripts/gemini-tumbler/src/types/googleAIClient.ts:44
↓ 3 callers
Method
start_instance
Start a stopped EC2 instance. Args: instance_id: The ID of the instance to start. wait: Whether to w
scripts/agents/devops/src/aws/ec2.py:195
↓ 3 callers
Method
stop
()
scripts/gemini-tumbler/tests/cloudflare-integration-test.ts:44
↓ 3 callers
Method
stop_instance
Stop a running EC2 instance. Args: instance_id: The ID of the instance to stop. force: Whether to fo
scripts/agents/devops/src/aws/ec2.py:214
↓ 3 callers
Method
testFunction
(code: string)
supabase/functions/meta-function-generator/mcp_server.ts:211
↓ 2 callers
Function
_deep_merge
Deep merge two dictionaries. Args: target: Target dictionary to merge into source: Source dictionary to merge from
scripts/agents/devops/src/core/config.py:196
↓ 2 callers
Method
_get_from_aws_secrets
Get credentials from AWS Secrets Manager. Args: secret_name: Name of the secret Returns:
scripts/agents/devops/src/core/credentials.py:140
↓ 2 callers
Function
add
* Adds two numbers. * @param {number} a - The first number. * @param {number} b - The second number. * @returns {number} The sum of a and b.
scripts/sparc2/examples/test_mcp_example.js:9
↓ 2 callers
Function
addFileToVectorStore
(vectorStoreId: string, fileId: string)
scripts/agents/openai-agent/file-search.ts:66
↓ 2 callers
Method
calculateOverallMetrics
* Calculate overall metrics * @param steps Agent steps * @returns Overall metrics
scripts/sparc-bench/src/metrics/metrics-collector.ts:68
↓ 2 callers
Function
computeFileDiff
* Compute a diff between two files * @param oldText Previous version of code * @param newText New version of code * @returns A DiffResult with diff
scripts/sparc2/src/diff/diffTracker.ts:59
↓ 2 callers
Function
createCorsPreflightResponse
()
scripts/sparc2/src/_shared/cors.ts:40
↓ 2 callers
Method
createFunction
* Create a new Edge Function * @param slug Function slug * @param name Function name * @param body Function body * @param verifyJwt Whethe
supabase/functions/edge_deployment/src/api-client.ts:121
← previous
next →
101–200 of 1,315, ranked by callers