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
↓ 15 callers
Method
delete
* Delete a working memory entry by id.
src/memory/working.ts:109
↓ 15 callers
Method
getChildren
()
src/types.ts:654
↓ 15 callers
Method
increment
(name: string, labels?: Record<string, string>)
src/__tests__/mocks.ts:261
↓ 15 callers
Function
insertChild
( db: BetterSqlite3.Database, opts: { id: string; name: string; address: string; status: s
src/__tests__/orchestration/health-monitor.test.ts:91
↓ 15 callers
Function
mockTransferTool
()
src/__tests__/financial.test.ts:80
↓ 15 callers
Method
prune
(olderThan: string)
src/memory/event-stream.ts:166
↓ 15 callers
Function
queueCompletion
(params?: { content?: unknown; promptTokens?: number; completionTokens?: number; totalTokens?: number;
src/__tests__/inference/inference-client.test.ts:53
↓ 15 callers
Function
request
( method: string, path: string, body?: unknown, requestOptions?: { idempotencyKey?: string; re
src/conway/client.ts:44
↓ 15 callers
Method
triageUpdate
(update: AgentStatusUpdate)
src/memory/agent-context-aggregator.ts:148
↓ 15 callers
Method
writeOutput
(agentRole: string, filename: string, content: string)
src/orchestration/workspace.ts:20
↓ 14 callers
Function
createMockTool
(overrides: Partial<AutomatonTool> = {})
src/__tests__/policy-engine.test.ts:109
↓ 14 callers
Function
makeMockTool
(name: string)
src/__tests__/path-protection.test.ts:20
↓ 14 callers
Function
makeOrchestrator
( db: BetterSqlite3.Database, mocks: ReturnType<typeof makeMocks>, config: Record<string, unknown> = {},
src/__tests__/integration/plan-execute-flow.test.ts:125
↓ 14 callers
Function
queueCompletion
Push a successful chat completion onto the mock queue.
src/__tests__/integration/inference-failover.test.ts:121
↓ 14 callers
Method
send
(to: string, content: string, replyTo?: string)
src/types.ts:163
↓ 14 callers
Method
setLowComputeMode
(enabled: boolean)
src/types.ts:704
↓ 14 callers
Function
setState
(db: BetterSqlite3.Database, state: Record<string, unknown>)
src/__tests__/integration/plan-execute-flow.test.ts:48
↓ 13 callers
Method
checkAll
()
src/orchestration/health-monitor.ts:85
↓ 13 callers
Function
createTestDb
()
src/__tests__/social.test.ts:14
↓ 13 callers
Function
isValidWalletAddress
(address: string)
src/replication/spawn.ts:38
↓ 13 callers
Function
setOrchestratorState
(db: BetterSqlite3.Database, state: Record<string, unknown>)
src/__tests__/orchestration/orchestrator.test.ts:95
↓ 13 callers
Function
toolCallResponse
( toolCalls: { name: string; arguments: Record<string, unknown> }[], text = "", )
src/__tests__/mocks.ts:79
↓ 12 callers
Function
addKnowledge
(params?: { category?: KnowledgeCategory; key?: string; content?: string; confidence?: number; acces
src/__tests__/memory/enhanced-retriever.test.ts:40
↓ 12 callers
Method
append
(event: Omit<StreamEvent, "id" | "createdAt">)
src/memory/event-stream.ts:60
↓ 12 callers
Function
askNumber
Prompt for a number. Enter = keep current.
src/setup/configure.ts:59
↓ 12 callers
Function
execResponse
(uid: string)
src/__tests__/loop.test.ts:589
↓ 12 callers
Method
getIdle
()
src/orchestration/types.ts:2
↓ 12 callers
Method
ingest
* Ingest a completed turn into the memory system. * Never throws -- all errors are caught and logged.
src/memory/ingestion.ts:108
↓ 12 callers
Function
insertChild
( db: BetterSqlite3.Database, id: string, name: string, address: string, status = "running", role
src/__tests__/orchestration/simple-tracker.test.ts:21
↓ 12 callers
Function
insertGoal
( db: BetterSqlite3.Database, overrides: { id?: string; title?: string; description?: string; status?: str
src/__tests__/integration/plan-execute-flow.test.ts:54
↓ 12 callers
Method
insertTurn
(turn: AgentTurn)
src/types.ts:615
↓ 12 callers
Function
makeEvent
(index: number, overrides?: Partial<StreamEvent>)
src/__tests__/memory/context-manager.test.ts:34
↓ 12 callers
Function
makeMessage
(overrides: Partial<AgentMessage> = {})
src/__tests__/orchestration/messaging.test.ts:96
↓ 12 callers
Function
requiredString
(value: unknown, path: string)
src/orchestration/planner.ts:620
↓ 12 callers
Function
safeJsonParse
(raw: string, fallback: T, context: string)
src/state/database.ts:1473
↓ 11 callers
Method
autoHeal
(report: HealthReport)
src/orchestration/health-monitor.ts:106
↓ 11 callers
Function
buildSystemPrompt
(params: { identity: AutomatonIdentity; config: AutomatonConfig; financial: FinancialState; state: Age
src/agent/system-prompt.ts:530
↓ 11 callers
Function
createInMemoryDb
()
src/__tests__/orchestration/test-db.ts:7
↓ 11 callers
Method
gauge
(name: string, value: number, labels?: Record<string, string>)
src/__tests__/mocks.ts:265
↓ 11 callers
Method
getCreditsBalance
()
src/types.ts:353
↓ 11 callers
Method
getTurnCount
()
src/types.ts:618
↓ 11 callers
Function
insertInbox
(raw: BetterSqlite3.Database, params: { id: string; from: string; to?: string; content: string; rece
src/__tests__/orchestration/messaging.test.ts:76
↓ 11 callers
Method
logActionEvent
(action: string, message: AgentMessage)
src/orchestration/messaging.ts:367
↓ 11 callers
Function
makeTurn
(overrides: Partial<AgentTurn> = {})
src/__tests__/memory.test.ts:63
↓ 11 callers
Function
makeValidSoul
(overrides: Partial<SoulModel> = {})
src/__tests__/soul.test.ts:81
↓ 11 callers
Method
recordCost
* Record a completed inference cost.
src/inference/budget.ts:69
↓ 11 callers
Method
save
* Save a procedure. Upserts on name. * Returns the ULID id.
src/memory/procedural.ts:23
↓ 11 callers
Method
setIdentity
(key: string, value: string)
src/types.ts:612
↓ 10 callers
Function
addKnowledge
( store: KnowledgeStore, category: "market" | "technical" | "social" | "financial" | "operational", key:
src/__tests__/integration/memory-retrieval.test.ts:15
↓ 10 callers
Method
compact
( olderThan: string, strategy: "reference" | "summarize", )
src/memory/event-stream.ts:97
↓ 10 callers
Function
createRateLimitRules
()
src/agent/policy-rules/rate-limits.ts:136
↓ 10 callers
Method
fromConfig
(configPath: string)
src/inference/provider-registry.ts:272
↓ 10 callers
Method
getAll
* Get all registered models.
src/inference/registry.ts:93
↓ 10 callers
Function
getAutomatonDir
()
src/identity/wallet.ts:21
↓ 10 callers
Method
getProviders
()
src/inference/provider-registry.ts:375
↓ 10 callers
Method
getRecent
(agentAddress: string, limit: number = 50)
src/memory/event-stream.ts:85
↓ 10 callers
Method
insertModification
(mod: ModificationEntry)
src/types.ts:639
↓ 10 callers
Function
makePlan
(overrides: Partial<PlannerOutput> = {})
src/__tests__/orchestration/plan-mode.test.ts:18
↓ 10 callers
Function
makeTmpDbPath
()
src/__tests__/data-layer.test.ts:34
↓ 10 callers
Function
makeUtilization
Build a ContextUtilization snapshot with a given utilizationPercent.
src/__tests__/integration/compression-cascade.test.ts:46
↓ 10 callers
Function
markInboxProcessed
(db: DatabaseType, ids: string[])
src/state/database.ts:1426
↓ 10 callers
Method
processInbox
()
src/orchestration/messaging.ts:163
↓ 10 callers
Function
sanitizeToolResult
( result: string, maxLength: number = DEFAULT_TOOL_RESULT_MAX_LENGTH, )
src/agent/injection-defense.ts:88
↓ 10 callers
Function
seedScheduleRow
( rawDb: DatabaseType, taskName: string, overrides: Partial<HeartbeatScheduleRow> = {}, )
src/__tests__/heartbeat-scheduler.test.ts:62
↓ 10 callers
Function
spawnChild
( conway: ConwayClient, identity: AutomatonIdentity, db: AutomatonDatabase, genesis: GenesisConfig,
src/replication/spawn.ts:47
↓ 10 callers
Method
update
* Update an existing working memory entry.
src/memory/working.ts:71
↓ 10 callers
Function
updateGoalStatus
(db: DatabaseType, id: string, status: GoalStatus)
src/state/database.ts:888
↓ 10 callers
Function
validateSoul
(soul: SoulModel)
src/soul/validator.ts:77
↓ 9 callers
Function
baseState
(overrides: Partial<ExecutionState> = {})
src/__tests__/orchestration/plan-mode.test.ts:41
↓ 9 callers
Method
checkLimit
(amount: number, category: SpendCategory, limits: TreasuryPolicy)
src/types.ts:534
↓ 9 callers
Function
createFinancialRules
( treasuryPolicy: TreasuryPolicy, )
src/agent/policy-rules/financial.ts:300
↓ 9 callers
Function
createTestDb
()
src/__tests__/memory.test.ts:39
↓ 9 callers
Method
debug
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:287
↓ 9 callers
Function
dedupeStrings
(values: string[])
src/memory/enhanced-retriever.ts:670
↓ 9 callers
Method
getByCategory
* Get all semantic memory entries in a category.
src/memory/semantic.ts:111
↓ 9 callers
Method
getIdentity
(key: string)
src/types.ts:611
↓ 9 callers
Method
getUnprocessedInboxMessages
(limit: number)
src/types.ts:669
↓ 9 callers
Method
histogram
(name: string, value: number, labels?: Record<string, string>)
src/__tests__/mocks.ts:269
↓ 9 callers
Function
insertSoulHistory
(db: DatabaseType, row: SoulHistoryRow)
src/state/database.ts:1683
↓ 9 callers
Method
isCircuitOpen
()
src/conway/http-client.ts:109
↓ 9 callers
Function
pad
(s: string, len: number)
src/setup/wizard.ts:201
↓ 9 callers
Function
resetInboxToReceived
(db: DatabaseType, ids: string[])
src/state/database.ts:1442
↓ 9 callers
Function
saveConfig
* Save API key and wallet address to ~/.automaton/config.json
src/identity/provision.ts:37
↓ 9 callers
Function
validateGenesisParams
(params: { name: string; specialization?: string; task?: string; message?: string; })
src/replication/genesis.ts:31
↓ 9 callers
Function
validateMessage
(message: { from: string; to: string; content: string; signed_at?: string; timestamp?: string; })
src/social/validation.ts:16
↓ 8 callers
Method
aggregateChildUpdates
( updates: AgentStatusUpdate[], budgetTokens: number, )
src/memory/agent-context-aggregator.ts:61
↓ 8 callers
Function
buildContextMessages
( systemPrompt: string, recentTurns: AgentTurn[], pendingInput?: { content: string; source: string },
src/agent/context.ts:87
↓ 8 callers
Function
classifyTurn
( toolCalls: ToolCallResult[], thinking: string, )
src/memory/types.ts:111
↓ 8 callers
Method
cleanup
* Clean up a single child's sandbox. * Only works for children in stopped or failed state.
src/replication/cleanup.ts:25
↓ 8 callers
Function
consumeNextWakeEvent
(db: DatabaseType)
src/state/database.ts:1325
↓ 8 callers
Method
countTokens
(text: string, model?: string)
src/memory/context-manager.ts:28
↓ 8 callers
Method
deleteKV
(key: string)
src/types.ts:645
↓ 8 callers
Function
deny
( rule: string, reasonCode: string, humanMessage: string, )
src/agent/policy-rules/financial.ts:15
↓ 8 callers
Function
detectCycles
(tasks: CycleTask[])
src/orchestration/task-graph.ts:381
↓ 8 callers
Function
getActiveGoals
(db: DatabaseType)
src/state/database.ts:895
↓ 8 callers
Method
getConsecutiveFailures
()
src/conway/http-client.ts:118
↓ 8 callers
Method
getCounter
(name: string, labels?: Record<string, string>)
src/observability/metrics.ts:60
↓ 8 callers
Function
getField
(key: string)
src/soul/model.ts:95
↓ 8 callers
Function
git
* Run a git command using execFileSync with argument array (no shell interpolation).
src/self-mod/upstream.ts:16
↓ 8 callers
Function
includesAny
(text: string, candidates: string[])
src/memory/enhanced-retriever.ts:714
← previous
next →
101–200 of 1,371, ranked by callers