# ElizaOS Developer Update: August 17-23, 2025

## Core Framework

### Build System Optimization
- **Replaced tsup with bun.Build** ([PR #5807](https://github.com/elizaOS/eliza/pull/5807)): Major refactoring effort led by @ChristopherTrimboli resulted in ~55% faster builds (from 26s to 14s on an M3 Max) while improving TypeScript coverage
- **Codebase Cleanup**: Removed unused components (/docs submodule, autodoc package, /config, /app) to improve build times and repository size
- **Plugin System Improvements**: Fixed plugin loading in `startAgent()` to properly handle missing bootstrap plugins without hanging ([Issue #5719](https://github.com/elizaOS/eliza/issues/5719))
- **Runtime Enhancements**: Added `getServiceLoadPromise` interface to runtime and made component queries in `plugin-sql` more flexible ([PR #5801](https://github.com/elizaOS/eliza/pull/5801))

### Critical Bug Fixes
- **Database Entity Creation**: Fixed SQL parameter mismatch during entity creation ([PR #5791](https://github.com/elizaOS/eliza/pull/5791))
- **XML Parsing Reliability**: Replaced unsafe XML fallback regex with linear scan to prevent backtracking issues ([PR #5741](https://github.com/elizaOS/eliza/pull/5741))
- **Cross-Environment Logger**: Refactored logger module to function seamlessly across both browser and Node.js environments ([PR #5797](https://github.com/elizaOS/eliza/pull/5797))
- **TEE Docker Build**: Fixed Phala CLI argument handling and the TEE starter docker build issues ([PR #5773](https://github.com/elizaOS/eliza/pull/5773))

## New Features

### Comprehensive Scenario Testing System
- **Complete Test Framework** ([PR #5723](https://github.com/elizaOS/eliza/pull/5723)): Merged a massive scenario testing system with:
  - YAML-based test definitions for agent behavior
  - Support for both local and E2B sandboxed environments
  - Advanced evaluation engine with action tracking and LLM judges
  - Mock service support for deterministic testing
  - HTML and PDF report generation

```yaml
# Example scenario test definition
name: "GitHub Issue Analysis"
description: "Tests agent's ability to analyze GitHub issues"
plugins:
  - "@elizaos/plugin-github"
environment:
  type: e2b
setup:
  mocks:
    - service: "github-service"
      method: "searchIssues"
      response:
        - title: "Critical Bug Found"
          number: 456
          state: "open"
run:
  - name: "Test issue search"
    input: "Search for critical bugs"
    evaluations:
      - type: "trajectory_contains_action"
        action: "github-service.searchIssues"
      - type: "string_contains"
        value: "Critical Bug Found"
```

### Sessions API
- **Enhanced Session Management** ([PR #5799](https://github.com/elizaOS/eliza/pull/5799)): Implemented a Sessions API with timeout management, auto-renewal capabilities, and custom metadata support
- **Client SDK Integration** ([PR #5717](https://github.com/elizaOS/eliza/pull/5717)): Added Sessions API to the `@elizaos/api-client` package
- **Metadata Propagation** ([PR #5805](https://github.com/elizaOS/eliza/pull/5805)): Implemented session metadata propagation for plugin actions, allowing plugins to access custom session data like wallet addresses

```typescript
// Example usage of the Sessions API
const session = await client.sessions.create({
  agentId: "your-agent-id",
  userId: "user-123",
  metadata: { 
    ethAddress: "0x1234567890abcdef" 
  }
});

// Send a message in the session
const response = await client.sessions.sendMessage(session.id, {
  content: "What's my ETH balance?"
});
```

### Async Embedding Generation
- **Queue-Based Processing** ([PR #5793](https://github.com/elizaOS/eliza/pull/5793)): Implemented asynchronous embedding generation via a queue service in the bootstrap plugin
- **Performance Improvement**: Reduced message processing latency by ~500ms by moving embedding generation out of the critical path

## Bug Fixes

### Plugin Integration
- **Weather Plugin**: Investigating issue where the weather plugin in ElizaOS v1.4.3 triggers providers and validate functions but defaults to ChatGPT instead of returning handler text
- **Plugin MySQL Support**: Fixed support for plugin-mysql by allowing it to load before forcing plugin-sql ([PR #5718](https://github.com/elizaOS/eliza/pull/5718))
- **Plugin SQL Tests**: Fixed timestamp handling in plugin-sql tests to work correctly with the latest PGlite version ([PR #5802](https://github.com/elizaOS/eliza/pull/5802))

### Developer Experience
- **E2E Testing**: Fixed and enabled E2E testing for all starter templates ([PR #5720](https://github.com/elizaOS/eliza/pull/5720))
- **CLI Project Creation**: Fixed issue where ElizaOS CLI failed to build new projects ([Issue #5734](https://github.com/elizaOS/eliza/issues/5734))
- **Error Handling**: Added robust error handling for UUID conversion in agent commands ([PR #5711](https://github.com/elizaOS/eliza/pull/5711))
- **Registry Publishing**: Fixed comma placement when adding entries to registry index.json ([PR #5774](https://github.com/elizaOS/eliza/pull/5774))

## API Changes

### Authentication & Session Management
- **Enhanced Authentication**: Added comprehensive authentication support to CLI agent commands ([PR #5709](https://github.com/elizaOS/eliza/pull/5709))
- **API Client Integration**: Standardized all workspace packages to use `workspace:*` dependency versioning ([PR #5731](https://github.com/elizaOS/eliza/pull/5731))
- **Session Timeout Control**: Implemented configurable timeout and auto-renewal settings for the Sessions API

### Core Runtime Extensions
- **Plugin Specification**: Added support for conditional plugin loading and plugin conflicts detection
- **Service Promise Interface**: Added `getServiceLoadPromise` interface for better plugin initialization sequencing
- **Cross-Platform Logging**: Implemented unified logger API that works consistently across Node.js and browser environments

## Social Media Integrations

### Plugin Updates
- **AI Gateway Plugin**: New plugin introducing universal access to 100+ AI models ([PR #5806](https://github.com/elizaOS/eliza/pull/5806))
- **Polygon Plugin Validation**: Testing in progress to validate all Polygon-related plugins ([Issue #5808](https://github.com/elizaOS/eliza/issues/5808))
- **Discord Integration**: Investigating image generation issue in Discord ([Issue #5809](https://github.com/elizaOS/eliza/issues/5809))

### Community Developments
- **Accelerator Demo Day**: ElizaOS Accelerator Demo Day featured multiple agent teams seeking investment
- **Hivemind Project**: New AI-powered crypto marketing strategist being developed by community member Bond11
- **Prediction Markets**: Discussion about creating a "CNBC of prediction markets" show combining prediction markets, crypto and AI

## Model Provider Updates

### Comput3 Integration
- **Sonnet 4 Subscriptions**: Launching next week at $79/month via Kimi K2 on 8xB200s
- **Free Model Access**: Currently offering free access to Kimi K2 and Qwen Coder 480B by logging in with Solana at launch.comput3.ai
- **Integration Support**: Documentation available for Claude Code, Open Web UI, and Perplexica integrations

### ElizaOS Cloud
- **Text Generation**: Stable text generation support with credit deduction system now working
- **Analytics Dashboard**: Refined dashboard for tracking model usage, cost, duration, and success rate
- **Plugin Services**: Ongoing work to rewrite core parts of plugin services for tighter control

## Breaking Changes

### Versioning System Changes
- **Workspace Dependencies**: Migrated to `workspace:*` versioning for better dependency synchronization ([PR #5731](https://github.com/elizaOS/eliza/pull/5731))
- **NPX to BunX**: Migrated from npx to bunx for lerna commands in GitHub workflows ([PR #5742](https://github.com/elizaOS/eliza/pull/5742))
- **Specs Removal**: Removed unused specs from core package to clean up codebase ([PR #5724](https://github.com/elizaOS/eliza/pull/5724))

### Docs Migration
- **Submodule Conversion**: Converted packages/docs to a git submodule pointing to the external elizaOS/docs repository ([PR #5803](https://github.com/elizaOS/eliza/pull/5803))
- **Release Workflow**: Removed automatic merge to develop from release workflow to prevent unintended merges ([PR #5732](https://github.com/elizaOS/eliza/pull/5732))

---

To try the latest features, update to ElizaOS v1.4.4 which includes all the improvements mentioned above. For detailed documentation on the new scenario testing system, visit the [Scenario Runner Documentation](https://github.com/elizaOS/eliza/tree/main/packages/cli/src/commands/scenario/docs).