Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Conway-Research/automaton
/ functions
Functions
1,371 in github.com/Conway-Research/automaton
⨍
Functions
1,371
◇
Types & classes
301
↓ 232 callers
Method
get
* Get a single model by ID.
src/inference/registry.ts:85
↓ 157 callers
Method
evaluate
(request: PolicyRequest)
src/types.ts:495
↓ 136 callers
Method
error
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:299
↓ 127 callers
Method
transition
* Transition a child to a new state with validation. * Throws on invalid transitions.
src/replication/lifecycle.ts:51
↓ 108 callers
Method
exec
(command: string, timeout?: number)
src/types.ts:345
↓ 97 callers
Method
close
()
src/types.ts:682
↓ 68 callers
Method
setKV
(key: string, value: string)
src/types.ts:644
↓ 60 callers
Function
sanitizeInput
( raw: string, source: string, mode: SanitizationMode = "social_message", )
src/agent/injection-defense.ts:131
↓ 56 callers
Function
createGoal
( db: Database, title: string, description: string, strategy?: string, )
src/orchestration/task-graph.ts:86
↓ 53 callers
Method
info
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:291
↓ 52 callers
Method
execute
(plan: CompressionPlan)
src/memory/compression-engine.ts:194
↓ 52 callers
Method
getKV
(key: string)
src/types.ts:643
↓ 49 callers
Function
insertTask
(db: BetterSqlite3.Database, overrides: { id?: string; goalId: string; title?: string; description?: s
src/__tests__/orchestration/orchestrator.test.ts:120
↓ 48 callers
Function
createLogger
(module: string)
src/observability/logger.ts:115
↓ 47 callers
Function
createTestConfig
( overrides?: Partial<AutomatonConfig>, )
src/__tests__/mocks.ts:332
↓ 45 callers
Method
add
* Add a new working memory entry. Returns the ULID id.
src/memory/working.ts:23
↓ 45 callers
Function
createTestIdentity
()
src/__tests__/mocks.ts:320
↓ 44 callers
Function
makeTurn
(index: number)
src/__tests__/memory/context-manager.test.ts:27
↓ 42 callers
Method
request
( url: string, options?: RequestInit & { timeout?: number; idempotencyKey?: string;
src/conway/http-client.ts:31
↓ 41 callers
Method
chat
(params: { tier: string; messages: any[]; tools?: any[]; toolChoice?: string; maxTokens?:
src/orchestration/local-worker.ts:58
↓ 37 callers
Function
isProtectedFile
(filePath: string)
src/self-mod/code.ts:158
↓ 36 callers
Function
decomposeGoal
( db: Database, goalId: string, tasks: Omit<TaskNode, "id" | "metadata">[], )
src/orchestration/task-graph.ts:117
↓ 35 callers
Function
getTasksByGoal
(db: DatabaseType, goalId: string)
src/state/database.ts:1000
↓ 35 callers
Method
tick
* Called on interval -- guards against overlap.
src/heartbeat/scheduler.ts:84
↓ 34 callers
Function
appendAt
(params: { type?: EventType; agentAddress?: string; goalId?: string | null; taskId?: string | null;
src/__tests__/memory/event-stream.test.ts:22
↓ 34 callers
Function
makeTask
(goalId: string, title: string, overrides: Partial<DecomposeInput> = {})
src/__tests__/integration/multi-agent-coordination.test.ts:27
↓ 32 callers
Function
addKnowledge
(params?: { category?: KnowledgeCategory; key?: string; content?: string; source?: string; confidenc
src/__tests__/memory/knowledge-store.test.ts:21
↓ 32 callers
Method
warn
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:295
↓ 31 callers
Function
insertTestMessage
(db: AutomatonDatabase, id: string, from = "0xsender")
src/__tests__/inbox-processing.test.ts:29
↓ 31 callers
Function
makeTask
( goalId: string, title: string, overrides: Partial<DecomposeTaskInput> = {}, )
src/__tests__/orchestration/task-graph.test.ts:35
↓ 30 callers
Function
claimInboxMessages
(db: DatabaseType, limit: number)
src/state/database.ts:1383
↓ 30 callers
Function
makeRequest
( toolName: string, args: Record<string, unknown>, category = "vm", riskLevel: RiskLevel = "caution",
src/__tests__/command-injection.test.ts:40
↓ 29 callers
Method
initChild
* Initialize a child record and insert the first lifecycle event.
src/replication/lifecycle.ts:26
↓ 29 callers
Function
makeUpdate
(overrides: Partial<AgentStatusUpdate> = {})
src/__tests__/memory/agent-context-aggregator.test.ts:7
↓ 28 callers
Function
createMockTool
(overrides: Partial<AutomatonTool> = {})
src/__tests__/authority-rules.test.ts:99
↓ 28 callers
Function
createRequest
( tool: AutomatonTool, args: Record<string, unknown>, inputSource: InputSource | undefined, rawDb?: Da
src/__tests__/authority-rules.test.ts:121
↓ 28 callers
Function
insertGoal
(db: BetterSqlite3.Database, overrides: { id?: string; title?: string; description?: string; status?:
src/__tests__/orchestration/orchestrator.test.ts:101
↓ 27 callers
Function
getTaskById
(db: DatabaseType, id: string)
src/state/database.ts:956
↓ 27 callers
Method
record
* Record a new episodic memory entry. Returns the ULID id.
src/memory/episodic.ts:23
↓ 26 callers
Function
makeOrchestrator
( db: BetterSqlite3.Database, overrides: { agentTracker?: AgentTracker; funding?: FundingProtocol;
src/__tests__/orchestration/orchestrator.test.ts:73
↓ 26 callers
Function
makeProvider
Build a minimal enabled provider with models for all three tiers.
src/__tests__/integration/inference-failover.test.ts:52
↓ 26 callers
Method
recordSpend
(entry: SpendEntry)
src/types.ts:530
↓ 25 callers
Function
createDatabase
(dbPath: string)
src/state/database.ts:77
↓ 25 callers
Method
getCurrentState
* Get the current lifecycle state of a child.
src/replication/lifecycle.ts:78
↓ 25 callers
Method
search
* Search episodic memory by summary/detail content using LIKE-based matching.
src/memory/episodic.ts:75
↓ 25 callers
Method
store
* Store a semantic memory entry. Upserts on (category, key). * Returns the ULID id.
src/memory/semantic.ts:24
↓ 24 callers
Function
estimateTokens
(text: string)
src/memory/event-stream.ts:53
↓ 24 callers
Function
log
(_config: AutomatonConfig, message: string)
src/agent/loop.ts:1012
↓ 23 callers
Function
createRegistryFromDefaults
()
src/__tests__/inference/provider-registry.test.ts:45
↓ 23 callers
Method
warn
(message: string, context?: Record<string, unknown>)
src/observability/logger.ts:40
↓ 22 callers
Method
retrieveScored
(params: { sessionId: string; currentInput?: string; currentTaskId?: string; currentGoalId?: s
src/memory/enhanced-retriever.ts:223
↓ 22 callers
Function
runAgentLoop
( options: AgentLoopOptions, )
src/agent/loop.ts:94
↓ 22 callers
Method
setState
(state: Partial<ExecutionState>)
src/orchestration/plan-mode.ts:114
↓ 21 callers
Function
createClient
(registry = createDefaultRegistry())
src/__tests__/inference/inference-client.test.ts:49
↓ 21 callers
Function
createTestDb
()
src/__tests__/mocks.ts:314
↓ 21 callers
Function
getGoalById
(db: DatabaseType, id: string)
src/state/database.ts:881
↓ 21 callers
Function
queueError
(status: number, message = `HTTP ${status}`)
src/__tests__/inference/inference-client.test.ts:87
↓ 21 callers
Function
seedInferenceEvents
(count: number)
src/__tests__/memory/compression-engine.test.ts:55
↓ 20 callers
Function
createRequest
( tool: AutomatonTool, args: Record<string, unknown>, spendTracker: SpendTrackerInterface, turnToolCal
src/__tests__/financial.test.ts:113
↓ 20 callers
Function
fixedTokenCounter
(tokensPerMessage: number)
src/__tests__/memory/context-manager.test.ts:9
↓ 20 callers
Method
getAgentState
()
src/types.ts:676
↓ 20 callers
Function
isInternalNetwork
(hostname: string)
src/registry/discovery.ts:34
↓ 19 callers
Function
completeTask
(db: Database, taskId: string, result: TaskResult)
src/orchestration/task-graph.ts:260
↓ 19 callers
Function
createBuiltinTools
(sandboxId: string)
src/agent/tools.ts:85
↓ 19 callers
Function
createGoalWithTasks
(params: { title: string; createdAt?: string; status?: "active" | "completed" | "failed" | "paused
src/__tests__/orchestration/attention.test.ts:19
↓ 19 callers
Function
createMockTickContext
(db: AutomatonDatabase, overrides?: Partial<TickContext>)
src/__tests__/heartbeat.test.ts:19
↓ 19 callers
Function
createTestDb
(options?: { address?: string; recipients?: string[] })
src/__tests__/orchestration/messaging.test.ts:13
↓ 19 callers
Function
escapeShellArg
(arg: string)
src/git/tools.ts:219
↓ 19 callers
Method
getState
()
src/orchestration/plan-mode.ts:96
↓ 19 callers
Function
validatePlannerOutput
(output: unknown)
src/orchestration/planner.ts:389
↓ 18 callers
Method
assembleContext
(params: ContextAssemblyParams)
src/memory/context-manager.ts:192
↓ 18 callers
Function
generateTodoMd
(db: Database.Database)
src/orchestration/attention.ts:47
↓ 18 callers
Function
makeToolCallResult
(overrides: Partial<ToolCallResult> = {})
src/__tests__/memory.test.ts:52
↓ 18 callers
Function
queueError
Push an HTTP error response onto the mock queue.
src/__tests__/integration/inference-failover.test.ts:133
↓ 18 callers
Method
setAgentState
(state: AgentState)
src/types.ts:677
↓ 17 callers
Function
createHash
(content: string)
src/soul/model.ts:22
↓ 17 callers
Function
estimateTokens
(text: string)
src/agent/context.ts:36
↓ 17 callers
Method
get
* Get a specific semantic memory by category and key.
src/memory/semantic.ts:68
↓ 17 callers
Method
initialize
* Upsert the static model baseline into the registry on every startup. * New models are added, existing models get updated pricing/capabilities,
src/inference/registry.ts:41
↓ 17 callers
Function
makeClient
(registry: ProviderRegistry)
src/__tests__/integration/inference-failover.test.ts:116
↓ 17 callers
Function
makeMockRequest
( toolName: string, args: Record<string, unknown>, )
src/__tests__/path-protection.test.ts:31
↓ 17 callers
Function
matchesAny
(value: string | undefined, patterns: string[])
src/memory/agent-context-aggregator.ts:262
↓ 17 callers
Function
mockResponse
( status: number, body: unknown = {}, headers: Record<string, string> = {}, )
src/__tests__/http-client.test.ts:18
↓ 17 callers
Function
noToolResponse
(text = "")
src/__tests__/mocks.ts:69
↓ 17 callers
Method
resolveModel
(tier: ModelTier, survivalMode = false)
src/inference/provider-registry.ts:307
↓ 16 callers
Function
containsInjectionPatterns
(text: string)
src/soul/validator.ts:68
↓ 16 callers
Function
createMockSpendTracker
()
src/__tests__/policy-engine.test.ts:92
↓ 16 callers
Function
failTask
(db: Database, taskId: string, error: string, shouldRetry: boolean)
src/orchestration/task-graph.ts:281
↓ 16 callers
Function
getActiveSkillInstructions
(skills: Skill[])
src/skills/loader.ts:158
↓ 16 callers
Method
getBySession
* Get all working memory entries for a session, ordered by priority descending.
src/memory/working.ts:56
↓ 16 callers
Function
isAllowedUri
(uri: string)
src/registry/discovery.ts:53
↓ 16 callers
Function
makeRegistry
Build a registry with the given providers and explicit tier preference order.
src/__tests__/integration/inference-failover.test.ts:106
↓ 16 callers
Function
makeSkill
(overrides: Partial<Skill> = {})
src/__tests__/skills-hardening.test.ts:21
↓ 16 callers
Function
shouldReplan
(state: ExecutionState, trigger: ReplanTrigger)
src/orchestration/plan-mode.ts:275
↓ 16 callers
Function
validOutput
(overrides: Record<string, unknown> = {})
src/__tests__/orchestration/planner.test.ts:15
↓ 16 callers
Function
validateAgentCard
(data: unknown)
src/registry/discovery.ts:77
↓ 16 callers
Method
writeFile
(path: string, content: string)
src/types.ts:346
↓ 15 callers
Method
chatDirect
(params: UnifiedChatDirectParams)
src/inference/inference-client.ts:150
↓ 15 callers
Function
createAuthorityRules
()
src/agent/policy-rules/authority.ts:125
↓ 15 callers
Function
createMockSpendTracker
()
src/__tests__/financial.test.ts:131
next →
1–100 of 1,371, ranked by callers