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
↓ 2 callers
Method
compactPrefixByTurnIds
( turnIds: string[], strategy: "reference" | "summarize", )
src/memory/compression-engine.ts:306
↓ 2 callers
Method
countBatch
(texts: string[])
src/memory/context-manager.ts:30
↓ 2 callers
Function
createConwayClient
(options: ConwayClientOptions)
src/conway/client.ts:37
↓ 2 callers
Function
createDefaultRegistry
()
src/__tests__/inference/inference-client.test.ts:45
↓ 2 callers
Function
createDefaultSoul
( genesisPrompt: string, name: string = "", address: string = "", creator: string = "", )
src/soul/model.ts:285
↓ 2 callers
Function
createRawTestDb
()
src/__tests__/policy-engine.test.ts:50
↓ 2 callers
Function
createTestDb
()
src/__tests__/soul.test.ts:36
↓ 2 callers
Function
createValidationRules
()
src/agent/policy-rules/validation.ts:189
↓ 2 callers
Method
daysToRecencyScore
(ageDays: number)
src/memory/ingestion.ts:523
↓ 2 callers
Function
dedupeEvents
(events: StreamEvent[])
src/memory/compression-engine.ts:825
↓ 2 callers
Method
deleteKVReturning
(key: string)
src/types.ts:673
↓ 2 callers
Method
deliver
Deliver a message to the recipient.
src/orchestration/messaging.ts:86
↓ 2 callers
Function
deny
( rule: string, reasonCode: string, humanMessage: string, )
src/agent/policy-rules/authority.ts:30
↓ 2 callers
Function
deny
(rule: string, reasonCode: string, humanMessage: string)
src/agent/policy-rules/command-safety.ts:72
↓ 2 callers
Function
deserializeSoulHistoryRow
(row: any)
src/state/database.ts:1728
↓ 2 callers
Function
enrichAgentWithCard
* Enrich a discovered agent with its agent card data (name, description). * Tries cache first, then fetches from the agent's URI.
src/registry/discovery.ts:187
↓ 2 callers
Function
episodicSearch
(db: DatabaseType, query: string, limit: number = 10)
src/state/database.ts:1828
↓ 2 callers
Function
escapeShellArg
Escape a string for safe shell interpolation.
src/agent/tools.ts:3335
↓ 2 callers
Function
estimateTokens
(content: string)
src/orchestration/workspace.ts:177
↓ 2 callers
Method
estimateTokens
* Estimate token count for a text string.
src/memory/budget.ts:74
↓ 2 callers
Method
executeTask
* Execute a single task with timeout and lease.
src/heartbeat/scheduler.ts:173
↓ 2 callers
Method
executeWithRetries
( resolved: ResolvedModel, params: SharedChatParams, requestedTier: ModelTier, )
src/inference/inference-client.ts:179
↓ 2 callers
Function
exists
(id: number)
src/registry/erc8004.ts:491
↓ 2 callers
Method
exposePort
(port: number)
src/types.ts:348
↓ 2 callers
Function
extractNameFromPath
(filePath: string)
src/skills/format.ts:157
↓ 2 callers
Method
fatal
(message: string, error?: Error, context?: Record<string, unknown>)
src/observability/logger.ts:48
↓ 2 callers
Function
firstNumber
(...values: unknown[])
src/orchestration/orchestrator.ts:1191
↓ 2 callers
Function
formatDollars
(cents: number)
src/orchestration/attention.ts:17
↓ 2 callers
Function
formatJson
(value: unknown)
src/orchestration/planner.ts:598
↓ 2 callers
Function
generateBackupGenesis
( identity: AutomatonIdentity, config: AutomatonConfig, _db: AutomatonDatabase, )
src/replication/genesis.ts:129
↓ 2 callers
Function
generateId
()
src/heartbeat/scheduler.ts:39
↓ 2 callers
Method
getActiveAgentCount
()
src/orchestration/orchestrator.ts:990
↓ 2 callers
Method
getAvailable
* Get available (enabled) models, optionally filtering by tier minimum.
src/inference/registry.ts:100
↓ 2 callers
Method
getByGoal
(goalId: string)
src/memory/event-stream.ts:89
↓ 2 callers
Function
getConfigPath
()
src/config.ts:19
↓ 2 callers
Method
getCostPer1k
* Get cost per 1k tokens for a model.
src/inference/registry.ts:164
↓ 2 callers
Function
getCurrentDayWindow
* Get the current day window string in ISO format: '2026-02-19'
src/agent/spend-tracker.ts:35
↓ 2 callers
Function
getCurrentHourWindow
* Get the current hour window string in ISO format: '2026-02-19T14'
src/agent/spend-tracker.ts:27
↓ 2 callers
Function
getGlobalLogLevel
()
src/observability/logger.ts:19
↓ 2 callers
Function
getGoalStatus
(db: BetterSqlite3.Database, goalId: string)
src/__tests__/integration/plan-execute-flow.test.ts:71
↓ 2 callers
Method
getHourlyCost
* Get total cost for the current hour.
src/inference/budget.ts:76
↓ 2 callers
Method
getMaxReplans
()
src/orchestration/orchestrator.ts:998
↓ 2 callers
Function
getNumberField
(key: string, fallback: number)
src/soul/model.ts:100
↓ 2 callers
Function
getOrchestratorState
(db: BetterSqlite3.Database)
src/__tests__/orchestration/orchestrator.test.ts:151
↓ 2 callers
Method
getPreference
(tier: SurvivalTier, taskType: InferenceTaskType)
src/inference/router.ts:327
↓ 2 callers
Method
getProviderOrderForTier
(tier: ModelTier)
src/inference/provider-registry.ts:401
↓ 2 callers
Method
getRecentTurns
(limit: number)
packages/cli/src/runtime-shims.d.ts:53
↓ 2 callers
Method
getRecipients
List known recipient addresses (for broadcast).
src/orchestration/messaging.ts:88
↓ 2 callers
Method
getRunCount
(taskName: string)
src/heartbeat/scheduler.ts:323
↓ 2 callers
Method
getSessionCost
* Get total cost for a specific session.
src/inference/budget.ts:90
↓ 2 callers
Function
getSpendByWindow
( db: DatabaseType, category: string, windowType: "hour" | "day", window: string, )
src/state/database.ts:822
↓ 2 callers
Method
getStats
()
src/memory/knowledge-store.ts:203
↓ 2 callers
Function
getTasksForGoal
(db: BetterSqlite3.Database, goalId: string)
src/__tests__/integration/plan-execute-flow.test.ts:78
↓ 2 callers
Method
getTokenCount
(agentAddress: string, since?: string)
src/memory/event-stream.ts:148
↓ 2 callers
Method
getTotalSpend
(category: SpendCategory, since: Date)
src/types.ts:533
↓ 2 callers
Method
getTrusted
* Get all relationships with trust score at or above the minimum threshold.
src/memory/relationship.ts:107
↓ 2 callers
Method
getUtilization
()
src/memory/context-manager.ts:349
↓ 2 callers
Function
gitLog
( conway: ConwayClient, repoPath: string, limit: number = 10, )
src/git/tools.ts:102
↓ 2 callers
Function
gitStatus
( conway: ConwayClient, repoPath: string, )
src/git/tools.ts:13
↓ 2 callers
Function
goalRowToGoal
(goal: GoalRow)
src/orchestration/orchestrator.ts:1023
↓ 2 callers
Function
heuristicStepEstimate
(goal: GoalRow)
src/orchestration/orchestrator.ts:1134
↓ 2 callers
Function
heuristicStepOutline
(description: string, estimatedSteps: number)
src/orchestration/plan-mode.ts:394
↓ 2 callers
Function
inferenceGetHourlyCost
(db: DatabaseType)
src/state/database.ts:2107
↓ 2 callers
Method
insertChild
(child: ChildAutomaton)
src/types.ts:656
↓ 2 callers
Function
insertHeartbeatHistory
(db: DatabaseType, entry: HeartbeatHistoryRow)
src/state/database.ts:1262
↓ 2 callers
Function
isExternalSource
* Check if an input source represents external (non-agent) authority.
src/agent/policy-rules/authority.ts:41
↓ 2 callers
Function
isKnowledgeCategory
(value: string)
src/memory/knowledge-store.ts:54
↓ 2 callers
Method
isProviderCircuitOpen
(providerId: string)
src/inference/inference-client.ts:418
↓ 2 callers
Function
isRateLimited
* Check if the modification rate limit has been exceeded.
src/self-mod/code.ts:192
↓ 2 callers
Function
isTransferSuccessful
(status: string)
src/orchestration/simple-tracker.ts:159
↓ 2 callers
Function
lifecycleInsertEvent
(db: DatabaseType, row: ChildLifecycleEventRow)
src/state/database.ts:2310
↓ 2 callers
Method
listModels
()
src/types.ts:383
↓ 2 callers
Method
listSandboxes
()
src/types.ts:352
↓ 2 callers
Function
loadSkills
( skillsDir: string, db: AutomatonDatabase, )
src/skills/loader.ts:41
↓ 2 callers
Method
loadState
()
src/orchestration/orchestrator.ts:952
↓ 2 callers
Function
makeMissingPath
()
src/__tests__/inference/provider-registry.test.ts:40
↓ 2 callers
Function
makeTmpDbPath
()
src/__tests__/database-transactions.test.ts:17
↓ 2 callers
Method
markProviderFailure
(providerId: string)
src/inference/inference-client.ts:439
↓ 2 callers
Method
markProviderSuccess
(providerId: string)
src/inference/inference-client.ts:459
↓ 2 callers
Function
metricsPruneOld
(db: DatabaseType, olderThanDays: number = 7)
src/state/database.ts:2516
↓ 2 callers
Function
normalizeFilename
(filename: string)
src/orchestration/workspace.ts:181
↓ 2 callers
Function
normalizeMessage
(input: string | undefined, maxChars: number = 120)
src/memory/agent-context-aggregator.ts:268
↓ 2 callers
Function
normalizeTaskResult
(value: unknown)
src/orchestration/task-graph.ts:506
↓ 2 callers
Function
normalizeToolCalls
(toolCalls: unknown)
src/inference/inference-client.ts:517
↓ 2 callers
Function
noteAboutAgent
( db: Database, args: { entityAddress: string; entityName?: string; relationshipType: string; notes?: stri
src/memory/tools.ts:194
↓ 2 callers
Function
onchainTxGetAll
(db: DatabaseType, filter?: { status?: string })
src/state/database.ts:2453
↓ 2 callers
Function
onchainTxGetByHash
(db: DatabaseType, txHash: string)
src/state/database.ts:2446
↓ 2 callers
Function
parseMaxAmountRequired
(maxAmountRequired: string, x402Version: number)
src/conway/x402.ts:163
↓ 2 callers
Function
parsePaymentRequired
( resp: Response, )
src/conway/x402.ts:355
↓ 2 callers
Function
parsePlannerResponse
(content: string)
src/orchestration/planner.ts:480
↓ 2 callers
Function
parseSections
(body: string)
src/soul/model.ts:177
↓ 2 callers
Method
persistPlannerOutput
(goalId: string, output: PlannerOutput, mode: "plan" | "replan")
src/orchestration/orchestrator.ts:945
↓ 2 callers
Function
plannerOutputToTasks
(goalId: string, output: PlannerOutput)
src/orchestration/orchestrator.ts:1008
↓ 2 callers
Function
proceduralSearch
(db: DatabaseType, query: string)
src/state/database.ts:1956
↓ 2 callers
Function
provision
( apiUrl?: string, )
src/identity/provision.ts:62
↓ 2 callers
Function
pruneCompletedGoals
(db: Database, olderThan: string)
src/orchestration/task-graph.ts:359
↓ 2 callers
Function
pruneStaleKV
(db: DatabaseType, prefix: string, retentionDays: number)
src/state/database.ts:1344
↓ 2 callers
Function
readState
(db: BetterSqlite3.Database)
src/__tests__/integration/plan-execute-flow.test.ts:41
↓ 2 callers
Function
recordRetrievalFeedback
(feedback: RetrievalFeedback)
src/memory/enhanced-retriever.ts:178
↓ 2 callers
Function
reflectOnSoul
( db: BetterSqlite3.Database, soulPath?: string, )
src/soul/reflection.ts:28
← previous
next →
501–600 of 1,371, ranked by callers