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
mark_as_read
Mark an email as read by removing the UNREAD label.
arcade/gmail-agent/main.py:167
Function
mark_as_unread
Mark an email as unread by adding the UNREAD label.
arcade/gmail-agent/main.py:175
Function
mark_itinerary_as_complete
Store and mark our itinerary as accepted by the customer.
travel-planner/main.py:121
Function
mark_one_email_as_read
(email_id: str)
email-management/main.py:200
Function
modify_todo
( id: Annotated[int, "task id"], task: Annotated[str, "task description"], status: Annotated[str,
manage-todos-with-realtime-agent/todo_utils.py:48
Function
new_question_asked
If a new question is asked, this tool will reset context variables and route to the basic_agent. Only call this if the user has just asked a new quest
tutorial/agent_pattern_cookbook/pattern_advanced_escalation.py:46
Function
notebook_snapshot
(request: Request)
beta/mystery-dinner/app/server.py:112
Function
notebook_stream
(request: Request)
beta/mystery-dinner/app/server.py:124
Function
on_change
(kind: str, payload: dict)
beta/mystery-dinner/app/server.py:127
Method
on_channel_event
(self, channel_id, kind, payload)
itops/orchestration/run_demo.py:805
Method
on_channel_event
(self, channel_id, kind, payload)
itops/it_ops_app/server.py:186
Method
on_envelope_posted
(self, envelope, metadata)
itops/orchestration/run_demo.py:773
Method
on_envelope_posted
(self, envelope, metadata)
itops/it_ops_app/server.py:162
Function
openInvestigation
(id)
itops/frontend/src/App.jsx:20
Function
peek_recent_facts
Return the last N verified facts for awareness.
beta/mystery-dinner/app/agents/commentator.py:33
Function
peek_recent_turns
Return the last N interrogation turns.
beta/mystery-dinner/app/agents/commentator.py:43
Function
ping_host
Network specialist: ICMP ping a host.
itops/orchestration/run_demo.py:350
Function
plan_sections
Editor: plan the research outline with report sections.
ag-ui/gpt-researcher/server.py:177
Function
post_recommendations
(steps: list[str])
itops/orchestration/test_e2e_workflow.py:93
Function
post_recommendations
Post 3–5 concrete remediation steps to the ticket. This closes the diagnosis workflow and moves the ticket to Remediation_Recommended — a sepa
itops/orchestration/run_demo.py:425
Function
prepare_disk_replacement
Storage fixer: stage a failing disk for replacement. The physical hot-swap is DISRUPTIVE and requires operator sign-off before it runs.
itops/orchestration/run_demo.py:479
Function
present_for_review
Human Review: present research findings for human approval.
ag-ui/gpt-researcher/server.py:266
Function
proceed_to_triage
Intake decided this is not a duplicate; hand off to Triage.
itops/orchestration/test_e2e_workflow.py:64
Function
proceed_to_triage
Confirm this is not a duplicate; hand off to Triage.
itops/orchestration/run_demo.py:321
Function
provide_events_info
Submit events information for the specified city and date range
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:85
Function
provide_finance_response
Submit a response from the finance specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:202
Function
provide_food_info
Submit dining recommendations for the specified city
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:113
Function
provide_general_response
Submit a response from the general knowledge specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:248
Function
provide_healthcare_response
Submit a response from the healthcare specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:225
Function
provide_tech_response
Submit a response from the technology specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:179
Function
provide_traffic_info
Submit traffic/transportation information for the specified city
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:99
Function
provide_weather_info
Submit weather information for the specified city and date range
tutorial/agent_pattern_cookbook/pattern_advanced_star.py:71
Function
query_dossier
( source: str, start_time: str = "00:00", end_time: str = "23:59", )
beta/mystery-dinner/app/agents/suspect.py:80
Function
read_report_file
Read a file from the due diligence report directory. Pass the relative path (e.g. 'investors.json').
due-diligence-with-tinyfish/main.py:604
Function
read_text_file
Read a text file from the sandbox (first `max_bytes` bytes).
beta/data-analyst/backend.py:152
Function
record_agent_response
Record each nested agent's response, track completion, and prepare for evaluation
tutorial/agent_pattern_cookbook/pattern_advanced_redundant.py:271
Function
reducer
(state, action)
itops/frontend/src/live/BackendProvider.jsx:190
Method
render_envelope
(self, envelope: Envelope)
itops/orchestration/parallel_workflow.py:535
Function
reply_all_to_email
Reply to all recipients of an email. - email_id: ID of the message to reply to - body: plain-text reply body
arcade/gmail-agent/main.py:231
Function
reply_to_email
Reply to an email (sender only). - email_id: ID of the message to reply to - body: plain-text reply body
arcade/gmail-agent/main.py:216
Function
request_clarification
Request clarification from the user when the query is ambiguous
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:272
Function
research_endpoint
Run the multi-agent pipeline and stream AG-UI events.
ag-ui/gpt-researcher/server.py:506
Method
reset
(self)
beta/mystery-dinner/app/memory.py:50
Method
reset
(self)
beta/mystery-dinner/app/game_master.py:42
Function
reset_game
(request: Request)
beta/mystery-dinner/app/server.py:105
Method
resolve
(self, state, envelope)
itops/orchestration/parallel_workflow.py:139
Function
respond_endpoint
Accept human feedback and resume the paused pipeline.
ag-ui/gpt-researcher/server.py:675
Function
restart_service
Infra fixer: restart a service on a host.
itops/orchestration/run_demo.py:464
Function
route_to_finance_specialist
Route the current request to the finance specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:118
Function
route_to_general_specialist
Route the current request to the general knowledge specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:157
Function
route_to_healthcare_specialist
Route the current request to the healthcare specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:138
Function
route_to_tech_specialist
Route the current request to the technology specialist
tutorial/agent_pattern_cookbook/pattern_advanced_context_aware_routing.py:99
Function
run_agent
( message: RunAgentInput, accept: str | None = Header(None), )
ag-ui/factory/backend.py:180
Function
run_inventory_check
Run the inventory check for the order
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:184
Function
run_python
Execute Python code inside the Daytona sandbox. The sandbox has pandas, numpy, matplotlib, and seaborn pre-installed. Any plot you save under
beta/data-analyst/backend.py:102
Function
run_validation_check
Run the validation check for the order
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:150
Function
save_research_to_file
Save research content to a markdown file. Args: content (str): The research content to save (will be formatted as markdown) filen
dataroom-research/main.py:26
Function
schedule_posts
Schedule the marketing posts (email, LinkedIn, X) for publishing at the given time.
a2ui/flutter/backend.py:49
Function
scrape_and_summarize_yahoo_finance
Scrapes a Yahoo Finance article from the given URL and returns a summarized version. Parameters: - url (str): The URL of the Yahoo Finan
financial-analysis/main.py:124
Function
search_emails
Search emails by subject, body keywords, sender, or date range. - subject: words to find in the subject - body: words to find in the body
arcade/gmail-agent/main.py:141
Function
send_email
Send a new email. - to: recipient email address - subject: email subject line - body: plain-text email body
arcade/gmail-agent/main.py:194
Function
serve_asset
(filename: str)
ag-ui/gpt-researcher/server.py:695
Function
serve_frontend
()
ag-ui/factory/backend.py:175
Function
serve_frontend
()
ag-ui/gpt-researcher/server.py:690
Function
serve_frontend
()
ag-ui/weather/backend.py:116
Function
serve_frontend
()
beta/data-analyst/backend.py:292
Function
serve_frontend
()
beta/ask-the-web/backend.py:164
Function
serve_image
(request)
a2ui/flutter/backend.py:182
Method
set_needs_human
( self, ticket_id: str, needs: bool, prompt: str = "" )
itops/orchestration/run_demo.py:234
Method
set_status
(self, ticket_id: str, status: str, note: str = "")
itops/it_ops_app/server.py:141
Function
set_upstream_timeout
Config fixer: adjust the nginx upstream timeout and reload.
itops/orchestration/run_demo.py:492
Function
snapshot
()
itops/it_ops_app/server.py:387
Function
start_chat
Endpoint to return the HTML page for audio chat.
manage-todos-with-realtime-agent/main.py:65
Function
start_document_creation
Start the document creation feedback loop with a prompt and document type
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:73
Function
start_order_processing
Start the order processing pipeline with provided order details JSON string
tutorial/agent_pattern_cookbook/pattern_advanced_pipeline.py:122
Function
start_pool_scrub
Storage fixer: start a scrub/repair on a ZFS pool.
itops/orchestration/run_demo.py:473
Function
state_transition
(last_speaker, groupchat)
automate-ml-for-kaggle/main.py:107
Function
submit_document_draft
Submit the document draft for review
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:149
Function
submit_document_plan
Submit the initial document plan
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:109
Function
submit_draft
( document: Annotated[str, "Full document draft in markdown"], context_variables: ContextVariables, )
ag-ui/factory/backend.py:72
Function
submit_feedback
Submit feedback on the document
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:204
Function
submit_final
( final_document: Annotated[str, "Finalized document in markdown"], context_variables: ContextVariable
ag-ui/factory/backend.py:142
Function
submit_findings
Each specialist submits its independent findings.
itops/orchestration/test_e2e_workflow.py:82
Function
submit_findings
Each specialist submits its independent findings after investigation. Once all assigned specialists have called this, the workflow joins to RC
itops/orchestration/run_demo.py:404
Function
submit_fix
Each fixer submits the outcome of its work. ``status`` is one of ``"applied"`` (done), ``"partial"`` (some steps pending), or ``"blocked_pendi
itops/orchestration/run_demo.py:507
Function
submit_plan
( outline: Annotated[str, "Structured outline with 3-5 sections and key points"], audience: Annotated[
ag-ui/factory/backend.py:54
Function
submit_rca
(root_cause: str, confidence: str)
itops/orchestration/test_e2e_workflow.py:88
Function
submit_rca
Submit the synthesised root cause analysis. ``confidence`` is one of ``"low"``, ``"medium"``, ``"high"``.
itops/orchestration/run_demo.py:415
Function
submit_review
( strengths: Annotated[str, "What the document does well"], improvements: Annotated[str, "Specific are
ag-ui/factory/backend.py:87
Function
submit_revised_document
Submit the revised document, which may lead to another feedback loop or finalization
tutorial/agent_pattern_cookbook/pattern_advanced_feedback_loop.py:246
Function
submit_revision
( revised_document: Annotated[ str, "Revised document incorporating reviewer feedback" ],
ag-ui/factory/backend.py:122
Function
suspects_info
(request: Request)
beta/mystery-dinner/app/server.py:101
Function
tavily_search
Search the web. Returns a list of {title, url, content} dicts ranked by relevance.
beta/parallel-research/main.py:78
Function
tavily_search
Search the web. Returns a list of {title, url, content} dicts ranked by relevance. Use this first to discover candidate sources for a question.
beta/ask-the-web/backend.py:35
Function
test_agent_responds
Test that the AG2 agent processes a message and returns a response.
gcp-agent-starter-pack/templates/ag2/tests/integration/test_agent.py:6
Function
test_agent_uses_time_tool
Test that the agent correctly uses the time tool.
gcp-agent-starter-pack/templates/ag2/tests/integration/test_agent.py:54
Function
test_agent_uses_weather_tool
Test that the agent correctly uses the weather tool.
gcp-agent-starter-pack/templates/ag2/tests/integration/test_agent.py:29
Function
test_build_round_envelope_attaches_tool_args
Regression test for an issue surfaced by running real code: `_resolve_routing` in AG2 main does NOT populate `tool_args` on the routing dict —
itops/orchestration/test_parallel_workflow.py:621
Function
test_dynamic_parallel_rejects_unknown_nickname
()
itops/orchestration/test_parallel_workflow.py:297
Function
test_dynamic_parallel_target_populates_pending_set
Triage calls assign_specialists(["network", "storage"]) → fan-out.
itops/orchestration/test_parallel_workflow.py:256
← previous
next →
401–500 of 534, ranked by callers