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
Method
PublishComponentAdd
PublishComponentAdd publishes component addition instruction
src/cluster/instruction_sync.go:546
Method
PublishComponentLocalPush
PublishComponentLocalPush publishes local push instruction
src/cluster/instruction_sync.go:559
Function
ReadContentFromPathOrRaw
ReadContentFromPathOrRaw reads content from file path or returns raw content This is a common utility function used by all component verification func
src/common/utils.go:347
Function
ReadLLMConfigFromRedis
ReadLLMConfigFromRedis reads LLM API key/base URL/model from Redis (called by followers). Overrides local config so cluster-wide LLM config is consist
src/api/token_sync.go:98
Function
ReadTokenFromRedis
ReadTokenFromRedis reads the token from Redis (called by follower on startup)
src/api/token_sync.go:53
Function
RecordChangePush
RecordChangePush records a change push operation
src/common/operations.go:242
Function
RecordClusterInstruction
RecordClusterInstruction records a cluster instruction operation to Redis
src/common/operations.go:61
Function
RecordComponentAdd
RecordComponentAdd records a component addition operation
src/common/operations.go:119
Function
RecordComponentDelete
RecordComponentDelete records a component deletion operation
src/common/operations.go:201
Function
RecordComponentUpdate
RecordComponentUpdate records a component update operation
src/common/operations.go:160
Function
RecordLocalPush
RecordLocalPush records a local push operation
src/common/operations.go:285
Function
RecordProjectOperation
RecordProjectOperation records a project operation to Redis only
src/common/operations.go:13
Function
RedisDel
(key string)
src/common/redis.go:332
Function
RedisEval
RedisEval executes a Lua script on Redis.
src/common/redis.go:348
Function
RedisIncrby
(key string, value int64)
src/common/redis.go:325
Function
RedisInit
(addr string, passwd string)
src/common/redis.go:228
Function
RedisPublish
RedisPublish publishes a message to a Redis channel
src/common/redis.go:372
Function
RedisPublishWithRetry
RedisPublishWithRetry publishes a message with exponential backoff retry
src/common/redis.go:503
Function
RedisSMembers
RedisSMembers returns all members of a set
src/common/redis.go:427
Function
RedisSRem
RedisSRem removes a member from a set
src/common/redis.go:422
Function
RedisSet
(key string, value interface{}, expiration int)
src/common/redis.go:311
Function
RedisSetNX
(key string, value interface{}, expiration int)
src/common/redis.go:318
Function
RedisZAdd
===================== Sorted Set Operations ===================== RedisZAdd adds a member to a sorted set
src/common/redis.go:434
Function
RedisZRemRangeByRank
RedisZRemRangeByRank removes members by rank from a sorted set
src/common/redis.go:444
Function
RegisterLLMCallIfConfigured
RegisterLLMCallIfConfigured registers the llmCall builtin plugin when config has llm_api_key set. Must be called after loadHubConfig (e.g. from main).
src/plugin/plugin.go:155
Function
RegisterLLMCallIfConfigured
RegisterLLMCallIfConfigured registers the llmCall plugin when config has llm_api_key set. Called from plugin package after loadHubConfig. Not register
src/local_plugin/local_plugin.go:109
Function
RegisterSkillResolver
RegisterSkillResolver sets the function used to look up skill components by ID.
src/agent/agent.go:23
Function
RequireLeader
RequireLeader returns an error if current node is not the leader
src/common/cluster_state.go:63
Method
Reset
Reset clears all samples for a sampler
src/common/redis_sample_manager.go:240
Method
ResetDownstream
()
src/agent/agent.go:281
Function
ResetManagedPluginsForResync
ResetManagedPluginsForResync drops only leader-managed runtime plugins while preserving built-in local plugins registered at process startup.
src/plugin/plugin.go:1138
Function
RestartProject
(c echo.Context)
src/api/project_control.go:151
Method
SIMDEnhancedExecuteCheckNode
SIMDEnhancedExecuteCheckNode optimizes the check node execution with SIMD
src/rules_engine/simd_integration.go:101
Function
SIMDOptimizedNCS_INCL
Integration points for the existing rule engine SIMDOptimizedNCS_INCL is a SIMD-optimized version of NCS_INCL
src/rules_engine/simd_optimizations.go:282
Function
START
(data string, ruleData string)
src/rules_engine/engine_utils.go:329
Function
SafeDeleteAgentComponent
SafeDeleteAgent safely deletes an agent with all necessary validations and locking
src/project/project_struct.go:841
Function
SafeDeleteInput
SafeDeleteInput safely deletes an input with all necessary validations and locking
src/project/project_struct.go:1398
Function
SafeDeleteOutput
SafeDeleteOutput safely deletes an output with all necessary validations and locking
src/project/project_struct.go:1462
Function
SafeDeletePlugin
SafeDeletePlugin safely deletes a plugin with all necessary validations and locking
src/plugin/plugin.go:1096
Function
SafeDeleteProject
SafeDeleteProject safely deletes a project with all necessary validations and locking
src/project/project_struct.go:1526
Function
SafeDeleteRuleset
===== Safe deletion functions with internal locking ===== SafeDeleteRuleset safely deletes a ruleset with all necessary validations and locking
src/project/project_struct.go:1333
Function
SafeDeleteRulesetDownstream
Helper function to safely access input downstream
src/project/project_struct.go:1234
Function
SafeDeleteSkillComponent
(id string)
src/project/project_struct.go:993
Function
ServerStart
(listener string)
src/api/server.go:12
Function
ServerStartFollower
ServerStartFollower starts the follower API server with read-only endpoints
src/api/follower_server.go:56
Function
SetAgent
(id string, a *agent.Agent)
src/project/project_struct.go:532
Function
SetAgentNew
(id string, content string)
src/project/project_struct.go:594
Function
SetInputNew
(id string, content string)
src/project/project_struct.go:1079
Method
SetMaxSamplesPerKey
SetMaxSamplesPerKey sets the maximum number of samples per key
src/common/redis_sample_manager.go:282
Function
SetNodeLeadership
SetNodeLeadership keeps the new and legacy leader state in sync.
src/common/cluster_state.go:36
Function
SetOutput
(id string, out *output.Output)
src/project/project_struct.go:418
Function
SetOutputNew
(id string, content string)
src/project/project_struct.go:1101
Function
SetPluginNew
Safe accessor functions for PluginsNew map
src/plugin/plugin.go:1156
Function
SetProjectCommandHandler
SetProjectCommandHandler sets the global project command handler
src/cluster/cluster.go:209
Function
SetProjectComponentChecker
SetProjectComponentChecker sets the global project component checker function
src/common/global.go:231
Function
SetProjectConfigStoreForTest
SetProjectConfigStoreForTest overrides project config persistence for tests that need project materialization without a real Redis backend.
src/project/project.go:32
Function
SetProjectErrorSetter
SetProjectErrorSetter sets the global project error setter function
src/common/global.go:238
Function
SetProjectNew
(id string, content string)
src/project/project_struct.go:1057
Function
SetProjectRealState
SetProjectRealState sets the actual runtime state for a project on a specific node Stores the real current status: running, stopped, error, starting,
src/common/redis.go:672
Function
SetProjectStateTimestamp
SetProjectStateTimestamp sets the timestamp for a project state change
src/common/redis.go:689
Function
SetProjectUserIntention
===================== Project State Management ===================== SetProjectUserIntention sets the user intention for a project (what user wants) T
src/common/redis.go:590
Function
SetRulesetNew
(id string, content string)
src/project/project_struct.go:1123
Function
SetSIMDConfig
SetSIMDConfig allows customization of SIMD optimization behavior
src/rules_engine/simd_integration.go:291
Function
SetSkill
(id string, s *skill.Skill)
src/project/project_struct.go:910
Function
SetSkillNew
(id string, content string)
src/project/project_struct.go:948
Function
SetStatsCollector
SetStatsCollector sets the callback function for collecting component statistics
src/common/daily_stats_manager.go:348
Method
SetTTL
SetTTL sets the TTL for sample data
src/common/redis_sample_manager.go:277
Method
SetWithTTL
SetWithTTL stores value with the given TTL, overwriting any existing entry.
src/rules_engine/engine_threshold_cache.go:109
Method
Start
Start begins the component monitoring process
src/common/component_monitor.go:30
Method
Start
Start starts the system monitor (already started in NewSystemMonitor)
src/common/system_monitor.go:70
Method
Start
Start initializes and starts the input component based on its type Returns an error if the component is already running or if initialization fails
src/input/input.go:354
Method
Start
Start starts the sync listener (follower only)
src/cluster/sync_listener.go:133
Method
Start
Start starts the heartbeat manager
src/cluster/heartbeat_simple.go:60
Method
Start
Start starts the cluster system
src/cluster/cluster.go:49
Method
StartComponentUpdate
StartComponentUpdate starts a new component update operation
src/common/operations.go:326
Method
StartForTesting
StartForTesting starts the output component in testing mode In testing mode, completely ignore output type and only send data to TestCollectionChan
src/output/output.go:620
Method
StartForTesting
StartForTesting starts the input component in testing mode This version initializes basic infrastructure but doesn't connect to external data sources
src/input/input.go:537
Function
StartProject
(c echo.Context)
src/api/project_control.go:42
Method
Stop
Stop gracefully stops the component monitor
src/common/component_monitor.go:59
Method
Stop
Stop stops the system monitor
src/common/system_monitor.go:75
Method
Stop
Stop stops the cluster system manager and cleanup goroutine
src/common/system_monitor.go:617
Method
Stop
()
src/common/daily_stats_manager.go:357
Method
Stop
Stop stops the sync listener
src/cluster/sync_listener.go:1015
Method
Stop
Stop stops the heartbeat manager
src/cluster/heartbeat_simple.go:399
Method
Stop
()
src/cluster/instruction_sync.go:899
Method
Stop
Stop stops the cluster system
src/cluster/cluster.go:73
Function
StopClusterSystemManager
StopClusterSystemManager stops the global cluster system manager
src/common/system_monitor.go:697
Function
StopDailyStatsManager
StopDailyStatsManager stops the global daily statistics manager
src/common/daily_stats_manager.go:371
Method
StopForTesting
StopForTesting stops the output quickly for testing purposes without waiting for channel drainage
src/output/output.go:977
Method
StopForTesting
StopForTesting stops the input component quickly for testing purposes
src/input/input.go:636
Method
StopForTesting
(timeout time.Duration)
src/rules_engine/engine_core.go:691
Function
StopProject
(c echo.Context)
src/api/project_control.go:97
Function
StoreProjectConfig
===================== Project Config Helpers ===================== StoreProjectConfig stores project configuration in Redis
src/common/redis.go:463
Method
StoreSampleAsync
StoreSampleAsync stores a sample asynchronously via batch processing
src/common/redis_sample_manager.go:428
Function
TestAccessLogger
TestAccessLogger writes a test message to verify access logger works
src/logger/logger.go:397
Function
TestAddHitRuleID_DifferentIDsConcatenate
(t *testing.T)
src/rules_engine/engine_boost_test.go:28
Function
TestAddHitRuleID_NewField
============================================================ addHitRuleID — direct tests for all three branches ======================================
src/rules_engine/engine_boost_test.go:11
Function
TestAddHitRuleID_SameIDNoDuplicate
(t *testing.T)
src/rules_engine/engine_boost_test.go:19
Function
TestAddTokenVal_MapsValues
(t *testing.T)
src/rules_engine/engine_coverage_test.go:139
Function
TestAgentActiveProcessTrackingAndCancel
(t *testing.T)
src/agent/agent_reconcile_test.go:33
← previous
next →
1,301–1,400 of 2,165, ranked by callers