Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ag2ai/build-with-ag2
/ functions
Functions
534 in github.com/ag2ai/build-with-ag2
⨍
Functions
534
◇
Types & classes
48
↳
Endpoints
28
Function
clock_stream
(request: Request)
beta/mystery-dinner/app/server.py:185
Function
close_ticket
Resolver: write the final resolution to the ticket and set its status. ``status`` is one of ``"resolved"`` (fully remediated), ``"partially_re
itops/orchestration/run_demo.py:520
Function
collect_feedback
Collect and log feedback. Args: feedback: The feedback data to log Returns: Success message
gcp-agent-starter-pack/templates/ag2/app/fast_api_app.py:84
Function
commentary_stream
(request: Request)
beta/mystery-dinner/app/server.py:154
Function
compile_alternative_section
Compile the alternative energy section (biofuels) for the final report
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:308
Function
compile_final_report
Compile the final comprehensive report from all sections
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:397
Function
compile_final_response
Compile the final comprehensive response from all specialist inputs
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:203
Function
compile_renewable_section
Compile the renewable energy section (solar and wind) for the final report
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:258
Function
compile_storage_section
Compile the energy storage section (hydro and geothermal) for the final report
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:283
Function
complete_biofuel_research
Submit biofuel research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:155
Function
complete_fulfillment
Complete the fulfillment stage and pass to notification
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:252
Function
complete_geothermal_research
Submit geothermal energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:134
Function
complete_hydro_research
Submit hydroelectric energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:113
Function
complete_inventory_check
Complete the inventory check stage and pass to payment processing
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:189
Function
complete_notification
Complete the notification stage and finish the pipeline
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:267
Function
complete_payment_processing
Complete the payment processing stage and pass to fulfillment
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:223
Function
complete_research_task
Complete a research task with findings.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:182
Function
complete_solar_research
Submit solar energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:71
Function
complete_validation
Complete the validation stage and pass to inventory check
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:155
Function
complete_wind_research
Submit wind energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:92
Function
complete_writing_task
Complete a writing task with content.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:237
Method
constructor
(webSocketUrl)
manage-todos-with-realtime-agent/website_files/static/Audio.js:4
Method
create
(self, ticket: core.Ticket)
itops/it_ops_app/server.py:130
Function
create_draft
Save an email as a draft without sending. - to: recipient email address - subject: email subject line - body: plain-text email body
arcade/gmail-agent/main.py:205
Function
create_issue
Create a new Linear issue. - team: team name or key (e.g. 'AG2', 'ENG') — not an email - assignee: name, email, or '@me' for the current user
arcade/linear-agent/main.py:90
Function
create_research_agent_prompt
Create the research agent prompt with the current research task.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:331
Function
create_structured_itinerary
Once a structured itinerary is created, store it and pass on to the Route Timing agent.
travel-planner/main.py:134
Function
create_summary_agent_prompt
Create the summary agent prompt with task completion results.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:402
Function
create_writing_agent_prompt
Create the writing agent prompt with the current writing task.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:366
Function
debate_flow
(last_speaker, groupchat)
tech-decision-debate/main.py:191
Method
default_view_policy
( self, metadata: ChannelMetadata, participant_id: str, )
itops/orchestration/parallel_workflow.py:455
Function
delegate_research_task
Delegate research task to the DeepResearchAgent and return the result.
dataroom-research/main.py:292
Function
delete_todo
( id: Annotated[int, "task id"], task: Annotated[str, "task description"], status: Annotated[str,
manage-todos-with-realtime-agent/todo_utils.py:71
Function
do_publish
Publisher: finalize the report with metadata.
ag-ui/gpt-researcher/server.py:337
Function
do_research
Researcher: search the web and collect sources.
ag-ui/gpt-researcher/server.py:192
Function
do_revision
Revisor: run supplementary research if gaps were found.
ag-ui/gpt-researcher/server.py:238
Function
do_write_report
Writer: compile the final research report.
ag-ui/gpt-researcher/server.py:321
Function
evaluate_and_select
Evaluate the different approaches and select or synthesize the best result
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:90
Function
evaluate_research
Reviewer: evaluate research quality and identify gaps.
ag-ui/gpt-researcher/server.py:214
Method
expired
(self)
beta/mystery-dinner/app/clock.py:26
Function
extract_task_message
Extracts the task to give to an agent as the task
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:259
Method
extract_turn_input
(self, envelope: Envelope)
itops/orchestration/parallel_workflow.py:465
Function
factory
(agent: "Agent", ctx: "Context")
beta/parallel-research/main.py:209
Function
failover_to_standby
Infra fixer: shift traffic from a node to its standby.
itops/orchestration/run_demo.py:458
Function
fetch_url
Return the readable content of a URL as plain text. Use after `tavily_search` to read a full page.
beta/parallel-research/main.py:91
Function
fetch_url
Return the readable content of a URL as plain text. Use this after `tavily_search` to read the full contents of the most relevant 1–3 results
beta/ask-the-web/backend.py:51
Function
finalize_document
Submit the final document and complete the feedback loop
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:310
Method
frozen
(self)
beta/mystery-dinner/app/clock.py:32
Function
get_active_connections
Web specialist: active connection count.
itops/orchestration/run_demo.py:398
Function
get_artifact
Return a saved artifact (PNG/SVG/CSV/etc.) as base64. Pass the bare filename (e.g. `survival_by_class.png`) produced by a prior `run_python`
beta/data-analyst/backend.py:162
Function
get_current_time
Returns the current UTC time.
gcp-agent-starter-pack/templates/ag2/app/agent.py:61
Function
get_disk_status
Storage specialist: list disk health on a host.
itops/orchestration/run_demo.py:368
Function
get_email_body
(email_id: str)
email-management/main.py:209
Function
get_full_thread
Get the full thread of an email as a formatted string for the agent.
email-management/main.py:216
Function
get_issue
Fetch current field values of a single Linear issue by identifier (e.g. 'ENG-869').
arcade/linear-agent/main.py:55
Function
get_loaded_dataset
Return the absolute path of the dataset the user uploaded to the sandbox. Call this FIRST at the start of every analysis. If no dataset is loaded
beta/data-analyst/backend.py:90
Function
get_network_routes
Network specialist: show routing table to a host.
itops/orchestration/run_demo.py:362
Function
get_news_links
(companyCode: str)
financial-analysis/main.py:93
Function
get_order_history
Return the order history of the user.
e-commerce-customer-service/functions.py:17
Function
get_pool_health
Storage specialist: ZFS pool status.
itops/orchestration/run_demo.py:374
Function
get_recent_5xx
Web specialist: count of 5xx responses in last 5 min.
itops/orchestration/run_demo.py:386
Function
get_smart_data
Storage specialist: SMART attributes for a disk.
itops/orchestration/run_demo.py:380
Function
get_thread
Fetch the full conversation thread by thread ID.
arcade/gmail-agent/main.py:136
Function
get_todos
()
manage-todos-with-realtime-agent/main.py:72
Function
get_upstream_latency
Web specialist: upstream latency to backing services.
itops/orchestration/run_demo.py:392
Function
get_weather
Simulates getting weather information.
gcp-agent-starter-pack/templates/ag2/app/agent.py:47
Function
get_weather
Get current weather for a location using the Open-Meteo API.
ag-ui/weather/backend.py:49
Function
handle_media_stream
Handle WebSocket connections providing audio stream and OpenAI.
manage-todos-with-realtime-agent/main.py:78
Function
health_check
Health check endpoint for Cloud Run.
gcp-agent-starter-pack/templates/ag2/app/fast_api_app.py:101
Function
health_check
()
tutorial/agent_pattern_cookbook/deploy_agent_to_gcp_vertexai/agent.py:38
Function
healthz
()
beta/data-analyst/backend.py:297
Function
healthz
()
beta/ask-the-web/backend.py:169
Function
healthz
()
itops/it_ops_app/server.py:382
Function
incident
Look up an injectable incident by key (KeyError if unknown).
itops/orchestration/mock_world.py:167
Function
index_page
()
manage-todos-with-realtime-agent/main.py:51
Function
init_research
Chief Editor: initialize the research pipeline with a query.
ag-ui/gpt-researcher/server.py:150
Function
initiate_research
Initiate the research process by delegating to managers
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:387
Function
initiate_return_process
initiate return process for a user order.
e-commerce-customer-service/functions.py:76
Function
initiate_task
Initiate processing of a task across multiple redundant agents with different approaches
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:59
Function
initiate_tasks
Initialize the task processing based on triage assessment.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:119
Function
injectIncident
(inc)
itops/frontend/src/pages/MonitoringPage.jsx:15
Method
is_terminated
(self)
beta/mystery-dinner/app/game_master.py:39
Function
is_termination_msg
(msg: dict)
due-diligence-with-tinyfish/main.py:622
Function
lifespan
(*args, **kwargs)
manage-todos-with-realtime-agent/main.py:40
Function
lifespan
(app: FastAPI)
beta/data-analyst/backend.py:269
Function
lifespan
(app)
beta/mystery-dinner/app/server.py:76
Function
lifespan
(app: FastAPI)
itops/it_ops_app/server.py:343
Function
list_emails
List emails from Gmail inbox. - sender: filter by sender email address (optional) - max_results: maximum number of emails to return (default 5
arcade/gmail-agent/main.py:122
Function
list_emails
List unread emails with their ID, sender, subject, and received time. Use count to limit results.
email-management/main.py:186
Function
list_files
List files under a path inside the sandbox (non-recursive).
beta/data-analyst/backend.py:143
Function
list_issues
List Linear issues assigned to a user. - assignee: '@me' for current user, or a name/email for someone else - state: filter by workflow state
arcade/linear-agent/main.py:43
Function
list_recent_tickets
REQUIRED FIRST STEP for the Intake Agent. Returns recent tickets matching this system + issue_type opened in the last N minutes, including the
itops/orchestration/run_demo.py:288
Function
list_suspects
Return public information about every suspect + their available data sources.
beta/mystery-dinner/app/agents/detective.py:105
Function
list_verified_facts
Return every verified fact. Optionally filter by suspect name.
beta/mystery-dinner/app/agents/detective.py:186
Function
load_sample
()
beta/data-analyst/backend.py:319
Function
login_account
login user account.
e-commerce-customer-service/functions.py:38
Function
logs_stream
SSE endpoint for gpt-researcher streaming and pipeline state updates.
ag-ui/gpt-researcher/server.py:700
Function
mark_all_from_sender_as_read
(sender: str)
email-management/main.py:83
Function
mark_as_duplicate
Intake found a duplicate; terminate workflow with the parent link.
itops/orchestration/test_e2e_workflow.py:70
Function
mark_as_duplicate
Mark this ticket as a duplicate of an existing resolved ticket. The workflow terminates immediately; the new ticket inherits the parent's find
itops/orchestration/run_demo.py:327
← previous
next →
301–400 of 534, ranked by callers