What the agent receives
The agent receives text and attachments in one turn. Uploading does not start inference. Audio transcription runs only when you send. Video previews are still frames, not continuous video understanding. Providers without native document input receive a workspace reference; they can inspect the file with their tools.
Storage on Railway
Your local AR gateway streams uploads to the configured worker. Originals live beneath.ngram/attachments/messages/ in NGRAM_EXECUTION_WORKSPACE_DIR, separated by Entity. Set that workspace to your Railway persistent volume so files survive deployments.
No public image host or S3 bucket is required. The worker embeds supported image and document data directly in its model request. The browser receives opaque attachment IDs, never the worker’s credentials or filesystem paths. Saved chats keep those IDs and file metadata, so previews and downloads remain available while the worker retains the originals.