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
↓ 8 callers
Method
info
(message: string, context?: Record<string, unknown>)
src/observability/logger.ts:36
↓ 8 callers
Function
insertWakeEvent
(db: DatabaseType, source: string, reason: string, payload?: object)
src/state/database.ts:1319
↓ 8 callers
Function
loadConfig
()
src/config.ts:27
↓ 8 callers
Function
makeMockDb
(raw: BetterSqlite3.Database)
src/__tests__/orchestration/simple-tracker.test.ts:212
↓ 8 callers
Function
makeTurn
(overrides?: Partial<AgentTurn>)
src/__tests__/context-hardening.test.ts:31
↓ 8 callers
Function
metricsInsertSnapshot
(db: DatabaseType, row: MetricSnapshotRow)
src/state/database.ts:2487
↓ 8 callers
Function
modelRegistryGet
(db: DatabaseType, modelId: string)
src/state/database.ts:2165
↓ 8 callers
Function
modelRegistryUpsert
(db: DatabaseType, entry: ModelRegistryRow)
src/state/database.ts:2141
↓ 8 callers
Function
normalizeErrorType
(error: string)
src/memory/ingestion.ts:49
↓ 8 callers
Function
updateSoul
( db: BetterSqlite3.Database, updates: Partial<SoulModel>, source: SoulHistoryRow["changeSource"], rea
src/soul/tools.ts:32
↓ 8 callers
Function
withTransaction
(db: DatabaseType, fn: () => T)
src/state/database.ts:635
↓ 7 callers
Function
assignTask
(db: Database, taskId: string, agentAddress: string)
src/orchestration/task-graph.ts:239
↓ 7 callers
Function
computeGenesisAlignment
( currentPurpose: string, genesisPrompt: string, )
src/soul/model.ts:32
↓ 7 callers
Function
createDefaultRules
( treasuryPolicy: TreasuryPolicy = DEFAULT_TREASURY_POLICY, )
src/agent/policy-rules/index.ts:21
↓ 7 callers
Method
deriveAuthorityLevel
* Derive authority level from input source.
src/agent/policy-engine.ts:123
↓ 7 callers
Method
disableProvider
(id: string, reason: string, durationMs: number)
src/inference/provider-registry.ts:385
↓ 7 callers
Method
getByType
(type: EventType, since?: string)
src/memory/event-stream.ts:93
↓ 7 callers
Method
getInstalledTools
()
src/types.ts:634
↓ 7 callers
Function
getModelForTier
( tier: SurvivalTier, defaultModel: string, )
src/survival/low-compute.ts:99
↓ 7 callers
Function
getUsdcBalance
( address: Address, network: string = "eip155:8453", )
src/conway/x402.ts:189
↓ 7 callers
Method
listOutputs
()
src/orchestration/workspace.ts:22
↓ 7 callers
Function
normalizeContent
(content: string, maxChars: number = 800)
src/memory/compression-engine.ts:811
↓ 7 callers
Function
normalizeError
(error: unknown)
src/orchestration/orchestrator.ts:1218
↓ 7 callers
Function
numberOr
(value: unknown, fallback: number)
src/inference/provider-registry.ts:636
↓ 7 callers
Function
parseSoulMd
(content: string)
src/soul/model.ts:68
↓ 7 callers
Function
promptWithDefault
(label: string, defaultValue: number)
src/setup/prompts.ts:80
↓ 7 callers
Function
providerIdsForTier
(registry: ProviderRegistry, tier: ModelTier, survivalMode = false)
src/__tests__/inference/provider-registry.test.ts:49
↓ 7 callers
Method
readFile
(path: string)
src/types.ts:347
↓ 7 callers
Function
resolvePath
(p: string)
src/config.ts:102
↓ 7 callers
Method
route
* Route an inference request: select model, check budget, * transform messages, call inference, record cost.
src/inference/router.ts:42
↓ 7 callers
Method
runTransaction
(fn: () => T)
src/types.ts:680
↓ 7 callers
Method
selectModel
* Select the best model for a given tier and task type. * * Priority: * 1. First routing-matrix candidate present in the registry * 2.
src/inference/router.ts:192
↓ 7 callers
Method
transformMessagesForProvider
* Transform messages for a specific provider. * Handles Anthropic's alternating-role requirement.
src/inference/router.ts:236
↓ 7 callers
Method
updateStatus
(address: string, status: string)
src/orchestration/types.ts:4
↓ 6 callers
Function
ask
(prompt: string)
src/setup/configure.ts:31
↓ 6 callers
Function
buildPlannerPrompt
(context: PlannerContext)
src/orchestration/planner.ts:108
↓ 6 callers
Method
checkHealth
* Check health of a single child. Never throws.
src/replication/health.ts:31
↓ 6 callers
Function
clamp01
(value: number)
src/memory/enhanced-retriever.ts:722
↓ 6 callers
Method
countMessagesTokens
(messages: ChatMessage[])
src/memory/context-manager.ts:530
↓ 6 callers
Function
createDenyRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:121
↓ 6 callers
Function
createSocialClient
( relayUrl: string, account: PrivateKeyAccount, db?: import("better-sqlite3").Database, )
src/social/client.ts:27
↓ 6 callers
Function
createTestRawDb
()
src/__tests__/lifecycle.test.ts:59
↓ 6 callers
Function
createTokenCounter
()
src/memory/context-manager.ts:131
↓ 6 callers
Function
deny
( rule: string, reasonCode: string, humanMessage: string, )
src/agent/policy-rules/rate-limits.ts:14
↓ 6 callers
Function
deny
(rule: string, reasonCode: string, humanMessage: string)
src/agent/policy-rules/validation.ts:16
↓ 6 callers
Function
dim
(v: string | number | boolean | undefined)
src/setup/configure.ts:159
↓ 6 callers
Function
enhanceQuery
(params: { currentInput: string; taskSpec?: string; agentRole?: string; recentGoals?: string[]; })
src/memory/enhanced-retriever.ts:143
↓ 6 callers
Function
executeFundingStrategies
( tier: SurvivalTier, identity: AutomatonIdentity, config: AutomatonConfig, db: AutomatonDatabase, c
src/survival/funding.ts:28
↓ 6 callers
Function
executeTool
( toolName: string, args: Record<string, unknown>, tools: AutomatonTool[], context: ToolContext, pol
src/agent/tools.ts:3214
↓ 6 callers
Method
fundChild
(childAddress: string, amountCents: number)
src/orchestration/types.ts:9
↓ 6 callers
Method
getChildrenInState
* Get all children in a given lifecycle state.
src/replication/lifecycle.ts:96
↓ 6 callers
Method
getDefaultModel
()
src/types.ts:705
↓ 6 callers
Method
getGauge
(name: string, labels?: Record<string, string>)
src/observability/metrics.ts:66
↓ 6 callers
Function
getGoalProgress
( db: Database, goalId: string, )
src/orchestration/task-graph.ts:325
↓ 6 callers
Method
getHistogram
(name: string, labels?: Record<string, string>)
src/observability/metrics.ts:72
↓ 6 callers
Method
getSkills
(enabledOnly?: boolean)
src/types.ts:648
↓ 6 callers
Method
handleFailure
(task: TaskNode, error: string)
src/orchestration/orchestrator.ts:281
↓ 6 callers
Function
idleToolResponse
(name: string, args: Record<string, unknown>, uid: string)
src/__tests__/loop.test.ts:447
↓ 6 callers
Function
insertGoal
(db: BetterSqlite3.Database, id: string)
src/__tests__/orchestration/health-monitor.test.ts:118
↓ 6 callers
Method
insertInboxMessage
(msg: InboxMessage)
src/types.ts:668
↓ 6 callers
Function
insertTask
( db: BetterSqlite3.Database, opts: { id: string; goalId: string; assignedTo: string; stat
src/__tests__/orchestration/health-monitor.test.ts:125
↓ 6 callers
Method
installTool
(tool: InstalledTool)
src/types.ts:635
↓ 6 callers
Function
isValidAddress
(address: string)
src/social/validation.ts:81
↓ 6 callers
Function
labelKey
(name: string, labels?: Record<string, string>)
src/observability/metrics.ts:11
↓ 6 callers
Function
logModification
( db: AutomatonDatabase, type: ModificationType, description: string, options?: { filePath?: strin
src/self-mod/audit-log.ts:18
↓ 6 callers
Function
makeAgentTracker
(overrides: Partial<AgentTracker> = {})
src/__tests__/orchestration/orchestrator.test.ts:23
↓ 6 callers
Function
makeEvent
(id: string, type = "inference")
src/__tests__/integration/compression-cascade.test.ts:31
↓ 6 callers
Function
markInboxFailed
(db: DatabaseType, ids: string[])
src/state/database.ts:1434
↓ 6 callers
Method
matchTaskToAgent
(task: TaskNode)
src/orchestration/orchestrator.ts:192
↓ 6 callers
Function
newTempDir
()
src/__tests__/orchestration/plan-mode.test.ts:71
↓ 6 callers
Function
normalizeForMatch
(text: string)
src/memory/enhanced-retriever.ts:718
↓ 6 callers
Method
normalizeKey
(key: string)
src/memory/ingestion.ts:532
↓ 6 callers
Function
normalizeTierDefault
(input: Partial<TierDefault> | undefined, fallback: TierDefault)
src/inference/provider-registry.ts:609
↓ 6 callers
Function
parseList
(text: string)
src/soul/model.ts:203
↓ 6 callers
Method
pickAgentAddress
(events: StreamEvent[])
src/memory/compression-engine.ts:789
↓ 6 callers
Function
queryAgent
( agentId: string, network: Network = "mainnet", )
src/registry/erc8004.ts:409
↓ 6 callers
Method
recordRetrievalFeedback
(feedback: RetrievalFeedback)
src/memory/enhanced-retriever.ts:291
↓ 6 callers
Function
reviewPlan
( plan: PlannerOutput, config: PlanApprovalConfig, )
src/orchestration/plan-mode.ts:241
↓ 6 callers
Function
semanticUpsert
(db: DatabaseType, entry: Omit<SemanticMemoryEntry, "id" | "createdAt" | "updatedAt">)
src/state/database.ts:1875
↓ 6 callers
Function
setGlobalLogLevel
(level: LogLevel)
src/observability/logger.ts:15
↓ 6 callers
Function
signSendPayload
( account: PrivateKeyAccount, to: string, content: string, replyTo?: string, )
src/social/signing.ts:29
↓ 5 callers
Function
acquireTaskLease
(db: DatabaseType, taskName: string, owner: string, ttlMs: number)
src/state/database.ts:1289
↓ 5 callers
Function
applyTierRestrictions
( tier: SurvivalTier, inference: InferenceClient, db: AutomatonDatabase, )
src/survival/low-compute.ts:25
↓ 5 callers
Function
ask
(question: string)
src/setup/prompts.ts:16
↓ 5 callers
Function
askString
Prompt for an optional string. Enter = keep current. "-" = clear.
src/setup/configure.ts:36
↓ 5 callers
Function
canRunInference
(tier: SurvivalTier)
src/survival/low-compute.ts:92
↓ 5 callers
Method
checkBudget
* Check whether a call with estimated cost is within budget. * Returns { allowed: true } or { allowed: false, reason: "..." }.
src/inference/budget.ts:34
↓ 5 callers
Function
createPathProtectionRules
()
src/agent/policy-rules/path-protection.ts:169
↓ 5 callers
Method
createScopedClient
Create a new client scoped to a specific sandbox ID.
src/types.ts:385
↓ 5 callers
Function
discoverAgents
( limit: number = 20, network: Network = "mainnet", config?: Partial<DiscoveryConfig>, db?: import("be
src/registry/discovery.ts:216
↓ 5 callers
Function
forget
( db: Database, args: { id: string; memoryType: string }, )
src/memory/tools.ts:257
↓ 5 callers
Function
generateGenesisConfig
( identity: AutomatonIdentity, config: AutomatonConfig, params: { name: string; specialization?:
src/replication/genesis.ts:86
↓ 5 callers
Method
getAllCompressionEvents
()
src/memory/compression-engine.ts:774
↓ 5 callers
Method
getBalance
(childAddress: string)
src/orchestration/types.ts:11
↓ 5 callers
Method
getChildById
(id: string)
src/types.ts:655
↓ 5 callers
Function
getHeartbeatSchedule
(db: DatabaseType)
src/state/database.ts:1186
↓ 5 callers
Method
getHourlySpend
(category: SpendCategory)
src/types.ts:531
↓ 5 callers
Method
getModel
(providerId: string, modelId: string)
src/inference/provider-registry.ts:357
↓ 5 callers
Function
getReadyTasks
(db: DatabaseType)
src/state/database.ts:984
↓ 5 callers
Method
getRecentTurns
(limit: number)
src/types.ts:616
← previous
next →
201–300 of 1,371, ranked by callers