a23one

agentgraft

Changelog

Per-Turn Model Override and Unattended Agent Dashboard Separation

Override an agent's model for a single turn via SDK and server API, and give unattended agents their own dedicated dashboard section.

The SDK and server API now support overriding agent's model for single turn, giving hosts fine-grained control over which model handles specific request. In dashboard, unattended agents are now separated from interactive agents into their own section, making it easier to distinguish headless from conversational agents at glance.

  • added

    Added the ability to override an agent's model for a single turn via the SDK and server API.

  • changed

    Separated unattended agents from interactive agents in the dashboard, with their own section.

Memory Management, Image Attachments, and Message Search

New memory privacy and editing controls, image attachments, conversation-scoped search, and embeddable memories panel — all in one SDK/server feature drop.

A new `forget all memories` endpoint and SDK method lets visitors wipe their memories entirely for privacy. `update_memory` now supports partial updates with new `valid_at` and timeline parameters. Image attachments can be uploaded, deleted, and retrieved via SDK and server API. Messages can be searched within specific conversations, filtered by conversation IDs. A standalone memories panel is now embeddable by hosts, enabling full memory management without widget credentials.

  • added

    Added a 'forget all memories' privacy endpoint and SDK method to wipe a visitor's memories.

  • changed

    Changed update_memory to support partial updates with new valid_at and timeline parameters.

  • added

    Added image attachment upload, deletion, and retrieval to the SDK and server API.

  • added

    Added the ability to search messages within specific conversations, filtering results by conversation IDs.

  • added

    Added a standalone memories panel that hosts can embed, allowing full memory management without widget credentials.

Verified Accounts, Encrypted Data, and Reliable Turns

Email-verified sign-up and password reset, encryption at rest, billing-for-turn accuracy, and new AsyncClient — one hardening release across accounts, security, memory, and turns

Accounts now need email verification before creation, gain password reset flow, and receive workspace invites as email links redeemable only by invited address; production email moves to Spacemail (SMTP credentials at boot). User content in shared cache is encrypted at rest, and fact-event nuance/context/reflective fields are encrypted per visitor. Webhook signatures move to domain-separated `X-AgentGraft-Signature-V2` header and visitor tokens now support v2 expiry. In memory system, fact strength never lowers on mention, curated facts are protected under row locks, explicit edits replace or clear affects, recall prefetch applies distance cutoff, and Dreamer reads no longer count toward decay. Turns are billed from run usage (failed turns charged for consumed resources, `model_used` recorded), conversation locks renew via heartbeat and cap at 30 minutes, removed-agent conversations route to entry point, reserved tool names are refused, and `turn_key` is supported across streaming and non-streaming paths. SDK gains a `AsyncClient` with typed error hierarchy, and `turn_key` handling on `stream_chat`/`chat` with lazy stream cut-off raising.

  • changed

    Fact strength never lowers on mention; curated facts are protected under row locks.

  • added

    Webhook signatures moved to domain-separated X-AgentGraft-Signature-V2 header; legacy still accepted.

  • added

    Expiring visitor tokens (v2.<expiry>.<hex>) were added; legacy non-expiring HMAC accepted.

  • added

    AsyncClient was added with same API as Client, plus typed error hierarchy.

  • added

    turn_key support was added to stream_chat and chat; lazy event stream raises on cut-off.

  • changed

    Workspace invites are now delivered via email links and accepted only by the invited address.

  • changed

    Production email switched to Spacemail; SMTP credentials are required at boot.

  • added

    User content in shared cache is now encrypted at rest with a server-key sealed layer.

  • added

    Fact-event nuance, context-note, and reflective prompt fields are encrypted per visitor.

  • added

    Email-verified sign-up was added; accounts are created only after confirmation link is opened.

  • added

    Password reset flow was added for accounts.

  • changed

    Fact affects replace or clear on explicit edit; restatement adds only affect event lacks.

  • changed

    Recall prefetch applies distance cutoff; Dreamer reads no longer count toward decay.

  • changed

    Turns are billed from run usage; failed turns charged for consumed resources; model_used recorded.

  • changed

    Conversation lock renews via heartbeat, released on stream close, capped at 30 minutes.

  • changed

    Removed-agent conversations move to entry point; reserved tool names refused; turn_key dedup added.

  • changed

    turn_key support was added to non-streaming send/chat paths.

Unattended Turn Deadlines and Retry Safety

