Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / sdk / openassistant / AGENTS.md

AGENTS.md1.3 KiBRenderedCodeRaw
1# AGENTS.md — sdk/openassistant/ (':sdk:openassistant')
2
3> Scoped supplement. Global rules in root `AGENTS.md` apply. Stay inside `sdk/openassistant/` + allowed shared modules. Do not root-scan.
4
5<!-- last-reviewed: 2026-10-16 -->
6- Gradle: :sdk:openassistant / dir: sdk/openassistant/
7- Package roots present: (public assistant SDK — one package)
8- Entry files: OpenAssistant.kt (no MainActivity/Route — SDK)
9- Deps: (none — SecureResultReceiver is owned by this module, #884)
10- Metadata: metadata_data/sdk-openassistant.md (absent — SDKs have none by design)
11- Rust: no / screenshotTest: no
12
13## Overview
14**Purpose:** Public SDK apps expose tool-calling surfaces to `openassistant/` through — the counterpart to per-app `intents/` (notes/email/calendar/taxi/weather/fooddelivery expose `*Intent`s; this SDK is the assistant-facing client).
15**Consumers:** `openassistant/` (tool calls out); any app exposing assistant tools (calls in).
16**Entry points:** `OpenAssistant.kt` → `Exceptions.kt`.
17**Gotchas:** Tool schemas are a compatibility surface on both ends — changes need assistant + provider updated together.
18
19## Key files
20- com/vayunmathur/sdk/openassistant/OpenAssistant.kt
21- com/vayunmathur/sdk/openassistant/Exceptions.kt
22
23## Verify (this module only)
24```
25./gradlew :sdk:openassistant:compileDevKotlin
26./gradlew :sdk:openassistant:lint
27```