# Agent 365 Tooling Docs

`@cuylabs/agent-a365-tooling` connects Microsoft Agent 365 tooling discovery to
agent-core's turn-scoped tool system.

Read these files in this order:

1. [architecture.md](./architecture.md)
   Explains the four-layer design and where this package fits.
2. [agent-core-mcp.md](./agent-core-mcp.md)
   Explains what agent-core exposes, what this package uses, and how this
   differs from normal static MCP configuration.
3. [microsoft-a365-tooling.md](./microsoft-a365-tooling.md)
   Explains what Microsoft's Agent 365 tooling SDK does and which host inputs
   it needs.
4. [lifecycle-and-limits.md](./lifecycle-and-limits.md)
   Explains per-turn lifecycle, cleanup, latency, filtering, and v0 limits.

The short version:

- agent-core owns the platform-neutral runtime, model loop, tool execution, and
  MCP client manager.
- `channel-m365-agent-core` owns M365 Activity ingress and ambient `TurnContext`
  binding.
- Microsoft's Agent 365 tooling SDK owns A365 MCP server discovery and token
  attachment.
- this package turns those discovered A365 MCP servers into agent-core
  turn-scoped MCP tools.
