# @assemblyline-agents/teams

Official Assembly Line Microsoft Teams channel and Bot Framework connection plugin.

The `teams` channel profile receives Bot Framework activities, handles Azure AD authentication, delivers replies, and contributes reviewed rich-interaction tools.

The MD-first `teams` channel profile transcribes inbound audio through
OpenRouter by default. Override or disable it with `channels.teams.audio`.

Behavior notes:

- Mention stripping removes only `<at>…</at>` wrappers; everything else the
  user typed (`<project-name>`, `Array<string>`, pasted HTML) reaches the
  agent unchanged.
- Invoke activities (including Adaptive Card `Action.Execute`) are
  acknowledged with an HTTP 200 invoke-response envelope while the agent turn
  runs asynchronously, so Teams shows no error to the user.
- Bot Framework signing keys are cached for 24 hours, and a token with an
  unknown `kid` forces one shared JWKS refetch, so key rotations recover
  immediately instead of failing until cache expiry.

## Install

```sh
assembly-line add teams agent
```

## Part of Assembly Line

This package is part of [Assembly Line](https://github.com/jasonbadeaux/assembly-line), a vendor-neutral, filesystem-first framework for durable AI agents. See the developer documentation in [docs/developers/](https://github.com/jasonbadeaux/assembly-line/tree/main/docs/developers) for setup, agent authoring, and deployment guides.

## License

MIT
