Files
learnhouse-agent/README.md
a2a-platform dfa7bb3bc4 deploy
2026-06-29 01:34:41 +00:00

37 lines
1.7 KiB
Markdown

# learnhouse-agent
Generated A2APack agent for LearnHouse.
- Source OpenAPI: https://learnhouse.a2acloud.io/openapi.json
- Generated operations: 422
- Main skill: `auto`
- Routing mode: DeepAgents subagents across 35 route groups
Deployment context:
- This LearnHouse instance runs single-organization tenancy.
- Existing organization: A2A Cloud Academy
- Default `org_slug`: `default`
- Default `org_id`: `1`
- Do not create additional organizations on this instance; that requires
LearnHouse Enterprise multi-organization mode.
- Course creation uses multipart form fields: `name`, `description`, `public`,
and `about`.
- When creating lesson/module content, create at least one activity per chapter
using that chapter's own `chapter_id`. Do not attach all activities to the
first chapter.
- Visible lesson activities should normally use `TYPE_DYNAMIC` /
`SUBTYPE_DYNAMIC_MARKDOWN`, `content.markdown_url`, `lock_type=public`, and
`published=true` unless the user explicitly asks for drafts. Inline markdown
is converted to a `data:text/markdown` URL when no external URL is available.
- Activity updates must not send `published_version`; this LearnHouse backend
currently rejects that field.
- Do not use `GET /api/v1/health` as a preflight or blocker for API-token
workflows; it returns 403 for API tokens. Smoke/status checks should use a
read-only course count/list endpoint with `org_slug=default`.
- Auth setup is required as `LEARNHOUSE_AUTH`. Use `Bearer <access_token>`, a
raw access token, or a Cookie header containing `LH_access`/`LH_refresh`.
The generated code is intentionally editable. Tune prompts, operation
grouping, auth names, and safety policy before publishing serious agents.