send_message now supports turn_key for safe retries, budget_s/reply_s deadlines for unattended turns, and APIError.code for server error codes

Unattended turns are now deadline-driven and retry-safe. send_message accepts a turn_key so retried sends never run same turn twice, with key mirrored on ToolCall so hosts can attribute tool calls to specific turns. Unattended turns can be capped with budget_s and reply_s deadlines, and replies stopped early are marked cut_short. A new APIError.code property exposes server error codes such as turn_unfinished. non-streaming send timeout now scales with configured deadline instead of fixed 630 seconds.

  • added

    Added a turn_key option to send_message, so retried sends never run the same turn twice.

  • added

    Added budget_s and reply_s deadline options for unattended turns; replies are marked cut_short when stopped.

  • added

    Added an APIError.code property that exposes server error codes such as turn_unfinished.

  • added

    Added a turn_key field to ToolCall so hosts can identify which turn each tool call belongs to.

  • changed

    Changed the non-streaming send timeout to scale with the configured deadline instead of a fixed 630 seconds.

  • fixed

    Fixed keyed turn resends with images so they return the saved reply instead of refusing.

  • fixed

    Fixed tool-call deadlines so calls wait only for the turn's remaining tool time.

Webhook Tool Calls Gain Conversation Context

Webhook tool calls now include a `conversation_id` in signed request body, mirrored by new `ToolCall.lang` attribute in SDK

Webhook tool calls now include a `conversation_id` field in signed request body, identifying relevant conversation. SDK exposes this as a `conversation_id` attribute on `ToolCall.lang` for host tool-call hooks; it is `None` for private chats or older servers. SDK version is bumped to 0.16.0 and public documentation updated to describe new field.

  • added

    Webhook tool calls now include a conversation_id field in the signed request body to identify the relevant conversation.

  • added

    The SDK ToolCall.lang now exposes a conversation_id attribute for host tool-call hooks; it is None for private chats or older servers.

  • changed

    The SDK version was bumped from 0.15.0 to 0.16.0, and public documentation was updated to describe the new field.

Agent Identity and Memory Control

Agents can now define their own identity and opt out of long-term memory, with dashboard reflecting both new states

Agents can now override graft-level identity with their own via `identity=` on `@ag.agent()`. They can also opt out of long-term memory entirely with `memory=False`, which disables memory tools, prompts, and background processing. Dashboard agent cards and detail pages have been updated to show each agent's own identity and memory-off status.

  • added

    Agents could now define their own identity via identity= on @ag.agent(), overriding the graft-level identity.

  • added

    Agents could now opt out of long-term memory with memory=False, which disabled memory tools, prompts, and background processing.

  • changed

    Dashboard agent cards and detail pages now showed the agent's own identity and memory-off status.

SDK v0.14.0: Server-Side Agents and Usage Tracking

Run agents from your own server with API-key authentication, track allowance and actor spend, and mark agents unattended

SDK v0.14.0 adds server-side calls, letting hosts run agents from their own server using API-key authentication. New `get_usage()` reads shared allowance quota and actor spend, with `delete_user_data()` for erasure, backed by a `/widget/usage/` endpoint returning allowance and per-actor spend as USD strings. A new `@ag.agent(unattended=True)` marks headless agents, whose replies skip suggested follow-ups and auto-title generation; dashboard and admin surfaces now show an "unattended" indicator for such agents.

  • added

    SDK v0.14.0 added server-side calls, letting hosts run agents from their own server with API-key authentication.

  • added

    Added get_usage() to read shared allowance quota and actor spend, plus delete_user_data().

  • added

    New @ag.agent(unattended=True) marks headless agents; replies get no suggested follow-ups and no auto-title.

  • added

    Added /widget/usage/ endpoint returning allowance and per-actor spend as USD strings.

  • added

    Dashboard and admin show an 'unattended' indicator for such agents.

Aura-2 Audio, Avatar Performance & Registration Cleanup

Read-aloud audio reliability, leaner idle avatar rendering, and removal of legacy signup URL

Long Aura-2 read-aloud replies are no longer cut short — speech is now paced within Deepgram limits. avatar is redrawn only when it moves, cutting idle CPU/GPU usage. legacy `/accounts/signup/` URL has been removed; registration is now only via `/accounts/register/`.

  • fixed

    Fixed Aura-2 read-aloud audio being cut short on long replies by pacing speech within Deepgram limits.

  • removed

    Removed the legacy /accounts/signup/ URL; registration is now only available via /accounts/register/.

  • changed

    Reduced idle CPU/GPU usage by redrawing the avatar only when it moves.

