A minimal omadia agent plugin. It registers one native tool, say_hello,
that returns a greeting. Use it as the skeleton for your own agent.
| File | Purpose |
|---|---|
manifest.yaml |
Identity, install form, declared tools (capabilities), permissions, skills. |
src/plugin.ts |
Exports activate(ctx); registers the say_hello tool. |
skills/system-prompt.md |
Prompt-partial bundled into the ZIP and loaded at activation. |
assets/icon.svg |
Store icon. |
npm install # once, from the repo root
npm run build -w examples/agent-plugin
# → examples/agent-plugin/out/acme-agent-hello-0.1.0.zipUpload that ZIP in the omadia admin UI (Store → Upload).
- Rename
@acme/agent-hello→ your reverse-DNS id inpackage.jsonandmanifest.yaml(identity.id), and update theauthorsblock. - Replace the
say_hellotool insrc/plugin.tswith your logic, and keep the matchingcapabilitiesentry inmanifest.yamlin sync. - Need network access? Add
permissions.network.outboundand call throughctx.http(only then isctx.httpprovisioned).
See docs/en/02-build-an-agent-plugin.md
(DE) for the full walkthrough.