feat(foundry): validate generic file and artifact lifecycle parity
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, python
- Domain
- backend-api-design, devtools
Research direction
Start by reading the native Foundry responses/06-files sample and comparing its file-list/read behavior with AgentKit's generic remote MCP configuration and protocol adapter response extraction. Validate file input and generated-output retrieval for the standalone image and supported hosted /invocations or /responses paths. Done means documenting supported boundaries and demonstrating real file lifecycle behavior, not just code execution.
Written by the indexing model from the issue text.
Description
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_OKand correct arithmetic. - Full file upload/read/search/artifact retrieval was not validated.
- Native
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. - This should not be solved with
foundry.filesor Foundry-specific schema in AgentKit core.
Acceptance criteria:
- Determine whether the native file sample requirements can be represented entirely as remote MCP tools.
- If yes, add an AgentKit fixture using only generic remote MCP/env/auth config.
- If no, propose and test the smallest provider-neutral session artifact/file ABI.
- Standalone AgentKit image can read or use a runtime-supplied file.
- Foundry hosted AgentKit image can use the equivalent file/artifact input through supported hosted-agent protocol/tooling.
- Generated artifacts or file outputs are retrievable or verifiably surfaced in a provider-neutral way.
- Validation distinguishes code-interpreter execution from file/artifact lifecycle behavior.
- Documentation clearly states what file features are supported, remote-MCP-only, or intentionally unsupported.
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.
- Dominant language
- Python
- Stars
- 7
- Forks
- 5
- Avg merge
- 3h 39m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from orka-agents/agentkit
-
fix(pydantic-ai): CI fails with newest pydantic-ai (unexpected 'history' argument)Possibly taken @gambtho claimed this 30 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
orka-agents/agentkit#77 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
orka-agents/agentkit#76 · 3 comments ·
-
area/build area/orka area/runtime blocked enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
orka-agents/agentkit#69 ·
-
area/build area/orka area/runtime enhancement
Difficulty 4/5 3-5 days Newbie friendliness 68/100
orka-agents/agentkit#68 ·
-
area/build enhancement testing
Difficulty 5/5 Over a week Newbie friendliness 42/100
orka-agents/agentkit#65 ·
All issues in orka-agents/agentkit
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 62/100
DaoCloud/DaoCloud-docs#7839 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
sav-oss-org/ptusa_main#1610 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug status/accepted type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/apm#4925 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sagemathinc/sagebrush#1701 ·
Maintainers usually reply within 1 day