Self-Service Registration

New self-service registration endpoint with legacy signup redirect and cleanup

Added new self-service registration endpoint at `/accounts/register/`, replacing previous signup flow. legacy `/accounts/signup/` URL now redirects to new registration page, preserving query strings. Removed unused admin CRUD API endpoints for grafts, tools, and agents, and renamed form CSS classes from `signup-*` to `create-*` for workspace and graft creation pages.

  • added

    Added a new self-service registration endpoint at /accounts/register/.

  • changed

    Redirected the old /accounts/signup/ URL to the new registration page, preserving query strings.

  • removed

    Removed the unused admin CRUD API endpoints for grafts, tools, and agents.

  • changed

    Renamed form CSS classes from signup-* to create-* for workspace and graft creation pages.

Webhook Error Handling and Hardening

Secure webhook error handling with granular detail control and SDK/schema improvements

Webhook errors are no longer leaked to model or visitor; they are logged on host and returned generically, with opt-out via the `detailed_errors` profile or `handle_webhook` parameter. A new `ag.WebhookError` lets you send custom failure messages while hiding internals. Webhook timestamps are now required and transports no longer follow redirects. Also included are schema fixes for future annotations, Optional without default, boolean Literals, and scalar types, fix to `list_conversations` so it works against live server, and new async-view template tag for Django templates.

  • changed

    Webhook errors were no longer leaked to model or visitor; they were logged on the host and returned generically.

  • added

    An opt-out was added for generic webhook errors via the detailed_errors profile or handle_webhook parameter.

  • added

    ag.WebhookError was introduced to send custom failure messages to the model while hiding internals.

  • changed

    The webhook timestamp became required, and transports no longer followed redirects.

  • fixed

    Schema fixes were made for future annotations, Optional without default, boolean Literals, and scalar types.

  • fixed

    list_conversations was fixed to work against the real server instead of behaving as if offline.

  • added

    An async-view template tag was added for Django templates.

Security Hardening and Access Controls

Stronger authentication, credential safeguards, and conversation reliability

Introduced login and sign-up throttling per account and address with 429 response after repeated attempts. Added credential rotation for API keys and webhook secrets with optional 24-hour grace period, restricted webhook secret visibility to owners and administrators, and made email addresses unique case-insensitively across accounts. Widget replies are now sanitised to block remote images, rendering them as links opened in new tab. Added per-graft switch for signed-out anonymous visitors, paginated conversation list to 50 per page, and fixed SDK's `list_conversations` method.

  • added

    Sanitised widget replies to block remote images; they now render as links opening in a new tab.

  • added

    Added login and sign-up throttling per account and address, with a 429 response after too many attempts.

  • added

    Added credential rotation for the API key and webhook secret, with an optional 24-hour grace period.

  • changed

    Restricted webhook secret visibility to owners and administrators; viewers now see only its prefix.

  • added

    Added a per-graft switch to enable or disable signed-out anonymous visitors.

  • changed

    Paginated the conversation list to show 50 conversations per page.

  • fixed

    Fixed the SDK's list_conversations method to return conversations correctly.

  • changed

    Made email addresses unique in a case-insensitive manner across accounts.

SDK Anonymous Visitor Support

Enable session-free access via SDK with anonymous visitor constants

Added anonymous visitor support to SDK widget, allowing session-free access without Django session storage. Exposed SDK constants for anonymous visitor ID and access grant for developer configuration.

  • added

    Added anonymous visitor support to the SDK widget, enabling session-free access without Django session storage.

  • added

    Exposed new SDK constants for anonymous visitor ID and access grant.

Visitor Chat and Identity Improvements

Enable chat for logged-out visitors without session cookies

Logged-out visitors can now chat without Django session cookies. Their identity is generated locally and shared across browser tabs.

  • added

    Logged-out visitors can chat without Django session cookies; identity generated locally and shared across tabs.

Health Check and Middleware Improvements

Enhanced health endpoint reliability and host validation configuration

