This commit is contained in:
a2a-platform
2026-06-04 22:28:19 +00:00
commit c2768d3117
5 changed files with 3591 additions and 0 deletions

10
README.md Normal file
View File

@@ -0,0 +1,10 @@
# mailu-openapi-agent
Generated A2APack agent for Mailu API.
- Source OpenAPI: https://mail.a2acloud.io/api/v1/swagger.json
- Generated operations: 38
- Main skill: `auto`
The generated code is intentionally editable. Tune prompts, operation
grouping, auth names, and safety policy before publishing serious agents.

12
a2a.yaml Normal file
View File

@@ -0,0 +1,12 @@
name: mailu-openapi-agent
version: '1.0'
entrypoint: agent:MailuOpenapiAgent
description: Mailu administration agent generated from the live Mailu OpenAPI spec.
runtime:
resources:
cpu: 200m
memory: 512Mi
egress:
allow_hosts:
- mail.a2acloud.io
deny_internet_by_default: true

1068
agent.py Normal file

File diff suppressed because one or more lines are too long

2494
openapi.json Normal file

File diff suppressed because it is too large Load Diff

7
requirements.txt Normal file
View File

@@ -0,0 +1,7 @@
# a2a-pack is installed by the platform base image.
deepagents>=0.5.0
langchain>=0.3
langchain-openai>=0.2
langchain-core>=0.3
langgraph>=0.6
httpx>=0.27