Known limits

View Source

These boundaries matter when deciding how to deploy ExAgent. Use Supported features for the capability map and the C7 frame matrix for durable admission. Each guide gives the configuration, results and failure handling.

BoundaryWhat to account for
Response citationsStock ReqLLM 1.31 drops Anthropic Messages document citations. Responses retains references without answer ranges because stock flattens their provenance. Gemini grounding normalizes web sources and can merge text parts. The adapter retains a Gemini answer range only with matching text evidence. Provider citation behavior awaits live qualification. Citation profiles
Job noticesA notice identifies a terminal job. A later query can find that the result has expired or the volatile store has restarted. Historical tagged user text has no recoverable provenance marker.
Durable background jobsWorkers use buffered Frame3 outside host transactions on a fixed PostgreSQL Repo and Oban prefix. Quota snoozes require a refusal certified before the first intent and replayable preparation. A lost first start, expired claim or ambiguous Server ACK requires host inspection. A lost attempt can spend its active-time reservation. Pruning retains one scoped ID per job for permanent exclusion even after clock rollback. The host owns version retention, authorization and cleanup. Recovery
Image tool resultsInline PNG, JPEG and WebP only. ExAgent checks the file signature. A valid header alone cannot establish that the complete image is decodable. The 1 MiB typed-content ceiling includes base64 and metadata. A tighter run reservation can omit the complete payload. Soft truncation drops media without a ResultStore reference. Volatile background jobs handle JSON results. Transport matrix
Chat historyThe page cap measures external-term bytes. An oversized page item occupies one omitted position. History and replay detach binary slices. Guarded Server checkpoints retain up to max_history_bytes of accepted UTF-8 text. Eviction, history replacement or the C7 checkpoint budget can remove display rows. Older protected snapshots and snapshots with unknown policy hide assistant rows without acceptance evidence. Canonical history and raw events can contain candidates. Hosts can persist successful outputs for a permanent transcript.
Chat streamsAnswer and narration each have a 1 MiB provisional draft limit. SSE cursors identify a bounded replay buffer on one owner. AI SDK replay needs the retained events from the start of the root turn. If that prefix expires or the owner changes, reconnect through a fresh history window. The host supplies its transport and approval controls.
Demand event deliveryEach reader has one outstanding notice until it acknowledges an applied cursor. Event replay lasts while the owner and its buffer retain those events. Transient tool data uses direct PubSub. An active unguarded root draft has a separate 1 MiB limit. Demand reads
Chat admissionA generated chat keeps the admission key in the URL until confirmed. If the receipt is unavailable or expired, reconcile with the host before submitting again. Process receipts
Agent admission refusalA claim with no model intent can already have run host callbacks. Reconcile before recovering the lease and resuming. Agent continuations
Continuation leaseA callback already in progress can outlive its writer. A renewal can commit even when its acknowledgement is lost. Read the stored horizon and recover after it elapses. Effect recovery
Tool effect recoveryThe host authorizes each retry or lookup. A write may have run even if its result is unavailable. A stable key allows deduplication when the external service supports it. Tool effects
Local provider quotaA suspended limiter applies expirations and terminal reports when it runs again. A run deadline bounds the caller's wait. Restart clears the local rolling window and cooldowns. Provider quotas
Live steeringEight outstanding text corrections per live run, at most 16 KiB each. Waiters need a process independent of the run and stream consumer. Pending corrections expire at termination. C7 and its workflow leaves exclude live steering.
Installation diagnosticsA fresh Mix VM sees configuration and the local catalogue. Runtime owners must be inspected in the running host. The endpoint's tool argument envelope and credential validity require separate qualification.
Continuation run pagesPages read scoped revision headers. Doctor's --check-store reads schema only. The read-only --check-run-headers scans journals and identifies the first missing header by namespace and logical ID. Run header migration
Provider capabilitiesA catalogue model ID does not certify Chat tools, streaming or native JSON output. Declare the actual compatible profile and verify your endpoint.
Anthropic Messages speedStock ReqLLM 1.31.0 lacks a request field for speed. ExAgent rejects it as an unknown option.
Bedrock ConverseOffline fixtures show stock ReqLLM 1.31.0 collapses duplicate envelope keys and distinct calls with the same name and input. Both Converse formats discard the server_tool_use marker. Tools and their durable continuations are unavailable. The HTTP 200 stop reasons model_context_window_exceeded and max_tokens both arrive as :length. Live qualification is pending. Profile
Tool argumentsThe mandatory arguments envelope gates the entire batch. Complete objects with the wrong shape can use the tool or output retry budget before any tool runs. Unparseable or truncated JSON, non-object values, observable duplicate keys and stock argument errors reject the model request immediately. Durable Composition and Flow leaves (Frame 10/11) reject any malformed envelope. Replay of exagent.raw_arguments/1 to hosted strict Responses, Anthropic Messages and Gemini was verified in loopback and awaits live G3 qualification. The only live verification used vllm:inkling-2-mini on llama.cpp. Argument envelope
Permission comparatorsCommand prefixes admit literal argv. The callable validates allowed options. URL comparisons cover the origin and path. The callable validates queries, DNS and redirects. File path comparisons are lexical and case-sensitive. The callable owns containment across symlinks and filesystem aliases. Argument rules
Retries and fallbackA retried request counts as one admitted request. Transport failures and timeouts are only retried on request, because the provider may have billed them. A portable history drops another model's reasoning and provider metadata.
Chat Completions thinking:chat_tools_v1 preserves decoded plain thinking in responses and omits it from later requests. Provider reasoning_details and opaque or signed thinking reject. If qualify reaches the 32-token cap without evidence of invalid tool arguments, truncated_envelope fails with :length_without_tool_evidence. Chat profiles
GeminiGemini signs only the first of parallel function calls; stock sends a documented placeholder signature on the others and on portable foreign calls, and does not replay call ids. Stock removes additionalProperties from declared schemas, so extra argument keys are caught only by the local envelope check. Explicit context caching (cachedContents) is not exposed. A streamed response keeps no thought-part boundaries: consecutive thought fragments become one thought, closed by a signed fragment, and stock drops an empty streamed thought together with its signature. Gemini delivers args already parsed, so a duplicate envelope key cannot be detected; the protobuf Struct the server serializes cannot carry one. Whether Gemini 2.5 always signs the first call of a thinking turn is unverified (the live qualification used Gemini 3.5 Flash Lite). Implicit caching is best-effort: a live three-turn run over a 1.5k-word prefix reported no cache reads.
Native outputOpenAI receives a non-strict schema. Anthropic receives a reduced, closed-object projection. Stock ReqLLM tool and native profiles require reference-free schemas. JSV validates the original schema locally. Stock responses may omit a refusal that accompanies valid JSON.
JSON Schema map outputThe root declares object type, and each encoded schema fits 65,536 bytes. Preview validation skips required and retains other constraints. Unions and output functions use tool mode. Structured output
Durable map outputsFrame 3 supports all three modes. Frame 10/11 leaves require an output tool and exclude map unions with free text. Their journal certifies the tool resolution.
Usage and costTokens retain normalized/reported quality and cost is estimated. Unknown is not zero. A retrospective threshold cannot bound an invoice for work already in flight.
Shared provider quotaThe PostgreSQL adapter requires the same scope, keys and limits on all participants. Admission makes one database decision per attempt. An orphan retains concurrency until lease expiry and a conservative rolling charge. Repairing missing quota columns can extend waits when original values are lost. Quota covers participating calls and token estimates can differ from provider billing. The host owns physical cleanup. Shared quota
MemoryHost retention limits act after stock decoding. Upstream queues/materialization and caller-retained history have their own allocations.
Prompt attachmentsBase64 data and metadata count toward history. The host checks file type and decoded size before building the prompt. Attachment boundaries
Provider file referencesThe host manages upload, permission, size, expiry and cleanup for every credential scope that uses the file. ExAgent bounds the retained metadata. Anthropic G3 exercised hosted PDF, plain text and PNG. Gemini PDF references have loopback evidence. Gemini · Anthropic
Media operationsStock calls are buffered. Byte and item limits bound retained output after decoding. Tool artifacts expire under the configured store's TTL. Unit coverage reflects observed quantities. Provider billing can use other meters. TTS-1 can return open-ended WAV sizes that strict file decoders require the host to finalize. Vertex Mistral OCR has loopback evidence. Media qualification
Embeddings and rerankStock calls are buffered. Each call is one separately admitted batch of at most 1,000 inputs. Retention bounds apply after decoding. Usage and pricing depend on the public stock result. Tool artifacts use the configured store's scope, limits and TTL. Embeddings and rerank
Decision classifiersLive guards require a run scope. C7 admits classifier calls through normal tools. A Flow selector consumes a label prepared by its host. ExAgent cassettes cover chat requests. OpenAI and Gemini decisions have loopback evidence. Decision classifiers
Automatic approval reviewThe host runs inference and commits the decision separately. Unconfirmed inference leaves the approval pending for explicit resolution. Automatic review
Closing request near a usage limitThe run must still have an admissible request. Durable Composition and Flow reject the closing projection. Closing request
Audio attachmentsGemini uses one inline file part per clip and checks the declared MIME and 1 MiB decoded file limit. The host verifies format and duration, and applies retention when assembling history. Retained clips can be resent after restoring the conversation. The real Gemini API qualification used one WAV case. Audio input
Long-term notesA memory tool return can enter conversation history and continuation records. Explicit preloads supply system instructions and can enter durable model-request evidence. Scope these stores to the same audience as the notes. Long-term memory
Long runsSettled receipts grow with admissions, including partial receipts after a child owner dies. Their usage slices own their backing bytes. Ordinary totals reuse per-ancestor aggregates. Order-sensitive prices, explicit exports and public chronological message lists can require full traversals. Measured resource usage
Plan and workspaceComposition and Flow certify the built-in checklist reminder. Active ClearToolResults edits and arbitrary message projections are rejected. A tool-input guardrail or a before_tool_call/3 hook restricts checklist review to approval or denial. Memory and ResultStore load their record before applying the file limit. The optional POSIX directory backend materializes one directory's names before checking its scan budget. It requires a host-controlled tree and cooperating writers. A path swap by an uncooperative process between lstat and access is a TOCTOU risk. An interrupted writer can leave a stale root lock or temporary file. Replacement quotas use the resolved file size. On case-insensitive filesystems (verified on a Linux casefold tmpfs) differently cased names alias one file. Workspace limits
Result referencesThe full callable return must fit its existing reservation. ETS releases content on eviction, expiry or restart. A durable preview can outlive the bytes. Child terminal outputs and externally supplied deferrals retain their own persistence guarantees.
Context editingSigned prefixes, pinned results and the active turn can exceed the model window. Opt-in overflow recovery admits one smaller request per live run, before any stream content fragment. Durable frames reject the policy. Recovery contract
Prefix-bound reasoningThe fingerprint covers the request ExAgent hands to stock ReqLLM. Use the same provider account and stable attachment content for replay. Legacy signed blocks without a fingerprint require a reset. GPT-6.2 prefix removal has loopback evidence. Replay contract
PostgreSQL result retentionEach fetch loads one full result. FIFO quotas cover stored content bytes and rows per host scope. The number of scopes, PostgreSQL overhead, backups and access to private content are host responsibilities. Reads enforce TTL immediately. Physical reclamation of abandoned scopes needs a scheduled sweep and normal database vacuum. Admission requires READ COMMITTED.
PostgreSQL checkpoint storageSegmented writes reuse immutable bytes within a document. Reads and C7 validation still assemble the full JSON. PostgreSQL retains obsolete rows and TOAST versions for MVCC. Host vacuum settings govern space reuse. Load measurements
PostgreSQL upgradesSchema changes acquire PostgreSQL DDL locks. Rolling back application binaries requires a reader for every format already present. Finalizing a write level can retire that rollback path. Upgrade guide
StreamingDeltas are provisional. Every enumeration starts work. A suspended continuation remains caller-owned until resumed or halted. Child events are progress. The terminal closes the root.
AG-UIOne root attempt per encoder. Replay requires the start of the attempt in the same emitter and a fresh client projection. The encoder's state document holds the current step. The staged text is provisional until the confirmed terminal result. Phoenix integration
Model finish evidenceReqLLM's public decoded response or chunk metadata supplies the finish. Responses and Gemini also expose provider status. A buffered route that loses the raw finish in stock carries only its normalized reason. Model terminals
ReqLLM crash reportsExAgent orders forced stream shutdown to avoid stock ReqLLM 1.31 reports caused by killing the producer. Independent backend crashes, explicit dependency logging and host diagnostics can still include request data.
Scripted streamsTest scripts exercise normalized model events in process. A scripted timeout supplies a provider error immediately. Transport timing and wire decoding require adapter tests. Testing guide
Stream cassettesEach capture is capped at 4,096 provisional events and 1 MiB of event JSON. Independent roots with identical requests need distinct labels. Re-record legacy duplicate fingerprints. Use scripted streams for failure and timing tests. Testing guide
Structured previewsUp to 32 changes per request, using at most 64 KiB of JSON and 4,096 fragments. A smaller payload limit also caps previews. Adapters delivering only a terminal have no intermediate fields.
Structured output projectionsTerminal events and visible history check JSON bytes before publication. Custom Jason encoders and Ecto type dump callbacks run as trusted host code and can allocate work data before returning.
Terminal observersAbandoning a stream before its terminal skips the observer. Process loss can interrupt host observation or persistence. Durable recovery never replays an observer for a historical completed attempt.
C7 attempt linksLinking needs a recording span during the pause and room for its identifiers in the checkpoint. The target of a link can be missing from the trace backend after export drops or retention expiry. Traced attempts
GuardrailsOutput checks govern final delivery. A stream guard reviews disjoint windows of provisional answer and narration. Whole-value rules belong at final delivery. Stream timing includes callback speed and backpressure. Frame3 tool-output guards with a raw receipt and result hooks withhold a result whose checked value could not be recovered. Composition and Flow certify both tool stages. C7 guardrails
CancellationFramework-owned tasks can close; arbitrary callbacks and external effects cannot be rolled back.
CheckpointsConfirmed data is durable only according to the Store. ETS is ephemeral, and failed saves block mutations until storage retry succeeds.
Erasure by subjectErasure covers one scoped Server ID and the stores and keys supplied by the host. C7 keeps uncertain evidence, including closed records with unconfirmed model effects. The host supplies remote owner PIDs, stops other writers and handles copies outside ExAgent, including backups. The tombstone lasts as long as the Store retains it. Erasure guide
Snapshot header pagesPages cover standalone snapshots and bound row count. ID lengths determine header bytes. Concurrent mutations are visible between pages. Unmanaged ETS tables support only the full inventory. Store guide
Custom Store contract testsUse backend tests for adapter-specific expiry and failure recovery. The bundled adapters have separate suites for atomic C7. Store guide
Conversation evalsScenarios script text prompts for an agent and decisions on its root tools. Model-driven users and workflow branch reviews require host code. The attempt timeout covers all turns and can interrupt an effect. Replay executes tools against the host's test dependencies.
Eval baseline comparisonHosts version custom scoring, opaque case setup and changes to reviewer services behind stable model names. Pairing needs a grade or target error on each side. Testing guide
Terminal regression casesC7 summaries and content-free Online samples require a separately authorized prompt. The host reconstructs model requests in a test harness to record a cassette. Script model transport failures with TestModel. Testing guide
Terminal regression casesAutomatic C7 capture needs a settled root turn with retained model replies and replayable tool returns. Script deferral resolutions, missing bodies and model transport failures with TestModel. C7 summaries and content-free Online samples need a separately authorized prompt. Testing guide
Online evaluationA full queue sheds samples. Local deduplication covers active work and the configured number of recent results. Restart can lose pending offers. The first durable job fixes the evaluation's deadline, and the receipt or tombstone continues to reserve its identity. Process loss after the export claim can interrupt dispatch. Collector receipt belongs to the host's exporter. Online evaluation
Strict tool fixturesSubstitution covers framework-dispatched tool callbacks. Host hooks, loaders and evaluators can perform IO. Supply test bindings and a scoped Store for durable runs and pass the strict fixture again on resume.
External effectsTimeouts, owner loss or lost acknowledgement can leave outcomes uncertain. Recovery requires host reconciliation; approval is not universal exactly-once execution. A cancelled external deferral stays uncertain until its result is supplied.
Supervised recovery and drainThe host resumes ready conversations. An opted-in Oban worker resumes eligible jobs on redelivery. A discarded delivery, held quota or missing C7 record requires operator recovery. A drain covers local conversation owners and waits for the current turn's boundary. Jobs runbook · Drain
Isolated codeThe adapter owns isolation. Docker shares the host kernel. Destruction, eviction, expiry or restart can remove a local receipt and allow the ID to be reserved again. Use fresh IDs. A missing receipt leaves C7 uncertainty open. Sandbox threat model
Tool programsCode mode runs a bounded sequence with JSON bindings. The program uses ordinary live tool admission. A stop can leave earlier effects completed. C7 admission requires a definition without code mode. Program guide
Tool task heapThe BEAM checks max_heap_bytes at garbage collection and includes shared binaries. The task can temporarily exceed the threshold. ETS, native allocations and processes launched by a tool have separate resource lifecycles. Execution controls
Guarded conversationsFailed live turns keep their evidence in the host's partial result. A snapshot from an earlier 3.0 development build may already contain a rejected turn. Restore known accepted history before continuing such a conversation.
Concurrent snapshot writersETS and PostgreSQL detect stale saves after execution. A custom Store without snapshot CAS can overwrite a newer conversation. Keep a single owner for those Stores.
Cold conversation activationThe manager bounds factory preparation and waiting callers. Store restore can hold a cold slot until the start settles or its supervising partition exits. A new key at capacity receives {:error, {:start_failed, :activation_capacity}}. Runtime guide
Turn admissionA receipt confirms a reserved run or a settled queued cancellation. Owner loss or a stop with unconfirmed cancellations can leave a queued turn admitted and require host reconciliation. Snapshot-only owners forget keyed receipts on restart. A missing process-local receipt returns :receipt_not_durable. Expired keys are refused. A full window shared with Jobs notices refuses fresh keys. Retry windows
ReceiptsA record keeps 1024 receipts per run and, across runs, only the last receipt of the 64 most recent earlier runs: a lost reply from an earlier run returns :conflict, and IDs older than that window are not checked for reuse.
Model-directed handoffRoot C7 accepts static catalogs up to 16 destination levels. Composition, Flow, delegated continuations, persisted Session chat and custom tool rehydration remain unsupported. Unconfirmed batch controls can block a transfer. The bounded view carries text, authorized images and authorized current audio. Clips can be omitted by the view budget, and C7 retains admitted bytes. Document attachments and native provider state stay in host history. Handoff guide
CoordinationTrusted definitions and versioned bindings constrain branches. Flow has bounded flat branch/concurrency and journal/result limits. Fail-fast cannot undo sibling effects. A durable step cannot use a capability that rewrites its requests (instructions, compaction, tool search). Certified admission refusals and pure output-tool vetoes can close branches. A lost model response requires explicit reconciliation or workflow closure. Unconfirmed tools and host callbacks prevent both closure and pruning. Workflow recovery
Flow manifestsA manifest holds up to 32 items and 64 KiB of JSON. The journal retains every item input. One template and one set of step options apply to all items. Map Flow
Durable tool batchesThe checkpoint cap covers the journal and capacity to close every admitted call. The per-result slot uses the step's payload and history limits and is capped at 64 KiB. Workflow tool batches
Tenant budgetsThe shared account gates model attempts, Media, Embeddings and tools with a declared quote. Actual cost can exceed the quote. Pending holds count across windows and require reconciliation. Use a separate budget pool to bound contention with C7 checkpoints. The host owns accounting for other IO. Per-turn usage limits are retrospective. Budget setup
MCPThe HTTP client uses an application-owned HTTP/1 Finch pool or a direct HTTP/1.1 connection per exchange with a header provider. Progress and elicitation use ephemeral POST streams subject to the client's SSE limits. The server publishes static text resources and argument-free prompts. The stock client leaves elicitation disabled. An unacknowledged tool can have executed. call_tool/3 reports :result_unconfirmed or {:result_unconfirmed, cause}. Reconcile using independent evidence.
Stateless MCPThe 2026-07-28 Plug serves synchronous JSON calls. Its execution concurrency limit applies per replica. The host handles token validation. Opt-in :mrtr_approval shares single-use receipts across replicas, with 256 live receipts per principal and 1,024 per endpoint. Server-side input is limited to approval forms. Task publication and subscriptions are outside the server profile. Stateless HTTP · Approval receipts
MCP Finch telemetryNative [:finch, step, phase] events for request, queue, send and recv carry the request with its static headers. The recv stop event includes response headers and trailers. The request stop event carries an opaque accumulator reference. Use Mint via :headers_provider for credentials, including tokens sent in custom headers. Transport and credentials
MCP OAuthThe host owns OAuth discovery, token acquisition and verification. Retry a confirmed authorization rejection at most once after updating the credential source. A challenge during a control POST or task poll leaves the original tool outcome uncertain. Authorization challenges
MCP TasksThe opt-in HTTP client polls acknowledged tasks by server ID. Frame3 stores the ID in a deferral. Persisted workflow leaves use synchronous calls. A lost creation receipt or expired task leaves the original result uncertain and calls for independent evidence. Task input exchange and subscriptions are outside this profile. Reconcile a missing task
MCP catalogue policyEach replica evaluates the host's grants on each catalogue request. Replica agreement depends on the host's source of grants. Revocation applies to subsequent admissions. Catalogue policy
MCP catalogue freshnessThe client consumes change notifications over stdio and active HTTP response streams. Outside those streams, declarations can remain cached until the earliest page TTL, a credential change or a confirmed protocol rejection. Catalogue caching
Trace ingestionHTTP success and exporter callbacks do not prove durable acceptance of every span. Sampling, saturation and partial rejection can lose data.
Event exportEach key selected by :metadata_keys exports its entire value. Supply scalar labels or sanitize nested values in the host before export.
LiveDashboard refreshRuntime and Store reads share a one-second deadline. The Usage tab samples at most 500 live conversations. A refresh can show unknown values or a lower bound when some owners do not answer in time. Runtime guide
Durable job waitsA wait observes committed data from a separate checkout. A lock or pool queue can consume the budget before the first read, yielding {:error, :timeout}.
Direct OTLP HTTPNative exporter timeout/shutdown can retain profiles, atoms or sockets. Use an application-owned isolated VM/Collector when bounded cleanup is required.
GenAI metricsNative and ReqLLM bridge histograms require a host-owned experimental 0.6 metric SDK and reader. The histograms leave out unknown token totals.
GenAI trace contentThe Erlang span API accepts scalars and homogeneous arrays. Opt-in content uses bounded redacted JSON under exagent.content.*.
Dependency warningsStock TOML/WebSockex/gproc can emit diagnostics. Review your graph; a functional integration does not imply warning-free dependencies.

For the corresponding application handling, see Models, Runtime, Durability, Coordination, MCP and Observability.