Improved /health/ endpoint to return structured JSON with parallel dependency checks, promptly issuing 503 errors when services are unresponsive. Also removed need to list healthcheck domain in ALLOWED_HOSTS since middleware now runs before host validation.

  • changed

    /health/` endpoint returned structured JSON with parallel dependency checks, issuing 503 errors promptly if services hung.

  • changed

    External uptime checks no longer needed the healthcheck domain in `ALLOWED_HOSTS` as middleware ran before host validation.

Stability and Security Improvements

Enhanced API reliability, security hardening, and dashboard experience

Fixed widget API error responses and tenancy security to prevent enumeration. Stabilised webhooks against non-object JSON crashes. Improved dashboard flash messages, form validation, and display formatting. Extended voice input to Japanese and Chinese with correct accented letter detection. Updated deletion counts to ignore attachments and enabled memory backfill to classify historical messages and update user mood.

  • changed

    Widget API malformed requests returned HTTP 400 instead of server errors.

  • changed

    API tenancy security denied access with HTTP 404 to prevent user enumeration.

  • fixed

    Voice input supported Japanese and Chinese and detected accented letters correctly.

  • fixed

    Webhooks returning non-object JSON no longer crashed turns; features stabilised.

  • fixed

    Dashboard flash messages rendered correctly on every page following redirects.

  • fixed

    Signup and account form fields enforced validators for username, password, and slugs.

  • fixed

    Display formatting no longer incorrectly split paragraphs.

  • fixed

    Message deletion counts correctly counted only messages, ignoring attachments.

  • fixed

    Memory backfill command classified unclassified historical messages and updated user mood.

Internationalisation and Multilingual Support

Enabled multilingual content across site, documentation, dashboard, and embedded widget with automatic language detection

Added internationalisation in seven languages across public site, documentation, dashboard, and embedded widget, including voice mode support. Implemented language-prefixed URLs, navigation switchers, and settings-based language selection with Accept-Language header fallback. Resolved Safari text selection issues in widget and corrected workspace tool counting logic.

  • added

    Added internationalisation in seven languages for site, docs, dashboard, and widget, with voice mode support.

  • added

    Added language-prefixed URLs, redirects, and navigation switchers for multilingual support.

  • changed

    Updated widget to support language selection via settings and Accept-Language headers.

  • fixed

    Fixed text selection inside the widget on Safari to avoid collapsed range issues.

  • fixed

    Fixed workspace page to correctly count each tool once per agent.

SDK Palette Function for Widget Themes

New SDK function for precise widget accent colour control

Added `ag.graft(palette=...)` function to SDK, enabling developers to configure widget accent colours using predefined palette names such as "jade" or "indigo" to better match user interface themes.

  • added

    Added SDK function `ag.graft(palette=...)` to configure widget accent colours like "jade" or "indigo" to match themes.

Visual Interface Refinements

Enhanced customisation, avatar expression, and accessibility across core UI components

Users can now customise accent colours via SDK or visual settings picker. avatar face displays liquid simulation for resource availability and includes energy/mood speech bubbles. Interface streamlining includes destination confirmation route strip, improved send button validation, and updated sidebar search labels. Accessibility improvements include screen reader announcements for route changes. landing page emotion tile strip was removed, and new winking-mark favicon with navigation icons has been deployed.

  • added

    Added a route strip UI to confirm or override destinations before transmission.

  • added

    Users could customize accent colours via SDK or a visual picker in settings.

  • added

    Avatar face featured liquid simulation to visually represent resource availability.

  • changed

    Sidebar header stopped displaying agent name, and send button required valid input.

  • removed

    Eliminated the separate global composer input box in the sidebar to streamline interface.

  • added

    Added energy level and mood speech bubble to the header face.

  • changed

    Updated sidebar search button to display visible text label.

  • changed

    Announced route changes via live region for screen readers.

  • removed

    Removed emotion tile strip from the landing page.

  • added

    Deployed new winking-mark favicon and navigation icons.

Production Stability Improvements

Enhanced resource management and credential preservation for safer deployments

Applied explicit resource limits and tuned worker configurations to improve production stability. Also ensured dashboard-managed API credentials are preserved during deployment to prevent accidental deletion.

  • changed

    Improved production stability by applying explicit resource limits and tuning worker configurations.

  • fixed

    Preserved dashboard-managed API credentials during deployment to prevent accidental deletion.

Search Discoverability Updates

landing page now provides clearer guidance to search engines

Added `sitemap.xml` and `robots.txt` to landing page to improve search indexing and make Agentgraft’s public content easier for search engines to discover and crawl.

  • changed

    Updated landing page with sitemap.xml and robots.txt for improved search indexing.