Known limits
View SourceThese 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.
| Boundary | What to account for |
|---|---|
| Response citations | Stock 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 notices | A 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 jobs | Workers 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 results | Inline 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 history | The 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 streams | Answer 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 delivery | Each 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 admission | A 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 refusal | A claim with no model intent can already have run host callbacks. Reconcile before recovering the lease and resuming. Agent continuations |
| Continuation lease | A 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 recovery | The 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 quota | A 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 steering | Eight 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 diagnostics | A 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 pages | Pages 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 capabilities | A catalogue model ID does not certify Chat tools, streaming or native JSON output. Declare the actual compatible profile and verify your endpoint. |
| Anthropic Messages speed | Stock ReqLLM 1.31.0 lacks a request field for speed. ExAgent rejects it as an unknown option. |
| Bedrock Converse | Offline 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 arguments | The 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 comparators | Command 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 fallback | A 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 |
| Gemini | Gemini 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 output | OpenAI 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 output | The 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 outputs | Frame 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 cost | Tokens 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 quota | The 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 |
| Memory | Host retention limits act after stock decoding. Upstream queues/materialization and caller-retained history have their own allocations. |
| Prompt attachments | Base64 data and metadata count toward history. The host checks file type and decoded size before building the prompt. Attachment boundaries |
| Provider file references | The 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 operations | Stock 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 rerank | Stock 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 classifiers | Live 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 review | The host runs inference and commits the decision separately. Unconfirmed inference leaves the approval pending for explicit resolution. Automatic review |
| Closing request near a usage limit | The run must still have an admissible request. Durable Composition and Flow reject the closing projection. Closing request |
| Audio attachments | Gemini 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 notes | A 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 runs | Settled 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 workspace | Composition 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 references | The 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 editing | Signed 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 reasoning | The 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 retention | Each 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 storage | Segmented 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 upgrades | Schema 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 |
| Streaming | Deltas 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-UI | One 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 evidence | ReqLLM'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 reports | ExAgent 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 streams | Test 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 cassettes | Each 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 previews | Up 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 projections | Terminal 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 observers | Abandoning 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 links | Linking 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 |
| Guardrails | Output 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 |
| Cancellation | Framework-owned tasks can close; arbitrary callbacks and external effects cannot be rolled back. |
| Checkpoints | Confirmed data is durable only according to the Store. ETS is ephemeral, and failed saves block mutations until storage retry succeeds. |
| Erasure by subject | Erasure 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 pages | Pages 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 tests | Use backend tests for adapter-specific expiry and failure recovery. The bundled adapters have separate suites for atomic C7. Store guide |
| Conversation evals | Scenarios 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 comparison | Hosts 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 cases | C7 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 cases | Automatic 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 evaluation | A 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 fixtures | Substitution 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 effects | Timeouts, 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 drain | The 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 code | The 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 programs | Code 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 heap | The 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 conversations | Failed 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 writers | ETS 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 activation | The 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 admission | A 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 |
| Receipts | A 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 handoff | Root 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 |
| Coordination | Trusted 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 manifests | A 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 batches | The 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 budgets | The 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 |
| MCP | The 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 MCP | The 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 telemetry | Native [: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 OAuth | The 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 Tasks | The 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 policy | Each 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 freshness | The 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 ingestion | HTTP success and exporter callbacks do not prove durable acceptance of every span. Sampling, saturation and partial rejection can lose data. |
| Event export | Each key selected by :metadata_keys exports its entire value. Supply scalar labels or sanitize nested values in the host before export. |
| LiveDashboard refresh | Runtime 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 waits | A 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 HTTP | Native exporter timeout/shutdown can retain profiles, atoms or sockets. Use an application-owned isolated VM/Collector when bounded cleanup is required. |
| GenAI metrics | Native and ReqLLM bridge histograms require a host-owned experimental 0.6 metric SDK and reader. The histograms leave out unknown token totals. |
| GenAI trace content | The Erlang span API accepts scalars and homogeneous arrays. Opt-in content uses bounded redacted JSON under exagent.content.*. |
| Dependency warnings | Stock 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.