Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EBWi11/AgentSmith-HUB
/ functions
Functions
2,165 in github.com/EBWi11/AgentSmith-HUB
⨍
Functions
2,165
◇
Types & classes
243
↓ 1 callers
Method
TokenParser
(ori string)
src/rules_engine/engine_condition.go:181
↓ 1 callers
Function
ToolResultMessage
ToolResultMessage creates a tool-result message to feed back to the LLM.
src/agent/llm.go:101
↓ 1 callers
Method
TryAcquire
TryAcquire attempts to acquire the lock with a timeout
src/common/redis.go:569
↓ 1 callers
Function
ValidateComponent
Component validation helpers
src/project/project_struct.go:1139
↓ 1 callers
Function
Verify
(path string, raw string)
src/project/project.go:597
↓ 1 callers
Function
Verify
(filePath, raw string)
src/skill/skill.go:86
↓ 1 callers
Function
Verify
(path string, raw string)
src/rules_engine/engine_struct.go:1893
↓ 1 callers
Function
VerifyOIDCToken
VerifyOIDCToken verifies an ID token and returns claims map
src/api/auth.go:56
↓ 1 callers
Method
WaitForAllFollowersIdle
WaitForAllFollowersIdle waits for all followers to finish executing instructions
src/cluster/instruction_sync.go:869
↓ 1 callers
Method
absenceScannerLoop
absenceScannerLoop periodically checks for expired absence sequences and triggers alerts.
src/rules_engine/engine_core.go:316
↓ 1 callers
Function
addRuleToXML
addRuleToXML adds a new rule to the XML before the closing </root> tag
src/api/components.go:2932
↓ 1 callers
Function
analyzeDataFields
(data map[string]interface{}, prefix string, fieldCounts map[string]int)
src/api/sample_data_intelligent.go:565
↓ 1 callers
Function
analyzeDataQuality
(sampleData map[string]interface{}, requiredFields []string)
src/api/sample_data_intelligent.go:419
↓ 1 callers
Function
analyzeFieldUsage
(sampleData map[string]interface{}, rulePurpose string)
src/api/sample_data_intelligent.go:489
↓ 1 callers
Function
analyzePluginUsage
analyzePluginUsage analyzes how a plugin is used across rulesets and projects
src/api/components.go:3129
↓ 1 callers
Function
analyzePluginUsageInRuleset
analyzePluginUsageInRuleset analyzes how a plugin is used in a specific ruleset
src/api/components.go:3187
↓ 1 callers
Method
appendInstructionLocked
(instruction *Instruction)
src/cluster/instruction_sync.go:295
↓ 1 callers
Method
applyInstruction
applyInstruction applies a single instruction snapshot read during Phase 1.
src/cluster/sync_listener.go:735
↓ 1 callers
Method
applySequenceEventAppends
(seq *Sequence, matchedEventIDs []string, data map[string]interface{}, state *SequenceState, ruleCache map[str
src/rules_engine/engine_core.go:1503
↓ 1 callers
Function
assessFieldPerformanceImpact
(fieldName string, stats FieldValueStats)
src/api/sample_data_intelligent.go:645
↓ 1 callers
Function
assessPerformanceLoad
(proj *project.Project)
src/api/sample_data_intelligent.go:344
↓ 1 callers
Method
attachLlmOutput
(msg map[string]interface{}, output map[string]interface{})
src/agent/agent_loop.go:417
↓ 1 callers
Method
avx2BatchCompare
(data string, patterns []string, operation CompareOperation)
src/rules_engine/simd_amd64.go:118
↓ 1 callers
Function
benchmarkFullCoverageGoldenEvent
()
src/rules_engine/engine_tps_bench_test.go:53
↓ 1 callers
Method
buildAllToolDefinitions
()
src/agent/agent.go:443
↓ 1 callers
Function
buildCardContent
buildCardContent builds a Feishu interactive card from alert event data. Priority fields are shown first; remaining non-blank string fields are append
config/plugin/pushUrentAlertByLark.go:53
↓ 1 callers
Function
buildClickHouseTLSConfig
buildClickHouseTLSConfig creates a *tls.Config from ClickHouseTLSConfig
src/common/clickhouse.go:52
↓ 1 callers
Method
buildEffectiveSystemPrompt
buildEffectiveSystemPrompt appends memory_notes to the system prompt so auto-generated memory can influence subsequent agent decisions.
src/agent/agent_loop.go:455
↓ 1 callers
Method
buildInsertURL
buildInsertURL constructs the ClickHouse HTTP insert URL for the given host
src/common/clickhouse.go:152
↓ 1 callers
Function
buildIrisAlertContext
(data map[string]interface{})
config/plugin/pushAlertToIris.go:185
↓ 1 callers
Function
buildIrisAlertDescription
(data map[string]interface{})
config/plugin/pushAlertToIris.go:123
↓ 1 callers
Function
buildIrisAlertPayload
(customerID int, classificationID int, data map[string]interface{})
config/plugin/pushAlertToIris.go:76
↓ 1 callers
Function
buildIrisAlertSource
(data map[string]interface{})
config/plugin/pushAlertToIris.go:163
↓ 1 callers
Function
buildIrisAssets
(data map[string]interface{})
config/plugin/pushAlertToIris.go:204
↓ 1 callers
Function
buildIrisEventTime
(data map[string]interface{})
config/plugin/pushAlertToIris.go:173
↓ 1 callers
Function
buildIrisIOCs
(data map[string]interface{})
config/plugin/pushAlertToIris.go:229
↓ 1 callers
Function
buildIrisTags
(data map[string]interface{})
config/plugin/pushAlertToIris.go:260
↓ 1 callers
Function
buildPNSDirect
buildPNSDirect builds ProjectNodeSequence for flow nodes
src/api/testing.go:2185
↓ 1 callers
Function
buildParametersSchema
(params []plugin.PluginParameter)
src/agent/agent_tools.go:69
↓ 1 callers
Function
buildPluginTestArgs
(data map[string]interface{})
src/api/testing.go:51
↓ 1 callers
Function
buildPluginUsageIndex
(includeUsage bool)
src/api/component_usage_indexes.go:49
↓ 1 callers
Method
buildRequest
buildRequest creates an HTTP request with authentication headers
src/common/clickhouse.go:166
↓ 1 callers
Function
buildSelectedMatchedEventIDs
(seq Sequence, matchedStages []int, stageBindings map[int][]string)
src/rules_engine/engine_core.go:1469
↓ 1 callers
Method
buildSequenceResult
buildSequenceResult builds the final enriched data when a sequence completes. The current event provides the base data, enriched with: - "#<event_id>"
src/rules_engine/engine_core.go:1891
↓ 1 callers
Function
buildStressRuleset
(t *testing.T, xmlContent string)
src/rules_engine/cep_stress_test.go:9
↓ 1 callers
Method
calculateCPUPercent
calculateCPUPercent calculates CPU usage percentage for the current process using real CPU time
src/common/system_monitor.go:150
↓ 1 callers
Function
calculateFreshnessScore
(timestamp time.Time)
src/api/sample_data_intelligent.go:579
↓ 1 callers
Function
calculateProjectRelevance
(proj *project.Project, rulePurpose string)
src/api/sample_data_intelligent.go:282
↓ 1 callers
Function
calculateVolumeScore
(sampleCount int)
src/api/sample_data_intelligent.go:595
↓ 1 callers
Function
callLLM
callLLM performs a single chat completion using apiKey and baseURL from common.Config
src/local_plugin/llm_call/llm_call.go:48
↓ 1 callers
Method
checkAbsenceFromStage
checkAbsenceFromStage recursively checks if the sequence can complete considering that the time window has expired (absence stages auto-satisfy). Uses
src/rules_engine/cep_condition.go:715
↓ 1 callers
Method
checkCompleteFromStage
checkCompleteFromStage recursively checks completion starting from stageIdx with the constraint that all matches must have timestamp > prevTimestamp.
src/rules_engine/cep_condition.go:635
↓ 1 callers
Method
checkVersionSync
checkVersionSync checks if follower needs version sync
src/cluster/heartbeat_simple.go:318
↓ 1 callers
Method
cleanup
cleanup removes data older than 1 hour
src/common/system_monitor.go:358
↓ 1 callers
Method
cleanup
cleanup removes data older than 5 minutes (nodes that haven't reported recently)
src/common/system_monitor.go:602
↓ 1 callers
Method
cleanupExpiredData
cleanupExpiredData removes expired data
src/common/redis_sample_manager.go:299
↓ 1 callers
Method
cleanupInputChannel
()
src/project/project.go:2296
↓ 1 callers
Method
cleanupLoop
cleanupLoop periodically removes old data (older than 1 hour)
src/common/system_monitor.go:341
↓ 1 callers
Method
cleanupLoop
cleanupLoop periodically removes old data (older than 5 minutes)
src/common/system_monitor.go:585
↓ 1 callers
Method
cleanupLoop
()
src/rules_engine/cep_value_store.go:266
↓ 1 callers
Function
cleanupObsoleteChanges
()
src/api/pending_changes_sync.go:216
↓ 1 callers
Method
cleanupOfflineNodes
cleanupOfflineNodes removes offline nodes
src/cluster/heartbeat_simple.go:347
↓ 1 callers
Method
cleanupRulesetChannel
()
src/project/project.go:2310
↓ 1 callers
Function
clearProjectAutoStopInFlight
(projectID string)
src/project/project.go:436
↓ 1 callers
Function
clearProjectTestOutputChannels
(tempProject *project.Project)
src/api/testing.go:860
↓ 1 callers
Function
cloneAgentConfig
(cfg *AgentConfig)
src/agent/agent.go:160
↓ 1 callers
Function
cloneMessagesForTrace
(msgs []Message)
src/agent/agent_loop.go:51
↓ 1 callers
Method
collectAgentInboundEdges
(targetPNS map[string]struct{})
src/project/project.go:1527
↓ 1 callers
Method
collectAgentPNSByID
(agentID string)
src/project/project.go:1514
↓ 1 callers
Function
collectEventIDs
collectEventIDs extracts all literal event IDs from an AST subtree.
src/rules_engine/cep_condition.go:409
↓ 1 callers
Function
collectEventIDsRecursive
(ast ExprAST, ids *[]string)
src/rules_engine/cep_condition.go:415
↓ 1 callers
Function
collectFieldStats
(data map[string]interface{}, prefix string, fieldStats map[string]map[interface{}]int, fieldTypes map[string
src/api/sample_data_intelligent.go:606
↓ 1 callers
Function
collectHitFields
collectHitFields walks through all operators in a rule and collects field names that are relevant to the rule's matching logic (check, threshold, iter
src/rules_engine/engine_core.go:2534
↓ 1 callers
Method
collectInboundEdges
(targetPNS map[string]struct{})
src/project/project.go:1465
↓ 1 callers
Method
collectLoop
collectLoop periodically collects system metrics
src/common/system_monitor.go:85
↓ 1 callers
Function
collectProjectTestOutputs
(tempProject *project.Project, outputChannels map[string]chan map[string]interface{}, outputResults map[string
src/api/testing.go:923
↓ 1 callers
Function
collectProjectsReferencingAgent
(agentID string)
src/project/project_struct.go:738
↓ 1 callers
Method
collectRulesetPNSByID
(rulesetID string)
src/project/project.go:1452
↓ 1 callers
Function
collectRulesetPluginUsage
(r *rules_engine.Ruleset, knownPlugins map[string]struct{})
src/api/component_usage_indexes.go:66
↓ 1 callers
Function
connectCheck
(c echo.Context)
src/api/testing.go:1354
↓ 1 callers
Function
connectCheckWithConfig
connectCheckWithConfig performs connectivity check using custom configuration
src/api/testing.go:1792
↓ 1 callers
Function
contains
(slice []string, item string)
src/api/sample_data_intelligent.go:324
↓ 1 callers
Function
containsSequenceOp
containsSequenceOp checks if an AST subtree contains the -> operator. Used to reject expressions like !(a -> b) where -> appears inside a stage.
src/rules_engine/cep_condition.go:394
↓ 1 callers
Function
convertPluginArgument
convertPluginArgument preserves all types for plugin consumption This allows plugins to work with original data types instead of strings
src/rules_engine/engine_utils.go:126
↓ 1 callers
Function
copyDocsToPublic
()
web/vite.config.js:10
↓ 1 callers
Method
create_producer
Create Kafka producer with optimized settings for high throughput
docs/kafka_producer_perf_test.py:68
↓ 1 callers
Method
deleteRedisState
(key string)
src/rules_engine/cep_state.go:603
↓ 1 callers
Method
deleteSnapshotDirect
deleteSnapshotDirect deletes a snapshot and its expiry index entry. The expiresAtNs is parsed from the ref itself instead of performing an extra db.Ge
src/rules_engine/cep_value_store.go:324
↓ 1 callers
Function
detectARMv8Crypto
()
src/rules_engine/simd_arm64.go:20
↓ 1 callers
Function
detectAVX2
CPU capability detection using Go's cpu package
src/rules_engine/simd_amd64.go:11
↓ 1 callers
Method
detectCycle
detectCycle detects if there are cycles in the data flow using DFS
src/project/project.go:857
↓ 1 callers
Function
detectNEON
ARM64-specific SIMD capabilities detection
src/rules_engine/simd_arm64.go:13
↓ 1 callers
Function
detectSSE42
()
src/rules_engine/simd_amd64.go:15
↓ 1 callers
Function
detectSSSE3
()
src/rules_engine/simd_amd64.go:19
↓ 1 callers
Method
disconnectAgentInboundEdges
(edges []agentInboundEdge)
src/project/project.go:1546
↓ 1 callers
Method
disconnectRulesetInboundEdges
(edges []rulesetInboundEdge)
src/project/project.go:1484
↓ 1 callers
Method
downstreamSnapshot
()
src/input/input.go:586
↓ 1 callers
Method
downstreamSnapshot
()
src/agent/agent.go:235
↓ 1 callers
Method
drainRemainingMessages
drainRemainingMessages processes any remaining messages in the message channel
src/common/kafka.go:219
↓ 1 callers
Method
drainRemainingMessages
drainRemainingMessages processes any remaining messages in the Kafka client
src/common/kafka.go:491
← previous
next →
701–800 of 2,165, ranked by callers