Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/EmilLindfors/a2a-rs
/ functions
Functions
1,168 in github.com/EmilLindfors/a2a-rs
⨍
Functions
1,168
◇
Types & classes
263
↓ 455 callers
Method
clone
(&self)
a2a-rs/src/adapter/storage/task_storage.rs:742
↓ 126 callers
Method
is_empty
Check if the cache is empty.
a2a-agents-common/src/caching/mod.rs:91
↓ 119 callers
Method
insert
Insert a value into the cache.
a2a-agents-common/src/caching/mod.rs:65
↓ 98 callers
Method
get
Get a value from the cache.
a2a-agents-common/src/caching/mod.rs:70
↓ 82 callers
Method
build
Build the [`WebA2AClient`]. # Panics Panics if `http_url` was not set. # Examples ```rust use a2a_client::WebA2AClient; let client = WebA2AClient
a2a-client/src/lib.rs:331
↓ 70 callers
Method
message_id
(mut self, message_id: String)
a2a-rs/src/domain/core/message.rs:241
↓ 70 callers
Method
role
(mut self, role: Role)
a2a-rs/src/domain/core/message.rs:256
↓ 66 callers
Method
parts
(mut self, parts: Vec<Part>)
a2a-rs/src/domain/core/message.rs:261
↓ 55 callers
Method
as_str
Returns the wire-format string for this role.
a2a-ap2/src/types/roles.rs:46
↓ 49 callers
Method
build
(self)
a2a-rs/src/domain/core/task.rs:257
↓ 49 callers
Method
build
Build the agent runtime
a2a-agents/src/core/builder.rs:353
↓ 48 callers
Method
context_id
(mut self, context_id: String)
a2a-rs/src/domain/core/task.rs:232
↓ 48 callers
Method
url
(&self)
a2a-rs/src/domain/core/agent.rs:234
↓ 45 callers
Method
status
(mut self, status: TaskStatus)
a2a-rs/src/domain/core/task.rs:237
↓ 37 callers
Method
len
Get the number of entries in the cache.
a2a-agents-common/src/caching/mod.rs:86
↓ 34 callers
Method
update_task_status
( &self, _task_id: &str, _state: TaskState, _message: Option<Message>, )
a2a-rs/tests/common/test_handler.rs:84
↓ 33 callers
Method
id
(mut self, id: String)
a2a-rs/src/domain/core/task.rs:227
↓ 31 callers
Method
create_task
(&self, _task_id: &str, _context_id: &str)
a2a-rs/tests/common/test_handler.rs:72
↓ 31 callers
Method
list_tasks_v3
( &self, params: &a2a_rs::domain::ListTasksParams, )
a2a-rs/tests/common/test_handler.rs:221
↓ 29 callers
Method
history
(mut self, history: Vec<Message>)
a2a-rs/src/domain/core/task.rs:247
↓ 28 callers
Method
list_tasks
List tasks with optional filtering
a2a-rs/src/port/task_manager.rs:38
↓ 24 callers
Method
get_text
Helper method to get the text content if this is a Text part
a2a-rs/src/domain/core/message.rs:69
↓ 23 callers
Method
serve
Start serving A2A requests
a2a-mcp/src/server.rs:65
↓ 21 callers
Method
send_task_message
( &self, task_id: &str, message: &Message, session_id: Option<&str>, h
a2a-rs/src/adapter/transport/http/client.rs:256
↓ 21 callers
Method
validate
(&self)
a2a-rs/src/domain/core/task.rs:390
↓ 20 callers
Method
capabilities
(mut self, capabilities: AgentCapabilities)
a2a-rs/src/domain/core/agent.rs:359
↓ 20 callers
Method
default_input_modes
(mut self, default_input_modes: Vec<String>)
a2a-rs/src/domain/core/agent.rs:394
↓ 20 callers
Method
default_output_modes
(mut self, default_output_modes: Vec<String>)
a2a-rs/src/domain/core/agent.rs:399
↓ 20 callers
Method
name
(mut self, name: String)
a2a-rs/src/domain/core/agent.rs:309
↓ 19 callers
Method
description
(mut self, description: String)
a2a-rs/src/domain/core/agent.rs:314
↓ 19 callers
Method
version
(mut self, version: String)
a2a-rs/src/domain/core/agent.rs:329
↓ 18 callers
Method
skills
(mut self, skills: Vec<AgentSkill>)
a2a-rs/src/domain/core/agent.rs:404
↓ 17 callers
Method
list_push_notification_configs
( &self, params: &a2a_rs::domain::ListTaskPushNotificationConfigsParams, )
a2a-rs/tests/common/test_handler.rs:235
↓ 15 callers
Function
setup_test_server
Helper function to setup a test server with pre-populated tasks
a2a-rs/tests/client_v3_methods_test.rs:20
↓ 15 callers
Method
update_status
(&mut self, state: TaskState, message: Option<Message>)
a2a-rs/src/domain/core/task.rs:312
↓ 14 callers
Function
extract_definition
Extract a specific definition from a schema file with all definitions context
a2a-rs/tests/spec_compliance_test.rs:33
↓ 14 callers
Method
into_response
(self)
a2a-agents/bin/reimbursement_demo.rs:814
↓ 13 callers
Function
create_test_storage
()
a2a-rs/tests/sqlx_storage_test.rs:12
↓ 13 callers
Function
create_test_tasks
Helper to create tasks with different states and contexts
a2a-rs/tests/in_memory_storage_v3_test.rs:15
↓ 13 callers
Method
with_metadata
Add metadata to the context
a2a-rs/src/port/authenticator.rs:30
↓ 12 callers
Method
clone
(&self)
a2a-rs/src/adapter/storage/sqlx_storage.rs:1222
↓ 12 callers
Method
process_message
( &self, task_id: &str, message: &Message, _session_id: Option<&str>, )
a2a-agents/examples/minimal_agent.rs:21
↓ 12 callers
Method
run
Start the appropriate server(s) based on configuration
a2a-agents/src/core/runtime.rs:430
↓ 12 callers
Method
with_description
Set the description of the agent
a2a-rs/src/adapter/business/agent_info.rs:36
↓ 11 callers
Method
add_intent
Add an intent with associated keywords.
a2a-agents-common/src/nlp/intent.rs:36
↓ 11 callers
Method
clone
(&self)
a2a-rs/src/adapter/transport/http/server.rs:138
↓ 11 callers
Method
set_task_notification
( &self, _config: &a2a_rs::domain::TaskPushNotificationConfig, )
a2a-rs/tests/common/test_handler.rs:109
↓ 11 callers
Method
with_handler
Set the message handler for this agent
a2a-agents/src/core/builder.rs:309
↓ 10 callers
Method
set_task_push_notification
( &self, config: &TaskPushNotificationConfig, )
a2a-rs/src/adapter/transport/http/client.rs:327
↓ 10 callers
Method
start
Start HTTP server
a2a-agents/src/agents/reimbursement/server.rs:100
↓ 9 callers
Method
build
Build the markdown table string.
a2a-agents-common/src/formatting/table.rs:66
↓ 9 callers
Method
delete_push_notification_config
( &self, params: &a2a_rs::domain::DeleteTaskPushNotificationConfigParams, )
a2a-rs/tests/common/test_handler.rs:242
↓ 9 callers
Method
get_task
(&self, _task_id: &str, _history_length: Option<u32>)
a2a-rs/tests/common/test_handler.rs:78
↓ 9 callers
Function
setup_server
Helper to set up a server with a task
a2a-rs/tests/push_notification_crud_test.rs:25
↓ 9 callers
Function
setup_server_with_tasks
(port: u16)
a2a-rs/tests/task_list_test.rs:19
↓ 9 callers
Method
text
(content: String)
a2a-rs/src/domain/core/message.rs:15
↓ 9 callers
Method
update_task_status
( &self, _task_id: &str, _state: TaskState, _message: Option<Message>, )
a2a-rs/examples/common/simple_agent_handler.rs:98
↓ 9 callers
Method
with_limited_history
(&self, history_length: Option<u32>)
a2a-rs/src/domain/core/task.rs:332
↓ 8 callers
Method
build
Build the final markdown string.
a2a-agents-common/src/formatting/markdown.rs:128
↓ 8 callers
Method
extract
Extract all entities from text. Returns a HashMap where keys are entity types and values are vectors of extracted strings.
a2a-agents-common/src/nlp/entity.rs:82
↓ 8 callers
Method
get_push_notification_config
( &self, params: &a2a_rs::domain::GetTaskPushNotificationConfigParams, )
a2a-rs/tests/common/test_handler.rs:228
↓ 8 callers
Method
row
Add a row to the table.
a2a-agents-common/src/formatting/table.rs:59
↓ 8 callers
Function
with_auth
Helper function to apply authentication middleware to a router
a2a-rs/src/adapter/auth/authenticator.rs:403
↓ 7 callers
Method
extract_with_regex
(&self, regex: &Regex, text: &str)
a2a-agents-common/src/nlp/entity.rs:131
↓ 7 callers
Method
get_task
(&self, task_id: &str, history_length: Option<u32>)
a2a-agents/src/core/builder.rs:49
↓ 7 callers
Method
timestamp_utc
(&self)
a2a-rs/src/domain/core/task.rs:70
↓ 7 callers
Method
with_attribute
Add an attribute to the principal
a2a-rs/src/port/authenticator.rs:76
↓ 7 callers
Method
with_storage
Set custom storage for this agent
a2a-agents/src/core/builder.rs:321
↓ 6 callers
Method
add_part
Add a part to this message
a2a-rs/src/domain/core/message.rs:323
↓ 6 callers
Method
add_skill
Add a basic skill
a2a-rs/src/adapter/business/agent_info.rs:215
↓ 6 callers
Method
extract_builtin
( &self, name: &str, regex: &Regex, text: &str, entities: &mut HashMap
a2a-agents-common/src/nlp/entity.rs:118
↓ 6 callers
Method
get_agent_card
Fetch the agent card from the agent's `/agent-card` endpoint (plain HTTP GET)
a2a-rs/src/adapter/transport/http/client.rs:182
↓ 6 callers
Method
get_info
(&self)
a2a-mcp/tests/mcp_to_a2a_integration.rs:132
↓ 6 callers
Method
get_task_notification
( &self, task_id: &str, )
a2a-rs/src/adapter/storage/task_storage.rs:554
↓ 6 callers
Method
heading
Add a heading at the specified level (1-6).
a2a-agents-common/src/formatting/markdown.rs:32
↓ 6 callers
Method
update_task_status
( &self, task_id: &str, state: TaskState, message: Option<a2a_rs::domain::Mess
a2a-agents/src/core/builder.rs:57
↓ 6 callers
Method
with_push_notifications
Enable push notifications capability
a2a-rs/src/adapter/business/agent_info.rs:70
↓ 6 callers
Method
with_state_transition_history
Enable state transition history capability
a2a-rs/src/adapter/business/agent_info.rs:79
↓ 5 callers
Method
align
Set column alignment.
a2a-agents-common/src/formatting/table.rs:51
↓ 5 callers
Method
artifacts
(mut self, artifacts: Vec<Artifact>)
a2a-rs/src/domain/core/task.rs:242
↓ 5 callers
Method
clear
Clear all entries from the cache.
a2a-agents-common/src/caching/mod.rs:80
↓ 5 callers
Function
create_tool_call_message
Build an A2A [`Message`] that carries an MCP tool-call envelope. Produces a `User`-role message with no `parts` and a single metadata entry under [`M
a2a-mcp/src/bridge/mcp_to_a2a.rs:706
↓ 5 callers
Function
extract_from_part
(part: &Part, key: &str)
a2a-ap2/src/helpers.rs:178
↓ 5 callers
Method
get_extended_agent_card
Fetch the extended agent card using ConnectRPC
a2a-rs/src/adapter/transport/http/client.rs:233
↓ 5 callers
Method
get_task
(&self, task_id: &str, history_length: Option<u32>)
a2a-rs/src/adapter/storage/task_storage.rs:315
↓ 5 callers
Method
get_task
(&self, task_id: &str, history_length: Option<u32>)
a2a-rs/src/adapter/storage/sqlx_storage.rs:603
↓ 5 callers
Method
header
Set the table headers.
a2a-agents-common/src/formatting/table.rs:44
↓ 5 callers
Method
name
(&self)
a2a-agents/src/agents/reimbursement/plugin.rs:22
↓ 5 callers
Function
prompt_message_to_a2a_message
Helper to map `PromptMessage` to A2A `Message`.
a2a-mcp/src/bridge/mcp_to_a2a.rs:638
↓ 5 callers
Function
setup_server
(port: u16, supports_authenticated_card: bool)
a2a-rs/tests/authenticated_card_test.rs:17
↓ 5 callers
Method
with_documentation_url
Set the documentation URL of the agent
a2a-rs/src/adapter/business/agent_info.rs:58
↓ 5 callers
Method
with_provider
Set the provider of the agent
a2a-rs/src/adapter/business/agent_info.rs:42
↓ 5 callers
Method
with_timeout
Set the timeout for requests
a2a-rs/src/adapter/transport/http/client.rs:148
↓ 4 callers
Function
ap2_extension
Create an [`AgentExtension`] declaring AP2 support with the given roles. Agents that perform the `Merchant` role SHOULD set `required` to `true`.
a2a-ap2/src/extension.rs:10
↓ 4 callers
Method
broadcast_status_update
Send a status update to all subscribers for a task
a2a-rs/src/adapter/storage/task_storage.rs:125
↓ 4 callers
Method
bytes
Set file content as bytes
a2a-rs/src/domain/core/message.rs:163
↓ 4 callers
Method
call_tool
( &self, CallToolRequestParams { name, .. }: CallToolRequestParams, ctx: RequestContex
a2a-mcp/tests/mcp_to_a2a_integration.rs:157
↓ 4 callers
Method
cancel_task
(&self, _task_id: &str)
a2a-rs/tests/common/test_handler.rs:95
↓ 4 callers
Method
cancel_task
(&self, _task_id: &str)
a2a-rs/examples/common/simple_agent_handler.rs:109
↓ 4 callers
Method
config
Access the configuration
a2a-agents/src/core/builder.rs:333
next →
1–100 of 1,168, ranked by callers