MCPcopy Index your code

hub / github.com/ai-that-works/ai-that-works / functions

Functions2,155 in github.com/ai-that-works/ai-that-works

↓ 514 callersMethodget
(id: string)
2025-06-03-humans-as-tools-async/src/state.ts:9
↓ 313 callersMethoderror
Log error message - for serious issues that affect functionality.
2025-09-23-evals-for-classification/src/shared/logger.py:43
↓ 168 callersFunctionlog
(msg: string)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/utils.ts:20
↓ 112 callersMethodinfo
Log info message - for successful operations and progress updates.
2025-09-23-evals-for-classification/src/shared/logger.py:35
↓ 106 callersMethodexists
* Check if an order exists * @param id - Order ID * @returns true if order exists, false otherwise
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:170
↓ 87 callersMethodsplit
Return [(segment_metadata, talk_text), ...] in order. Each talk's text runs from its start_anchor to the start of the next talk's anc
2026-04-11-unconf-sf/src/talk_segmenter/transcript_splitter.py:13
↓ 87 callersMethodwrite
Write one .txt per talk plus a segments.json index. Returns the list of .txt paths written.
2026-04-11-unconf-sf/src/talk_segmenter/segment_writer.py:21
↓ 86 callersFunctionopen
(ws)
2025-11-05-event-driven-agents/demo/src/server.ts:74
↓ 75 callersMethodupdate
(id: string, thread: Thread)
2025-06-03-humans-as-tools-async/src/state.ts:10
↓ 70 callersMethodcreate
(thread: Thread)
2025-06-03-humans-as-tools-async/src/state.ts:8
↓ 60 callersMethodset
(self, data: Dict)
2025-07-01-ai-content-pipeline-2/backend/main.py:97
↓ 57 callersFunctionfetch
(req, server)
2025-11-05-event-driven-agents/demo/src/server.ts:54
↓ 47 callersMethodwarning
Log warning message - for recoverable issues and fallbacks.
2025-09-23-evals-for-classification/src/shared/logger.py:39
↓ 42 callersFunctioncn
(...inputs: ClassValue[])
2025-07-01-ai-content-pipeline-2/frontend/src/lib/utils.ts:4
↓ 40 callersFunctioncn
(...inputs: ClassValue[])
2025-06-24-ai-content-pipeline/frontend/src/lib/utils.ts:4
↓ 36 callersMethodclose
()
2025-04-07-reasoning-models-vs-prompts/src/lib/neo4j.ts:27
↓ 34 callersMethodscreenshot
Take a screenshot for debugging.
2026-02-17-automating-aitw/src/riverside/riverside_agent.py:79
↓ 33 callersMethodread
* Read an order by ID * @param id - Order ID * @returns The order if found, undefined otherwise
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:63
↓ 32 callersMethodcount
* Get the total count of orders * @returns Total number of orders in the store
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:150
↓ 31 callersFunctioncn
(...inputs: ClassValue[])
2026-04-14-agentic-coding-for-frontend-apps/03-wired-vs-pure/src/lib/utils.ts:4
↓ 30 callersMethoddebug
Log debug message - for detailed troubleshooting (use sparingly).
2025-09-23-evals-for-classification/src/shared/logger.py:47
↓ 30 callersMethodload
* Load state from JSON file * If file doesn't exist or is invalid, starts with empty state * @returns Number of orders loaded
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:199
↓ 29 callersFunctionassert
(condition: boolean, message: string)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.test.ts:11
↓ 28 callersMethoddelete
* Delete an order by ID * @param id - Order ID * @returns true if deleted, false if not found
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:105
↓ 28 callersMethodlist
* List all orders with optional filtering * @param filter - Optional filter criteria * @returns Array of orders matching the filter
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:118
↓ 28 callersMethodparse
(self, json_schema: Dict[str, Any])
2025-05-27-mcp-with-10000-tools/parse_json_schema.py:88
↓ 26 callersFunctiongetSession
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/auth-server.ts:79
↓ 24 callersFunctioncn
(...inputs: ClassValue[])
2025-09-30-dyanmic-schemas/frontend/lib/utils.ts:4
↓ 24 callersMethodsuccess
Log success message - for completed operations.
2025-09-23-evals-for-classification/src/shared/logger.py:51
↓ 21 callersMethodemit
(self, event_type: str, message: str)
2025-08-19-interruptible-agents/runtime.py:39
↓ 21 callersFunctionwaitForCondition
( ref: SubscriptionRef.SubscriptionRef<T>, condition: (state: T) => boolean, timeoutMs: number = 1000 )
2025-11-05-event-driven-agents/demo/src/__tests__/test-helpers.ts:11
↓ 20 callersFunctioncreateActivityLog
( input: CreateActivityLogInput, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/activity-log-server.ts:39
↓ 19 callersMethodrun
(self)
2025-08-19-interruptible-agents/runtime.py:85
↓ 15 callersMethodget_video
Get video by ID
2025-07-01-ai-content-pipeline-2/backend/database.py:63
↓ 15 callersMethodget_video
Get video by ID
2025-06-24-ai-content-pipeline/backend/database.py:56
↓ 15 callersMethodrun
Complete workflow: login and schedule a session. Args: session: Session details to schedule. Returns:
2026-02-17-automating-aitw/src/riverside/riverside_agent.py:948
↓ 14 callersFunctionprintEvent
(msg: SDKMessage)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/utils.ts:29
↓ 14 callersFunctiontestLayer
(...services: Services)
2025-11-05-event-driven-agents/demo/src/__tests__/test-utils.ts:44
↓ 13 callersMethodupdate_video
Update video fields
2025-06-24-ai-content-pipeline/backend/database.py:81
↓ 12 callersMethodsave
* Save current state to JSON file * @returns true if saved successfully, false otherwise
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:178
↓ 12 callersMethodupdate_video
Update video fields
2025-07-01-ai-content-pipeline-2/backend/database.py:88
↓ 11 callersFunctioncn
(...inputs: ClassValue[])
2026-04-14-agentic-coding-for-frontend-apps/02-storybook-riptide/src/lib/utils.ts:4
↓ 11 callersFunctioncreateNotification
( data: CreateNotificationInput, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/notifications-server.ts:30
↓ 11 callersFunctionrequireAuth
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/todos.ts:75
↓ 11 callersMethodstart
(self, convo_id: str, query: str)
2025-08-19-interruptible-agents/runtime.py:197
↓ 10 callersFunctionagentLoop
(thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/11-humanlayer-approval/src/agent.ts:84
↓ 10 callersFunctiongetNotificationRecipients
( listId: string | null, excludeUserId: string, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/todos.ts:159
↓ 9 callersFunctiondisplay_text_with_llm_detection
Display text with optional LLM pattern highlighting and statistics
2025-07-29-eval-many-models-same-prompt/streamlit_app.py:136
↓ 9 callersFunctionhandleResponse
(response: Response)
2025-07-01-ai-content-pipeline-2/frontend/src/lib/apiClient.ts:19
↓ 9 callersMethodload_categories
Load categories from configured source. Returns: The categories.
2025-09-23-evals-for-classification/src/data/category_loader.py:19
↓ 9 callersFunctionrequireAuth
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/lists.ts:26
↓ 8 callersFunctionagentLoop
(thread: Thread)
2025-04-22-twelve-factor-agents/step-by-step/walkthrough/01-agent.ts:27
↓ 8 callersMethodembed_category
Embed a category with vector store. If the category is already in the vector store, return the cached embedding. If the category is n
2025-09-23-evals-for-classification/src/classification/embeddings.py:52
↓ 8 callersFunctiongenerateId
()
2025-11-05-event-driven-agents/demo/src/events.ts:68
↓ 8 callersMethodhas_category
Check if a category exists in the vector store. Args: category_path: The category path to check. Returns: Tr
2025-09-23-evals-for-classification/src/classification/vector_store.py:191
↓ 8 callersMethodnarrow
Use embedding first to get 10 candidates, then LLM to refine to 3. Args: text: The text to narrow categories based on.
2025-09-23-evals-for-classification/src/classification/narrowing.py:217
↓ 8 callersFunctionsubsection
(title: string)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/demo.ts:53
↓ 8 callersMethodurl
Returns the full YouTube URL for the video.
2026-02-17-automating-aitw/src/youtube/youtube_client.py:23
↓ 7 callersMethod_get_categories
Get categories. Returns: The categories.
2025-09-23-evals-for-classification/src/classification/pipeline.py:49
↓ 7 callersMethodcompute_similarity
Compute cosine similarity between embeddings. Args: embedding1: The first embedding. embedding2: The second embedding
2025-09-23-evals-for-classification/src/classification/embeddings.py:82
↓ 7 callersMethodembed_text
Embed a single text. Args: text: The text to embed. Returns: The embedding of the text.
2025-09-23-evals-for-classification/src/classification/embeddings.py:33
↓ 7 callersFunctionexecAsync
( cmd: string, opts?: Parameters<typeof exec>[1], )
2026-02-10-agentic-backpressure-deep-dive/03-child-process-exec.test.ts:26
↓ 7 callersFunctionformatDate
( dateString: string | undefined, options?: Intl.DateTimeFormatOptions, )
2025-07-01-ai-content-pipeline-2/frontend/src/lib/utils.ts:22
↓ 7 callersFunctionformatDate
(dateString: string | undefined, options?: Intl.DateTimeFormatOptions)
2025-06-24-ai-content-pipeline/frontend/src/lib/utils.ts:22
↓ 7 callersFunctiongetResend
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email-notifications.ts:8
↓ 7 callersFunctionhandleResponse
(response: Response)
2025-06-24-ai-content-pipeline/frontend/src/lib/apiClient.ts:15
↓ 7 callersFunctionregisterService
(metadata: ServiceMetadata)
2025-11-05-event-driven-agents/demo/src/visualizer/registry.ts:38
↓ 7 callersFunctionsendEvent
(event: string)
2025-04-07-reasoning-models-vs-prompts/src/actions/chat.ts:24
↓ 7 callersFunctionsuccess
(message: string)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/demo.ts:57
↓ 6 callersFunctionbatchUpdateTodos
( todoIds: string[], updates: UpdateTodoInput, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/todos.ts:654
↓ 6 callersFunctionbuildNotificationSectionHtml
( type: NotificationType, notifications: Notification[], )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email-digests.ts:103
↓ 6 callersFunctionbuildNotificationSectionText
( type: NotificationType, notifications: Notification[], )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email-digests.ts:188
↓ 6 callersMethodclear
* Clear all orders (useful for testing) * @returns Number of orders cleared
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/store/order-store.ts:158
↓ 6 callersFunctionconvertCaptures
(captures: Record<string, any>)
2025-09-30-dyanmic-schemas/frontend/components/markdown/shiki-grammars.ts:25
↓ 6 callersFunctioncreateInputQueue
()
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/utils.ts:83
↓ 6 callersFunctioncreateTestLayer
()
2025-11-05-event-driven-agents/demo/src/__tests__/command-flow.test.ts:14
↓ 6 callersFunctioncreate_metric_comparison_chart
Create a bar chart comparing a single metric across runs.
2025-12-02-multimodal-evals/src/streamlit_app.py:342
↓ 6 callersMethodfind_similar_categories
Find the most similar categories to a query embedding. Args: query_embedding: The embedding to search for similar categories.
2025-09-23-evals-for-classification/src/classification/vector_store.py:113
↓ 6 callersFunctiongetEnvVarWithDefault
(key: string, defaultValue: string)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/config.ts:26
↓ 6 callersMethodget_cached_embedding
Get cached embedding for a category if it exists. Args: category_path: The category path to look up. Returns:
2025-09-23-evals-for-classification/src/classification/vector_store.py:144
↓ 6 callersFunctionget_logger
Get a logger instance for a module. Args: name: Logger name, typically __name__ of the calling module level: Logging level (DEBUG
2025-09-23-evals-for-classification/src/shared/logger.py:96
↓ 6 callersMethodis_available
Check if the vector store is available.
2025-09-23-evals-for-classification/src/classification/vector_store.py:37
↓ 6 callersMethodselect_best_category
Select the single best category from candidates using LLM. Args: text: The text to classify. candidates: The candidat
2025-09-23-evals-for-classification/src/classification/selection.py:11
↓ 6 callersFunctiontruncate
(s: string, len = 120)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/utils.ts:21
↓ 6 callersMethodupdate_draft_field
Update a specific field in a draft (for parallel content generation)
2025-07-01-ai-content-pipeline-2/backend/database.py:242
↓ 6 callersMethodupdate_draft_field
Update a specific field in a draft (for parallel content generation)
2025-06-24-ai-content-pipeline/backend/database.py:218
↓ 5 callersMethod_print_section
(self, title: str)
2025-08-19-interruptible-agents/manager.py:66
↓ 5 callersFunctionaddMessage
(state: MessagesStateType, message: Message)
2025-11-05-event-driven-agents/demo/src/reducers/messages-reducer.ts:50
↓ 5 callersMethodadd_category
Add a new category to the vector store. Args: category: The category to add. embedding: The category's embedding.
2025-09-23-evals-for-classification/src/classification/vector_store.py:161
↓ 5 callersFunctionagentLoop
(thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/09-state-management/src/agent.ts:74
↓ 5 callersFunctionagentLoop
(thread: Thread)
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/09-state-management/src/agent.ts:74
↓ 5 callersMethodclassify
Full classification pipeline with detailed results. Args: text: The text to classify. max_candidates: The maximum num
2025-09-23-evals-for-classification/src/classification/pipeline.py:59
↓ 5 callersMethodclear
(self)
2025-07-01-ai-content-pipeline-2/backend/main.py:107
↓ 5 callersFunctioncreateFullTestLayer
(mockLLMConfig: { responses: string[]; chunkDelayMs?: number })
2025-11-05-event-driven-agents/demo/src/__tests__/interrupt-and-queue.test.ts:27
↓ 5 callersFunctiongetLists
(userId: string)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/lists-server.ts:58
↓ 5 callersFunctiongetUser
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/auth.ts:7
↓ 5 callersFunctionhandleClearSelection
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/components/todos/KanbanBoard.tsx:245
↓ 5 callersFunctionhandleClearSelection
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/components/todos/TodoList.tsx:207
↓ 5 callersMethodnarrow_categories
Narrow categories using the configured strategy. Args: text: The text for which to narrow the categories. categories:
2025-09-23-evals-for-classification/src/classification/narrowing.py:325
↓ 5 callersFunctiononeLine
(s: string)
2026-01-13-applying-12-factor-principles-to-coding-agent-sdks/src/utils.ts:23
next →1–100 of 2,155, ranked by callers