chore: initialize sandbox and overwrite remote content
Some checks failed
Pre-commit / run (ubuntu-latest) (push) Has been cancelled
Deploy Sphinx documentation to Pages / build_en (ubuntu-latest, 3.10) (push) Has been cancelled
Deploy Sphinx documentation to Pages / build_zh (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.12) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.12) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.12) (push) Has been cancelled
Some checks failed
Pre-commit / run (ubuntu-latest) (push) Has been cancelled
Deploy Sphinx documentation to Pages / build_en (ubuntu-latest, 3.10) (push) Has been cancelled
Deploy Sphinx documentation to Pages / build_zh (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.12) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.12) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.10) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.12) (push) Has been cancelled
This commit is contained in:
37
examples/agent/a2a_agent/agent_card.py
Normal file
37
examples/agent/a2a_agent/agent_card.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""The agent card definition for the A2A agent."""
|
||||
from a2a.types import AgentCard, AgentCapabilities, AgentSkill
|
||||
|
||||
agent_card = AgentCard(
|
||||
name="Friday",
|
||||
description="A simple ReAct agent that handles input queries",
|
||||
url="http://localhost:8000",
|
||||
version="1.0.0",
|
||||
capabilities=AgentCapabilities(
|
||||
push_notifications=False,
|
||||
state_transition_history=True,
|
||||
streaming=True,
|
||||
),
|
||||
default_input_modes=["text/plain"],
|
||||
default_output_modes=["text/plain"],
|
||||
skills=[
|
||||
AgentSkill(
|
||||
name="execute_python_code",
|
||||
id="execute_python_code",
|
||||
description="Execute Python code snippets.",
|
||||
tags=["code_execution"],
|
||||
),
|
||||
AgentSkill(
|
||||
name="execute_shell_command",
|
||||
id="execute_shell_command",
|
||||
description="Execute shell commands on the server.",
|
||||
tags=["code_execution"],
|
||||
),
|
||||
AgentSkill(
|
||||
name="view_text_file",
|
||||
id="view_text_file",
|
||||
description="View the content of a text file on the server.",
|
||||
tags=["file_viewing"],
|
||||
),
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user