Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,21 @@ Keep comments short and to the point:

- Use tools to gather information rather than relying on assumptions
- Examine existing code before making changes
- Grep for existing plumbing before adding a mechanism, and before calling
something unavailable
- Validate all changes before considering tasks complete
- Ask clarifying questions only when truly necessary
- When possible, call independent tools concurrently — it's faster

### Client and Session Lifetimes

- Provider clients are built per team load: once per session in `serve api`,
once at startup in `serve a2a` and `serve mcp`
- Anything that must vary per conversation belongs in a request middleware,
not in client construction
- The session ID is on the request context via
`httpclient.SessionIDFromContext`; `chatgptAuthMiddleware` shows the shape

## Validation Requirements

Before marking work as complete:
Expand All @@ -48,6 +59,10 @@ Before marking work as complete:

# Development Commands

Canonical setup, commands and style guide:
[the contributing guide](docs/community/contributing/index.md). The list below
is a quick reference.

## Build and Development

- `task build` — Build the application binary (outputs to `./bin/docker-agent`)
Expand Down