This was generated by AI during triage.
Agent Brief
Category: enhancement
Summary: Prove full session file and artifact lifecycle parity for AgentKit-built images.
Current behavior:
AgentKit has validated Foundry Toolbox code execution through a remote MCP tool, but it has not proven the full file lifecycle expected by native Foundry hosted-agent samples. The current Foundry sample gallery includes responses/06-files, which combines local file-oriented tools with a Foundry Toolbox MCP endpoint. AgentKit currently models tools as MCP servers and does not have a generic session artifact/file ABI. The parity work only proved code-interpreter arithmetic, not upload/read/search/generated artifact lifecycle.
Desired behavior:
AgentKit should support or explicitly scope the file/artifact parity story generically. Prefer representing file and code services as remote MCP tools first. Only add a generic session artifact ABI if remote MCP cannot cover required scenarios.
The validation should prove parity across:
- standalone AgentKit image
- Foundry hosted
/invocations, if applicable
- Foundry hosted
/responses
The test should exercise real file lifecycle behavior, not just code execution.
Key interfaces:
- Generic remote MCP tool config:
type: mcp, transport: streamable-http, urlEnv, auth, and non-secret headers.
- Generic env declarations for file/tool endpoints and session paths.
- Potential future generic session artifact shape, if MCP is insufficient.
- Protocol adapter response extraction for generated artifacts/files, if artifacts are returned through protocol metadata rather than final text.
Investigation notes:
- Code interpreter through Foundry Toolbox already passed standalone and hosted with
CODE_SMOKE_OK and correct arithmetic.
- Full file upload/read/search/artifact retrieval was not validated.
- Native
responses/06-files uses file-list/read behavior and a Toolbox MCP endpoint; this needs an AgentKit equivalent rather than a one-off native MAF sample run.
- This should not be solved with
foundry.files or Foundry-specific schema in AgentKit core.
Acceptance criteria:
Out of scope:
- Unsafe local code execution by default.
- Foundry-specific file schema in AgentKit core.
- Revalidating generic remote MCP auth/header behavior already covered by existing tests except where needed for file tools.
Agent Brief
Category: enhancement
Summary: Prove full session file and artifact lifecycle parity for AgentKit-built images.
Current behavior:
AgentKit has validated Foundry Toolbox code execution through a remote MCP tool, but it has not proven the full file lifecycle expected by native Foundry hosted-agent samples. The current Foundry sample gallery includes
responses/06-files, which combines local file-oriented tools with a Foundry Toolbox MCP endpoint. AgentKit currently models tools as MCP servers and does not have a generic session artifact/file ABI. The parity work only proved code-interpreter arithmetic, not upload/read/search/generated artifact lifecycle.Desired behavior:
AgentKit should support or explicitly scope the file/artifact parity story generically. Prefer representing file and code services as remote MCP tools first. Only add a generic session artifact ABI if remote MCP cannot cover required scenarios.
The validation should prove parity across:
/invocations, if applicable/responsesThe test should exercise real file lifecycle behavior, not just code execution.
Key interfaces:
type: mcp,transport: streamable-http,urlEnv,auth, and non-secret headers.Investigation notes:
CODE_SMOKE_OKand correct arithmetic.responses/06-filesuses file-list/read behavior and a Toolbox MCP endpoint; this needs an AgentKit equivalent rather than a one-off native MAF sample run.foundry.filesor Foundry-specific schema in AgentKit core.Acceptance criteria:
Out of scope: