Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ai-that-works/ai-that-works
/ functions
Functions
2,155 in github.com/ai-that-works/ai-that-works
⨍
Functions
2,155
◇
Types & classes
564
↳
Endpoints
48
↓ 2 callers
Function
_zoom_to
Ctrl+scroll until zoom reaches target_pct (within tolerance). Returns final zoom. Mouse must already be positioned over the canvas before cal
2026-02-17-automating-aitw/src/excalidraw/browser_agent.py:115
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/06-customize-prompt/src/agent.ts:62
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/05-human-tools/walkthrough/05-agent.ts:62
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/07-context-window/src/agent.ts:62
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/10-human-approval/walkthrough/10-agent.ts:84
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/06-customize-prompt/src/agent.ts:62
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/05-human-tools/walkthrough/05-agent.ts:62
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/07-context-window/src/agent.ts:62
↓ 2 callers
Function
agentLoop
(thread: Thread)
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/10-human-approval/walkthrough/10-agent.ts:84
↓ 2 callers
Function
agent_loop
Main agent loop that calls the BAML agent and executes tools
2025-10-21-agentic-rag-context-engineering/main.py:535
↓ 2 callers
Function
ansi256ToHex
(n: number | string)
2025-09-30-dyanmic-schemas/frontend/components/ansii-string.tsx:74
↓ 2 callers
Function
askManager
(lastEvent: Event)
2025-06-03-humans-as-tools-async/src/cli.ts:51
↓ 2 callers
Method
awaitingHumanResponse
()
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/11-humanlayer-approval/src/agent.ts:33
↓ 2 callers
Method
awaitingHumanResponse
()
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/10-human-approval/walkthrough/10-agent.ts:33
↓ 2 callers
Method
awaitingHumanResponse
()
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/10-human-approval/walkthrough/10-agent.ts:33
↓ 2 callers
Function
batchDeleteTodos
( todoIds: string[], )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/todos.ts:798
↓ 2 callers
Function
check_gift_email
(email: str)
2025-05-20-policies-to-prompts/pipeline.py:23
↓ 2 callers
Method
chunk
Return a list of audio file paths ready for transcription. If *audio_path* is within the size limit it is returned as-is (no copy). O
2026-04-11-unconf-sf/src/transcriber/audio_chunker.py:21
↓ 2 callers
Function
cli
()
2025-06-03-humans-as-tools-async/src/cli.ts:42
↓ 2 callers
Function
convertTextmateToShiki
( textmateGrammar: Record<string, any>, embeddedLangs: string[] = [], )
2025-09-30-dyanmic-schemas/frontend/components/markdown/shiki-grammars.ts:14
↓ 2 callers
Function
createAntmlParser
()
2025-11-05-event-driven-agents/demo/src/antml/AntmlParser.ts:302
↓ 2 callers
Function
createList
( userId: string, input: CreateListInput, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/lists-server.ts:12
↓ 2 callers
Function
createNextRecurringInstance
( completedTodo: Todo, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/todos.ts:83
↓ 2 callers
Function
create_waffle_chart
Create a true waffle chart where each square represents one item.
2025-09-23-evals-for-classification/ui/analysis.py:117
↓ 2 callers
Function
deleteDirRecursive
(dirPath: string)
2025-04-22-twelve-factor-agents/step-by-step/hack/restore-walkthrough.ts:45
↓ 2 callers
Function
deleteList
( listId: string, userId: string, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/lists-server.ts:109
↓ 2 callers
Function
embed
(text: str)
2025-03-31-large-scale-classification/hello.py:39
↓ 2 callers
Function
embed
(text: str)
2025-05-27-mcp-with-10000-tools/tools.py:24
↓ 2 callers
Function
ensure_dir
(path: str)
2025-07-22-multimodality/main.py:12
↓ 2 callers
Method
evaluate_all_receipts_async
Evaluate all receipts in the training_wheels dataset with async concurrency control. Args: max_concurrent: Maximum number
2025-12-02-multimodal-evals/src/receipt_evaluator.py:495
↓ 2 callers
Method
evaluate_data_completeness
Check for missing required fields.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:381
↓ 2 callers
Method
evaluate_grand_total_calculation
Verify subtotal + service_charge + tax + rounding - discount_on_total = grand_total.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:325
↓ 2 callers
Method
evaluate_positive_values
Ensure all monetary values (except rounding and discount) are positive.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:204
↓ 2 callers
Method
evaluate_receipt
Evaluate a single receipt with retry logic for failed evaluations.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:419
↓ 2 callers
Method
evaluate_subtotal_consistency
Verify sum of transactions equals subtotal when present.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:245
↓ 2 callers
Method
evaluate_sum_validation
Check if sum of transactions + service charge + tax + rounding - discount_on_total equals grand_total.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:150
↓ 2 callers
Method
evaluate_unit_price_accuracy
Check (unit_price - unit_discount) * quantity = total_price for each transaction.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:280
↓ 2 callers
Function
execute_baml
( stream: bool, file: UploadFile = File(None), content: str = Form(None), url: str = Form(None
2025-09-30-dyanmic-schemas/backend/server.py:86
↓ 2 callers
Method
execute_tool
Execute a tool, handling sub-agents specially
2025-10-21-agentic-rag-context-engineering/agent_runtime.py:47
↓ 2 callers
Method
extract
Extract audio from *video_path* into *output_dir*. Returns the path to the resulting MP3 file. Raises RuntimeError if ffmpeg fails.
2026-04-11-unconf-sf/src/transcriber/audio_extractor.py:10
↓ 2 callers
Method
extractImageFromDescription
(event: LumaEvent)
tools/luma.ts:46
↓ 2 callers
Method
extract_receipt_data
Extract receipt data using BAML with image preprocessing.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:125
↓ 2 callers
Method
fetchEvents
(period: 'past' | 'future' = 'past')
tools/luma.ts:99
↓ 2 callers
Function
fetchLists
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/components/lists/ListSelector.tsx:23
↓ 2 callers
Function
fetchTodos
(uid: string)
2026-04-14-agentic-coding-for-frontend-apps/03-wired-vs-pure/src/components/wired/TodoCardWired.tsx:17
↓ 2 callers
Function
fetch_page_text
Fetch a page and return a rough text extraction.
2026-04-07-sse-streaming/main.py:50
↓ 2 callers
Function
formatCustomRecurrence
(fields: RecurrenceFields)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/recurrence.ts:39
↓ 2 callers
Function
formatFileSize
(bytes: number | undefined)
2025-07-01-ai-content-pipeline-2/frontend/src/lib/utils.ts:40
↓ 2 callers
Function
formatFileSize
(bytes: number | undefined)
2025-06-24-ai-content-pipeline/frontend/src/lib/utils.ts:34
↓ 2 callers
Function
formatSingleEvent
(event: LumaEvent)
tools/luma.ts:215
↓ 2 callers
Function
format_conversation
Format conversation history for LLM input.
2025-09-02-voice-agent-supervisor-threading/voice_agent.py:58
↓ 2 callers
Method
from_api_response
Create a Guest from the API response entry. Args: entry: API response entry containing guest data Returns:
2026-02-17-automating-aitw/src/luma/luma_client.py:45
↓ 2 callers
Function
generate_baml
( stream: bool, file: UploadFile = File(None), content: str = Form(None), url: str = Form(None
2025-09-30-dyanmic-schemas/backend/server.py:71
↓ 2 callers
Method
generate_email_draft
Generate professional email draft from video summary Returns: EmailDraft with subject, body, and call-to-action
2025-06-24-ai-content-pipeline/backend/ai_generator.py:38
↓ 2 callers
Function
generate_icon_image
Generate a podcast thumbnail by sending the base image and prompt to Gemini. Args: title: The episode title subtitle: The ep
2026-02-17-automating-aitw/src/thumbnail_creation/create_thumbnail.py:24
↓ 2 callers
Method
generate_linkedin_post
Generate LinkedIn post from video summary Returns: LinkedInPost with content and hashtags
2025-06-24-ai-content-pipeline/backend/ai_generator.py:81
↓ 2 callers
Function
generate_site_map
Get the list of pages in the site.
2026-04-07-sse-streaming/main.py:42
↓ 2 callers
Function
generate_subtitle
Generate subtitle using BAML function.
2026-02-17-automating-aitw/src/thumbnail_creation/cli.py:29
↓ 2 callers
Method
generate_twitter_thread
Generate Twitter thread from video summary Returns: TwitterThread with tweets and hashtags
2025-06-24-ai-content-pipeline/backend/ai_generator.py:60
↓ 2 callers
Method
getAccessToken
()
tools/zoom.ts:66
↓ 2 callers
Function
getAttachment
(id: string)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/attachments-server.ts:100
↓ 2 callers
Function
getDigestEmailText
( frequency: "DAILY" | "WEEKLY", notifications: GroupedNotifications, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email-digests.ts:207
↓ 2 callers
Function
getEnvVar
(key: string)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/config.ts:18
↓ 2 callers
Function
getLayoutedElements
( nodes: Node<TodoNodeData>[], edges: Edge[], direction = "TB", )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/components/graph/GraphView.tsx:40
↓ 2 callers
Function
getNotificationTypeLabel
(type: NotificationType)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email-digests.ts:42
↓ 2 callers
Function
getRecordingTypeIcon
(type: string | undefined)
2025-07-01-ai-content-pipeline-2/frontend/src/components/shared/utils.tsx:23
↓ 2 callers
Function
getRecordingTypeIcon
(type: string | undefined)
2025-06-24-ai-content-pipeline/frontend/src/components/shared/utils.tsx:16
↓ 2 callers
Function
getResend
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email.ts:8
↓ 2 callers
Function
getSummaryStats
(grouped: GroupedNotifications)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/email-digests.ts:66
↓ 2 callers
Function
getTemplates
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/templates.ts:92
↓ 2 callers
Function
getTodoDependencies
(todoId: string)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/todos.ts:1224
↓ 2 callers
Function
getTodoNotificationRecipients
( todoId: string, excludeUserId: string, )
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/app/actions/comments.ts:34
↓ 2 callers
Function
getVideoStatusIcon
(status: string | undefined)
2025-07-01-ai-content-pipeline-2/frontend/src/components/shared/utils.tsx:10
↓ 2 callers
Function
getVideoStatusIcon
(status: string | undefined)
2025-06-24-ai-content-pipeline/frontend/src/components/shared/utils.tsx:3
↓ 2 callers
Function
get_authenticated_youtube_service
Get authenticated YouTube service using OAuth 2.0 Based on YouTube API documentation pattern
2025-07-01-ai-content-pipeline-2/backend/oauth_setup.py:47
↓ 2 callers
Function
get_authenticated_youtube_service
Get authenticated YouTube service using OAuth 2.0 Based on YouTube API documentation pattern
2025-06-24-ai-content-pipeline/backend/oauth_setup.py:53
↓ 2 callers
Method
get_receipt_files
Get all receipt image files and their corresponding metadata files.
2025-12-02-multimodal-evals/src/receipt_evaluator.py:78
↓ 2 callers
Function
handleNextStep
(nextStep: CalculatorTool, thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/11-humanlayer-approval/src/agent.ts:46
↓ 2 callers
Function
handleNextStep
(nextStep: CalculatorTool, thread: Thread)
2025-05-17-workshop-sf-twelve-factor-agents/agents-workshop/10-human-approval/walkthrough/10-agent.ts:46
↓ 2 callers
Function
handleNextStep
(nextStep: CalculatorTool, thread: Thread)
2025-05-10-workshop-nyc-twelve-factor-agents/workshop-agents/10-human-approval/walkthrough/10-agent.ts:46
↓ 2 callers
Function
handleToggleReaction
(emoji: string)
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/components/todos/ReactionBar.tsx:59
↓ 2 callers
Function
handle_stream
(stream: BamlStream[StreamTypeVar, FinalTypeVar], to_data: Callable[[StreamTypeVar | FinalTypeVar], Any])
2025-09-30-dyanmic-schemas/backend/server.py:119
↓ 2 callers
Function
isAuthenticated
()
2025-10-28-ralph-wiggum-coding-agent-power-tools/webapp/src/lib/auth.ts:23
↓ 2 callers
Method
is_child_of
Check if one category is a child of another. Args: potential_child: Path that might be child parent: Path that might
2025-09-23-evals-for-classification/src/shared/correctness.py:100
↓ 2 callers
Method
is_done
(self, convo_id: str)
2025-08-19-interruptible-agents/runtime.py:219
↓ 2 callers
Method
is_sibling_of
Check if two categories are siblings (same parent). Args: path1: First category path path2: Second category path
2025-09-23-evals-for-classification/src/shared/correctness.py:112
↓ 2 callers
Function
lesson_plan_test_harness
(test_idx: int, topic: str)
2025-05-13-designing-evals/hello.py:12
↓ 2 callers
Method
list_events
List calendar events after a specific date. Args: after: Start date for event search. If not provided, uses LOOKBACK_MON
2026-02-17-automating-aitw/src/luma/luma_client.py:169
↓ 2 callers
Function
load_companies
()
2025-06-17-entity-extraction/hello.py:6
↓ 2 callers
Method
load_dataset
Load the CORD-v2 dataset from Hugging Face. Args: force_reload: If True, forces re-download even if cached data
2025-12-02-multimodal-evals/load_cord_dataset.py:50
↓ 2 callers
Method
load_google_credentials
Load Google credentials from file
2025-07-01-ai-content-pipeline-2/backend/auth.py:81
↓ 2 callers
Method
load_google_credentials
Load Google credentials from file
2025-06-24-ai-content-pipeline/backend/auth.py:79
↓ 2 callers
Function
logRequestResponse
( method: string, url: string, headers: any, requestBody: any, responseStatus: number, responseHea
2025-09-16-coding-agent-tools-bash-vs-mcp/src/index.ts:28
↓ 2 callers
Method
log_error
(self, error: str)
2025-10-21-agentic-rag-context-engineering/tui.py:144
↓ 2 callers
Function
makeInterruptible
( operation: Effect.Effect<A, E, R>, eventBus: EventBus )
2025-11-05-event-driven-agents/demo/src/utils/interruptible.ts:89
↓ 2 callers
Function
notFound
(res: Response)
2025-06-03-humans-as-tools-async/src/server.ts:52
↓ 2 callers
Method
on_iteration
Callback when iteration starts
2025-10-21-agentic-rag-context-engineering/tui.py:337
↓ 2 callers
Method
on_status_update
Callback for status updates
2025-10-21-agentic-rag-context-engineering/tui.py:378
↓ 2 callers
Method
on_tool_result
Callback when tool execution completes
2025-10-21-agentic-rag-context-engineering/tui.py:355
↓ 2 callers
Method
on_tool_start
Callback when tool execution starts
2025-10-21-agentic-rag-context-engineering/tui.py:346
← previous
next →
201–300 of 2,155, ranked by callers