Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coleam00/context-engineering-intro
/ functions
Functions
691 in github.com/coleam00/context-engineering-intro
⨍
Functions
691
◇
Types & classes
536
Method
__post_init__
Calculate token count if not provided.
use-cases/agent-factory-with-subagents/agents/rag_agent/ingestion/chunker.py:62
Function
_encodeState
* Encodes arbitrary data to a URL-safe base64 string. * @param data - The data to encode (will be stringified). * @returns A URL-safe base64 encoded
use-cases/mcp-server/src/auth/oauth-utils.ts:22
Method
abort
(reason?: string)
use-cases/mcp-server/worker-configuration.d.ts:452
Method
abort
()
use-cases/mcp-server/worker-configuration.d.ts:1566
Method
accept
()
use-cases/mcp-server/worker-configuration.d.ts:2339
Method
acceptWebSocket
(ws: WebSocket, tags?: string[])
use-cases/mcp-server/worker-configuration.d.ts:444
Method
ack
()
use-cases/mcp-server/worker-configuration.d.ts:1518
Method
ackAll
()
use-cases/mcp-server/worker-configuration.d.ts:1524
Method
ackAll
()
use-cases/mcp-server/worker-configuration.d.ts:1530
Method
after
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1185
Method
after
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1197
Method
after
(content: string, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1204
Method
after
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1213
Method
alarm
(alarmInfo?: AlarmInvocationInfo)
use-cases/mcp-server/worker-configuration.d.ts:409
Method
alarm
* Durable Objects alarm handler - used for cleanup
use-cases/mcp-server/src/index.ts:30
Method
alarm
* Durable Objects alarm handler - used for cleanup
use-cases/mcp-server/src/index_sentry.ts:42
Function
analyze_data_sync
Synchronous version of analyze_data. Args: data_input: Raw data or description to analyze dependencies: Optional analysi
use-cases/pydantic-ai/examples/structured_output_agent/agent.py:217
Function
analyze_data_sync
Synchronous version of analyze_data. Args: data_input: Raw data or description to analyze dependencies: Optional analysi
use-cases/agent-factory-with-subagents/examples/structured_output_agent/agent.py:217
Function
analyze_numerical_data
Analyze numerical data and provide statistical insights. Args: data_description: Description of what the numbers represent
use-cases/pydantic-ai/examples/structured_output_agent/agent.py:142
Function
analyze_numerical_data
Analyze numerical data and provide statistical insights. Args: data_description: Description of what the numbers represent
use-cases/agent-factory-with-subagents/examples/structured_output_agent/agent.py:142
Method
append
(content: string, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1218
Method
arrayBuffer
()
use-cases/mcp-server/worker-configuration.d.ts:1591
Function
ask_agent_sync
Synchronous version of ask_agent. Args: question: Question or request for the agent Returns: String response fr
use-cases/pydantic-ai/examples/tool_enabled_agent/agent.py:330
Function
ask_agent_sync
Synchronous version of ask_agent. Args: question: Question or request for the agent Returns: String response fr
use-cases/agent-factory-with-subagents/examples/tool_enabled_agent/agent.py:330
Function
assert_hybrid_result_valid
Assert that a hybrid search result dictionary is valid.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:239
Function
assert_search_result_valid
Assert that a SearchResult object is valid.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:227
Method
atob
(data: string)
use-cases/mcp-server/worker-configuration.d.ts:215
Method
before
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1184
Method
before
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1196
Method
before
(content: string, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1203
Method
before
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1212
Method
blob
()
use-cases/mcp-server/worker-configuration.d.ts:1595
Method
blockConcurrencyWhile
(callback: () => Promise<T>)
use-cases/mcp-server/worker-configuration.d.ts:443
Method
body
()
use-cases/mcp-server/worker-configuration.d.ts:1589
Method
bodyUsed
()
use-cases/mcp-server/worker-configuration.d.ts:1590
Method
btoa
(data: string)
use-cases/mcp-server/worker-configuration.d.ts:214
Method
bytes
()
use-cases/mcp-server/worker-configuration.d.ts:1592
Function
cached_generate
(text: str)
use-cases/agent-factory-with-subagents/examples/rag_pipeline/ingestion/embedder.py:360
Function
cached_generate
(text: str)
use-cases/agent-factory-with-subagents/agents/rag_agent/ingestion/embedder.py:360
Function
calculate
Perform mathematical calculations safely. Args: expression: Mathematical expression to evaluate description: Optional de
use-cases/pydantic-ai/examples/tool_enabled_agent/agent.py:187
Function
calculate
Perform mathematical calculations safely. Args: expression: Mathematical expression to evaluate description: Optional de
use-cases/agent-factory-with-subagents/examples/tool_enabled_agent/agent.py:187
Method
cancel
(reason?: any)
use-cases/mcp-server/worker-configuration.d.ts:1754
Function
chat_with_agent_sync
Synchronous version of chat_with_agent for simple use cases. Args: message: User's message to the agent context: Optiona
use-cases/pydantic-ai/examples/basic_chat_agent/agent.py:137
Function
chat_with_agent_sync
Synchronous version of chat_with_agent for simple use cases. Args: message: User's message to the agent context: Optiona
use-cases/agent-factory-with-subagents/examples/basic_chat_agent/agent.py:137
Method
chunk_document
Chunk a document into semantically coherent pieces. Args: content: Document content title: Document
use-cases/agent-factory-with-subagents/examples/rag_pipeline/ingestion/chunker.py:83
Method
chunk_document
Chunk a document into semantically coherent pieces. Args: content: Document content title: Document
use-cases/agent-factory-with-subagents/agents/rag_agent/ingestion/chunker.py:83
Method
clearInterval
(timeoutId: number | null)
use-cases/mcp-server/worker-configuration.d.ts:221
Method
clearTimeout
(timeoutId: number | null)
use-cases/mcp-server/worker-configuration.d.ts:218
Method
clone
()
use-cases/mcp-server/worker-configuration.d.ts:1306
Method
clone
()
use-cases/mcp-server/worker-configuration.d.ts:1349
Method
close
Close connection pool.
use-cases/agent-factory-with-subagents/examples/rag_pipeline/utils/db_utils.py:52
Method
close
Close connection pool.
use-cases/agent-factory-with-subagents/agents/rag_agent/utils/db_utils.py:52
Method
close
* Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close r
use-cases/mcp-server/worker-configuration.d.ts:2351
Method
closed
()
use-cases/mcp-server/worker-configuration.d.ts:2413
Method
comments
(comment: Comment)
use-cases/mcp-server/worker-configuration.d.ts:1161
Method
comments
(comment: Comment)
use-cases/mcp-server/worker-configuration.d.ts:1166
Method
complete
(uploadedParts: R2UploadedPart[])
use-cases/mcp-server/worker-configuration.d.ts:1567
Method
comprehensive_workflow
(messages, tools)
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/test_requirements.py:860
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an idential socket to if
use-cases/mcp-server/worker-configuration.d.ts:6370
Method
contentType
* The content type of the returned image
use-cases/mcp-server/worker-configuration.d.ts:6513
Method
count
(label?: string)
use-cases/mcp-server/worker-configuration.d.ts:100
Method
countReset
(label?: string)
use-cases/mcp-server/worker-configuration.d.ts:102
Function
create_email_draft
Create an email draft based on research context using the Email Agent. Args: recipient_email: Email address of the recipient
use-cases/pydantic-ai/examples/main_agent_reference/research_agent.py:94
Function
create_email_draft
Create an email draft based on research context using the Email Agent. Args: recipient_email: Email address of the recipient
use-cases/agent-factory-with-subagents/examples/main_agent_reference/research_agent.py:94
Function
create_mock_agent_response
Create a mock agent response for testing.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:256
Function
create_research_agent
Create a research agent with specified dependencies. Args: brave_api_key: Brave Search API key gmail_credentials_path: P
use-cases/pydantic-ai/examples/main_agent_reference/research_agent.py:245
Function
create_research_agent
Create a research agent with specified dependencies. Args: brave_api_key: Brave Search API key gmail_credentials_path: P
use-cases/agent-factory-with-subagents/examples/main_agent_reference/research_agent.py:245
Method
custom_response_func
Custom function to generate specific responses.
use-cases/pydantic-ai/examples/testing_examples/test_agent_patterns.py:215
Method
custom_response_func
Custom function to generate specific responses.
use-cases/agent-factory-with-subagents/examples/testing_examples/test_agent_patterns.py:215
Method
databaseSize
()
use-cases/mcp-server/worker-configuration.d.ts:2387
Method
debug
(...data: any[])
use-cases/mcp-server/worker-configuration.d.ts:104
Method
delete
(key: string, options?: DurableObjectPutOptions)
use-cases/mcp-server/worker-configuration.d.ts:460
Method
delete
(key: string, options?: DurableObjectPutOptions)
use-cases/mcp-server/worker-configuration.d.ts:473
Method
delete
(key: Key)
use-cases/mcp-server/worker-configuration.d.ts:1471
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
use-cases/mcp-server/worker-configuration.d.ts:465
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
use-cases/mcp-server/worker-configuration.d.ts:479
Method
deleteAll
(options?: DurableObjectPutOptions)
use-cases/mcp-server/worker-configuration.d.ts:475
Method
deserializeAttachment
()
use-cases/mcp-server/worker-configuration.d.ts:2353
Method
destroy
(error?: any)
use-cases/mcp-server/worker-configuration.d.ts:2488
Method
dir
(item?: any, options?: any)
use-cases/mcp-server/worker-configuration.d.ts:106
Method
dirxml
(...data: any[])
use-cases/mcp-server/worker-configuration.d.ts:108
Method
doctype
(doctype: Doctype)
use-cases/mcp-server/worker-configuration.d.ts:1165
Method
draw
* Draw an image on this transformer, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output.
use-cases/mcp-server/worker-configuration.d.ts:6497
Method
dup
()
use-cases/mcp-server/worker-configuration.d.ts:6685
Function
dynamic_context_prompt
Dynamic system prompt that includes conversation context.
use-cases/pydantic-ai/examples/basic_chat_agent/agent.py:98
Function
dynamic_context_prompt
Dynamic system prompt that includes conversation context.
use-cases/agent-factory-with-subagents/examples/basic_chat_agent/agent.py:98
Method
element
(element: Element)
use-cases/mcp-server/worker-configuration.d.ts:1160
Method
equals
(other: DurableObjectId)
use-cases/mcp-server/worker-configuration.d.ts:420
Method
error_recovery_workflow
(messages, tools)
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/test_integration.py:205
Function
event_loop
Create an instance of the default event loop for the test session.
use-cases/pydantic-ai/examples/testing_examples/test_agent_patterns.py:380
Function
event_loop
Create an instance of the default event loop for the test session.
use-cases/agent-factory-with-subagents/examples/testing_examples/test_agent_patterns.py:380
Function
event_loop
Create an instance of the default event loop for the test session.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:219
Method
exec
(query: string, ...bindings: any[])
use-cases/mcp-server/worker-configuration.d.ts:2386
Function
execute_query
Execute a custom query. Args: query: SQL query *params: Query parameters Returns: Query results
use-cases/agent-factory-with-subagents/examples/rag_pipeline/utils/db_utils.py:188
Function
execute_query
Execute a custom query. Args: query: SQL query *params: Query parameters Returns: Query results
use-cases/agent-factory-with-subagents/agents/rag_agent/utils/db_utils.py:188
Method
failing_dependencies
Create dependencies that will fail for testing error handling.
use-cases/pydantic-ai/examples/testing_examples/test_agent_patterns.py:347
Method
failing_dependencies
Create dependencies that will fail for testing error handling.
use-cases/agent-factory-with-subagents/examples/testing_examples/test_agent_patterns.py:347
Method
fetch
(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>)
use-cases/mcp-server/worker-configuration.d.ts:225
Function
format_data
Format data into structured output. Args: data: Raw data to format format_type: Type of formatting (table, list, json)
use-cases/pydantic-ai/examples/tool_enabled_agent/agent.py:233
Function
format_data
Format data into structured output. Args: data: Raw data to format format_type: Type of formatting (table, list, json)
use-cases/agent-factory-with-subagents/examples/tool_enabled_agent/agent.py:233
← previous
next →
201–300 of 691, ranked by callers