MCPcopy Create free account

hub / github.com/ag2ai/build-with-ag2 / functions

Functions534 in github.com/ag2ai/build-with-ag2

Functionclock_stream
(request: Request)
beta/mystery-dinner/app/server.py:185
Functionclose_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
Functioncollect_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
Functioncommentary_stream
(request: Request)
beta/mystery-dinner/app/server.py:154
Functioncompile_alternative_section
Compile the alternative energy section (biofuels) for the final report
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:308
Functioncompile_final_report
Compile the final comprehensive report from all sections
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:397
Functioncompile_final_response
Compile the final comprehensive response from all specialist inputs
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:203
Functioncompile_renewable_section
Compile the renewable energy section (solar and wind) for the final report
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:258
Functioncompile_storage_section
Compile the energy storage section (hydro and geothermal) for the final report
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:283
Functioncomplete_biofuel_research
Submit biofuel research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:155
Functioncomplete_fulfillment
Complete the fulfillment stage and pass to notification
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:252
Functioncomplete_geothermal_research
Submit geothermal energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:134
Functioncomplete_hydro_research
Submit hydroelectric energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:113
Functioncomplete_inventory_check
Complete the inventory check stage and pass to payment processing
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:189
Functioncomplete_notification
Complete the notification stage and finish the pipeline
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:267
Functioncomplete_payment_processing
Complete the payment processing stage and pass to fulfillment
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:223
Functioncomplete_research_task
Complete a research task with findings.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:182
Functioncomplete_solar_research
Submit solar energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:71
Functioncomplete_validation
Complete the validation stage and pass to inventory check
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:155
Functioncomplete_wind_research
Submit wind energy research findings
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:92
Functioncomplete_writing_task
Complete a writing task with content.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:237
Methodconstructor
(webSocketUrl)
manage-todos-with-realtime-agent/website_files/static/Audio.js:4
Methodcreate
(self, ticket: core.Ticket)
itops/it_ops_app/server.py:130
Functioncreate_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
Functioncreate_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
Functioncreate_research_agent_prompt
Create the research agent prompt with the current research task.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:331
Functioncreate_structured_itinerary
Once a structured itinerary is created, store it and pass on to the Route Timing agent.
travel-planner/main.py:134
Functioncreate_summary_agent_prompt
Create the summary agent prompt with task completion results.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:402
Functioncreate_writing_agent_prompt
Create the writing agent prompt with the current writing task.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:366
Functiondebate_flow
(last_speaker, groupchat)
tech-decision-debate/main.py:191
Methoddefault_view_policy
( self, metadata: ChannelMetadata, participant_id: str, )
itops/orchestration/parallel_workflow.py:455
Functiondelegate_research_task
Delegate research task to the DeepResearchAgent and return the result.
dataroom-research/main.py:292
Functiondelete_todo
( id: Annotated[int, "task id"], task: Annotated[str, "task description"], status: Annotated[str,
manage-todos-with-realtime-agent/todo_utils.py:71
Functiondo_publish
Publisher: finalize the report with metadata.
ag-ui/gpt-researcher/server.py:337
Functiondo_research
Researcher: search the web and collect sources.
ag-ui/gpt-researcher/server.py:192
Functiondo_revision
Revisor: run supplementary research if gaps were found.
ag-ui/gpt-researcher/server.py:238
Functiondo_write_report
Writer: compile the final research report.
ag-ui/gpt-researcher/server.py:321
Functionevaluate_and_select
Evaluate the different approaches and select or synthesize the best result
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:90
Functionevaluate_research
Reviewer: evaluate research quality and identify gaps.
ag-ui/gpt-researcher/server.py:214
Methodexpired
(self)
beta/mystery-dinner/app/clock.py:26
Functionextract_task_message
Extracts the task to give to an agent as the task
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:259
Methodextract_turn_input
(self, envelope: Envelope)
itops/orchestration/parallel_workflow.py:465
Functionfactory
(agent: "Agent", ctx: "Context")
beta/parallel-research/main.py:209
Functionfailover_to_standby
Infra fixer: shift traffic from a node to its standby.
itops/orchestration/run_demo.py:458
Functionfetch_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
Functionfetch_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
Functionfinalize_document
Submit the final document and complete the feedback loop
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:310
Methodfrozen
(self)
beta/mystery-dinner/app/clock.py:32
Functionget_active_connections
Web specialist: active connection count.
itops/orchestration/run_demo.py:398
Functionget_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
Functionget_current_time
Returns the current UTC time.
gcp-agent-starter-pack/templates/ag2/app/agent.py:61
Functionget_disk_status
Storage specialist: list disk health on a host.
itops/orchestration/run_demo.py:368
Functionget_email_body
(email_id: str)
email-management/main.py:209
Functionget_full_thread
Get the full thread of an email as a formatted string for the agent.
email-management/main.py:216
Functionget_issue
Fetch current field values of a single Linear issue by identifier (e.g. 'ENG-869').
arcade/linear-agent/main.py:55
Functionget_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
Functionget_network_routes
Network specialist: show routing table to a host.
itops/orchestration/run_demo.py:362
Functionget_news_links
(companyCode: str)
financial-analysis/main.py:93
Functionget_order_history
Return the order history of the user.
e-commerce-customer-service/functions.py:17
Functionget_pool_health
Storage specialist: ZFS pool status.
itops/orchestration/run_demo.py:374
Functionget_recent_5xx
Web specialist: count of 5xx responses in last 5 min.
itops/orchestration/run_demo.py:386
Functionget_smart_data
Storage specialist: SMART attributes for a disk.
itops/orchestration/run_demo.py:380
Functionget_thread
Fetch the full conversation thread by thread ID.
arcade/gmail-agent/main.py:136
Functionget_todos
()
manage-todos-with-realtime-agent/main.py:72
Functionget_upstream_latency
Web specialist: upstream latency to backing services.
itops/orchestration/run_demo.py:392
Functionget_weather
Simulates getting weather information.
gcp-agent-starter-pack/templates/ag2/app/agent.py:47
Functionget_weather
Get current weather for a location using the Open-Meteo API.
ag-ui/weather/backend.py:49
Functionhandle_media_stream
Handle WebSocket connections providing audio stream and OpenAI.
manage-todos-with-realtime-agent/main.py:78
Functionhealth_check
Health check endpoint for Cloud Run.
gcp-agent-starter-pack/templates/ag2/app/fast_api_app.py:101
Functionhealth_check
()
tutorial/agent_pattern_cookbook/deploy_agent_to_gcp_vertexai/agent.py:38
Functionhealthz
()
beta/data-analyst/backend.py:297
Functionhealthz
()
beta/ask-the-web/backend.py:169
Functionhealthz
()
itops/it_ops_app/server.py:382
Functionincident
Look up an injectable incident by key (KeyError if unknown).
itops/orchestration/mock_world.py:167
Functionindex_page
()
manage-todos-with-realtime-agent/main.py:51
Functioninit_research
Chief Editor: initialize the research pipeline with a query.
ag-ui/gpt-researcher/server.py:150
Functioninitiate_research
Initiate the research process by delegating to managers
tutorial/agent_pattern_cookbook/pattern_advanced_hierarchical.py:387
Functioninitiate_return_process
initiate return process for a user order.
e-commerce-customer-service/functions.py:76
Functioninitiate_task
Initiate processing of a task across multiple redundant agents with different approaches
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:59
Functioninitiate_tasks
Initialize the task processing based on triage assessment.
tutorial/agent_pattern_cookbook/pattern_advanced_triage_with_tasks.py:119
FunctioninjectIncident
(inc)
itops/frontend/src/pages/MonitoringPage.jsx:15
Methodis_terminated
(self)
beta/mystery-dinner/app/game_master.py:39
Functionis_termination_msg
(msg: dict)
due-diligence-with-tinyfish/main.py:622
Functionlifespan
(*args, **kwargs)
manage-todos-with-realtime-agent/main.py:40
Functionlifespan
(app: FastAPI)
beta/data-analyst/backend.py:269
Functionlifespan
(app)
beta/mystery-dinner/app/server.py:76
Functionlifespan
(app: FastAPI)
itops/it_ops_app/server.py:343
Functionlist_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
Functionlist_emails
List unread emails with their ID, sender, subject, and received time. Use count to limit results.
email-management/main.py:186
Functionlist_files
List files under a path inside the sandbox (non-recursive).
beta/data-analyst/backend.py:143
Functionlist_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
Functionlist_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
Functionlist_suspects
Return public information about every suspect + their available data sources.
beta/mystery-dinner/app/agents/detective.py:105
Functionlist_verified_facts
Return every verified fact. Optionally filter by suspect name.
beta/mystery-dinner/app/agents/detective.py:186
Functionload_sample
()
beta/data-analyst/backend.py:319
Functionlogin_account
login user account.
e-commerce-customer-service/functions.py:38
Functionlogs_stream
SSE endpoint for gpt-researcher streaming and pipeline state updates.
ag-ui/gpt-researcher/server.py:700
Functionmark_all_from_sender_as_read
(sender: str)
email-management/main.py:83
Functionmark_as_duplicate
Intake found a duplicate; terminate workflow with the parent link.
itops/orchestration/test_e2e_workflow.py:70
Functionmark_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
← previousnext →301–400 of 534, ranked by callers