MCPcopy Create free account

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

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

↓ 198 callersMethodget
(self)
beta/data-analyst/backend.py:49
↓ 98 callersMethodget
(self, ticket_id: str)
itops/orchestration/run_demo.py:212
↓ 53 callersFunctionpacket
Construct an EV_PACKET envelope that mimics what build_round_envelope would have produced after an LLM turn.
itops/orchestration/test_parallel_workflow.py:79
↓ 43 callersMethodfold
( self, envelope: Envelope, state: ParallelWorkflowState, )
itops/orchestration/parallel_workflow.py:285
↓ 22 callersFunctionescapeHtml
(s)
beta/mystery-dinner/app/static/mystery_dinner.js:407
↓ 20 callersMethodinitial_state
(self, metadata: ChannelMetadata)
itops/orchestration/parallel_workflow.py:190
↓ 17 callersFunctionemit
Append an event to the log and wake the broadcaster. Delivery is cursor-based off the log (see _broadcast_loop), so every client — including o
itops/it_ops_app/server.py:91
↓ 16 callersFunctionmake_metadata
( adapter: ParallelWorkflowAdapter, agent_ids: list[str], graph: TransitionGraph )
itops/orchestration/test_parallel_workflow.py:64
↓ 16 callersFunctionmake_triage_graph
Build the exact graph from §6.2 of the design doc.
itops/orchestration/test_parallel_workflow.py:140
↓ 11 callersFunctioncall_arcade_tool
Authorize (if needed) and execute an Arcade tool, returning the output.
arcade/gmail-agent/main.py:45
↓ 10 callersMethodto_dict
(self)
itops/orchestration/run_demo.py:174
↓ 9 callersFunction_sse
(data: dict)
ag-ui/gpt-researcher/server.py:498
↓ 9 callersFunction_timestamp
()
ag-ui/gpt-researcher/server.py:494
↓ 9 callersFunctiontool_response
Canned result for an investigative tool call on ``arg`` (host/pool/disk).
itops/orchestration/mock_world.py:105
↓ 8 callersFunction_emit_state
Push pipeline state to /logs so the frontend updates in real time.
ag-ui/gpt-researcher/server.py:118
↓ 8 callersMethod_print
(self, label: str, msg: str)
beta/parallel-research/main.py:155
↓ 8 callersMethodclear
(self)
itops/orchestration/run_demo.py:266
↓ 8 callersMethodvalidate_send
( self, metadata: ChannelMetadata, envelope: Envelope, state: ParallelWorkflow
itops/orchestration/parallel_workflow.py:246
↓ 7 callersFunction_tool_call
Convenience: build a ToolCallEvent with JSON-encoded args.
itops/orchestration/test_e2e_workflow.py:100
↓ 7 callersFunctionscrollStream
()
beta/mystery-dinner/app/static/mystery_dinner.js:469
↓ 7 callersFunctionstate_snapshot
Convert a state to a byte-stable dict for equality comparison.
itops/orchestration/test_parallel_workflow.py:110
↓ 7 callersMethodupdate
(self, ticket_id: str, **changes)
itops/orchestration/run_demo.py:218
↓ 6 callersMethodelapsed
(self)
beta/mystery-dinner/app/clock.py:22
↓ 6 callersMethodremaining
(self)
beta/mystery-dinner/app/clock.py:13
↓ 5 callersFunction_fact_dict
(f: VerifiedFact)
beta/mystery-dinner/app/game_master.py:197
↓ 5 callersFunction_ticket_json
(t: core.Ticket)
itops/it_ops_app/server.py:107
↓ 5 callersFunction_to_plain
(obj: Any)
beta/mystery-dinner/app/memory.py:73
↓ 5 callersMethodemit
Emit directly to the queue (bypasses filters).
ag-ui/gpt-researcher/server.py:96
↓ 5 callersFunctionformat_todo_str
(data)
manage-todos-with-realtime-agent/todo_utils.py:8
↓ 5 callersFunctionget_data
()
manage-todos-with-realtime-agent/todo_utils.py:15
↓ 5 callersFunctionshowTourPage
(i)
beta/mystery-dinner/app/static/mystery_dinner.js:625
↓ 5 callersFunctionshowView
(name)
beta/mystery-dinner/app/static/mystery_dinner.js:18
↓ 4 callersFunction_save_agent_output
Save agent output files and append entries to references.md.
due-diligence-with-tinyfish/main.py:106
↓ 4 callersMethod_stamp
(self)
itops/orchestration/run_demo.py:769
↓ 4 callersFunction_wal_tool_args
First EV_PACKET in the WAL whose routing matched ``tool_name`` — return its parsed tool arguments (enriched by the adapter), or {}.
itops/orchestration/run_demo.py:814
↓ 4 callersMethod_write
(self, t: Ticket)
itops/orchestration/run_demo.py:194
↓ 4 callersMethodall
(self)
itops/orchestration/run_demo.py:244
↓ 4 callersFunctioncall_arcade_tool
Authorize (if needed) and execute an Arcade tool, returning the output.
arcade/linear-agent/main.py:21
↓ 4 callersMethodreset
(self, duration_seconds: int | None = None)
beta/mystery-dinner/app/clock.py:39
↓ 4 callersFunctionselectInvestigations
(state)
itops/frontend/src/live/backend.js:18
↓ 4 callersMethodset_status
(self, ticket_id: str, status: str, note: str = "")
itops/orchestration/run_demo.py:226
↓ 4 callersFunctionuseBackend
()
itops/frontend/src/live/backend.js:10
↓ 3 callersFunction_banner
(title: str, subtitle: str = "")
itops/orchestration/run_demo.py:825
↓ 3 callersFunction_emit_gptr_cost
Push gpt-researcher cost delta to /logs.
ag-ui/gpt-researcher/server.py:128
↓ 3 callersMethod_notify
(self, kind: str, payload: Any)
beta/mystery-dinner/app/memory.py:64
↓ 3 callersFunction_run_agent_chat
Run a single agent conversation and return extracted JSON.
due-diligence-with-tinyfish/main.py:186
↓ 3 callersFunctionanswer_question_common
Common question answer function that updates context variables and routes based on the answer confidence. agent_level will be one of "basic", "in
tutorial/agent_pattern_cookbook/pattern_advanced_escalation.py:65
↓ 3 callersMethodcreate
(self, ticket: Ticket)
itops/orchestration/run_demo.py:207
↓ 3 callersMethodfreeze
(self)
beta/mystery-dinner/app/clock.py:35
↓ 3 callersFunctiongen
()
beta/mystery-dinner/app/server.py:132
↓ 3 callersFunctionincident_keys
()
itops/orchestration/mock_world.py:175
↓ 3 callersFunctionlightMarkdown
(escaped)
beta/mystery-dinner/app/static/mystery_dinner.js:418
↓ 3 callersFunctionrenderNotebook
()
beta/mystery-dinner/app/static/mystery_dinner.js:494
↓ 3 callersMethodresolve
(self, state, envelope)
itops/orchestration/parallel_workflow.py:114
↓ 3 callersFunctionsave_data
(data)
manage-todos-with-realtime-agent/todo_utils.py:24
↓ 3 callersFunctiontruncate
(s, n)
beta/mystery-dinner/app/static/mystery_dinner.js:470
↓ 2 callersFunction_clean_slim
Slim clean for list/search: strip body from each email, keep metadata only.
arcade/gmail-agent/main.py:103
↓ 2 callersFunction_emit_log
(service: str, message: str, level: str = "info")
itops/it_ops_app/server.py:322
↓ 2 callersFunction_list_artifact_names
(sandbox)
beta/data-analyst/backend.py:334
↓ 2 callersMethod_maybe_withdraw
( self, outcome: str, accused_key: str, reasoning: str, detail: str,
beta/mystery-dinner/app/game_master.py:160
↓ 2 callersMethod_path
(self, ticket_id: str)
itops/orchestration/run_demo.py:191
↓ 2 callersFunction_require_env
(name: str)
beta/parallel-research/main.py:312
↓ 2 callersFunction_reset
Reset to a clean slate — used by 'Start Simulation' so every run starts from scratch. Cancels in-flight flows, clears tickets/tracking, resets the
itops/it_ops_app/server.py:262
↓ 2 callersFunction_stringify
(value: Any)
beta/mystery-dinner/app/agents/detective.py:232
↓ 2 callersFunction_strip_html
Parse HTML and extract plain text.
arcade/gmail-agent/main.py:28
↓ 2 callersFunction_touches_window
Heuristic: does the fact contain a timestamp inside the murder window?
beta/mystery-dinner/app/game_master.py:206
↓ 2 callersFunction_truncate
(s: str, limit: int)
beta/data-analyst/backend.py:340
↓ 2 callersFunctionagentsForChannel
(ch, now, order)
itops/frontend/src/live/backend.js:22
↓ 2 callersFunctionappendSystem
(text)
beta/mystery-dinner/app/static/mystery_dinner.js:429
↓ 2 callersFunctionappendTurn
(role, text)
beta/mystery-dinner/app/static/mystery_dinner.js:247
↓ 2 callersMethodattach
(self, stream: "Stream", label: str)
beta/parallel-research/main.py:117
↓ 2 callersFunctionauthenticate_google_drive
Shows basic usage of the Drive v3 API. Prints the names and ids of the first 10 files the user has access to.
dataroom-research/gdrive_signin.py:13
↓ 2 callersFunctionbuild_config
Return a ModelConfig for the given role ('lead' or 'researcher'). Provider is selected by LLM_PROVIDER env var (default: gemini). Model names
beta/parallel-research/main.py:52
↓ 2 callersFunctionbuild_suspect
(profile: SuspectProfile)
beta/mystery-dinner/app/agents/suspect.py:67
↓ 2 callersFunctioncomplete
(name)
itops/frontend/src/live/BackendProvider.jsx:84
↓ 2 callersMethoddescribe
(self)
beta/mystery-dinner/app/memory.py:24
↓ 2 callersFunctionensure
(name, status)
itops/frontend/src/live/BackendProvider.jsx:78
↓ 2 callersFunctionextract_email_body_and_attachments
Extracts and decodes the email body, preferring 'text/plain' but falling back to 'text/html' if needed. Also extracts attachment filenames.
email-management/email_utils.py:26
↓ 2 callersFunctionformatCell
(v)
beta/mystery-dinner/app/static/mystery_dinner.js:400
↓ 2 callersFunctionformatFactResult
(raw)
beta/mystery-dinner/app/static/mystery_dinner.js:377
↓ 2 callersFunctionformat_suspect_summary
Public info the Detective can see (no private truths).
beta/mystery-dinner/app/cases/blackwood_estate.py:264
↓ 2 callersMethodfrom_dict
(cls, d: dict)
itops/orchestration/run_demo.py:178
↓ 2 callersFunctiongenerate
()
ag-ui/gpt-researcher/server.py:545
↓ 2 callersFunctionmark_email_as_read
Marks an email as read by removing the 'UNREAD' label.
email-management/email_utils.py:319
↓ 2 callersFunctionnow
()
beta/mystery-dinner/app/memory.py:98
↓ 2 callersMethodon_accepted
( self, metadata: ChannelMetadata, envelope: Envelope, state: ParallelWorkflow
itops/orchestration/parallel_workflow.py:424
↓ 2 callersFunctionprofile_by_name
(name: str)
beta/mystery-dinner/app/cases/blackwood_estate.py:256
↓ 2 callersFunctionrenderKeyValues
(obj)
beta/mystery-dinner/app/static/mystery_dinner.js:367
↓ 2 callersFunctionrun_qa_session
Interactive Q&A over an existing due diligence report folder.
due-diligence-with-tinyfish/main.py:588
↓ 2 callersMethodsend_json
Called by gpt-researcher internals. Filters per-call cost messages.
ag-ui/gpt-researcher/server.py:89
↓ 2 callersFunctionsetDirectivesDisabled
(disabled)
beta/mystery-dinner/app/static/mystery_dinner.js:109
↓ 2 callersMethodset_needs_human
(self, ticket_id: str, needs: bool, prompt: str = "")
itops/it_ops_app/server.py:147
↓ 2 callersMethodstart
()
manage-todos-with-realtime-agent/website_files/static/Audio.js:20
↓ 2 callersFunctionstate_snapshot
(state: ParallelWorkflowState)
itops/orchestration/test_e2e_workflow.py:105
↓ 2 callersMethodsubscribe
(self, cb)
beta/mystery-dinner/app/memory.py:55
↓ 2 callersFunctiontitleCase
(s)
beta/mystery-dinner/app/static/mystery_dinner.js:425
↓ 2 callersFunctiontoInvestigation
(t, openedMs)
itops/frontend/src/live/mappers.js:61
↓ 2 callersMethodunsubscribe
(self, cb)
beta/mystery-dinner/app/memory.py:58
↓ 1 callersFunction_ambient_logs_loop
While the sim is live, emit one random healthy log line ~every 1.5s.
itops/it_ops_app/server.py:326
↓ 1 callersFunction_broadcast_loop
Single delivery point. On each wake, send every client the slice of the event log past its cursor — so a fresh connect (cursor 0 → full backlog) a
itops/it_ops_app/server.py:290
next →1–100 of 534, ranked by callers