As always, it's been a busy couple of weeks here at Agentuity! We launched Agentuity v1 earlier this month, but the updates don't stop there. Across 17 releases and 106 commits, here's what's new.
Overview
@agentuity/postgresand@agentuity/drizzlefor resilient database access- Claude Code plugin bringing Agentuity Coder to Claude Code
- Vanity domains for custom hostnames on deployed projects
- WebRTC signaling for real-time peer connections
- Typed SSE output schemas for end-to-end type safety on streams
- And more!
New Database Packages
Two new packages make it easy to work with PostgreSQL in your agents.
@agentuity/postgres
A resilient PostgreSQL client with automatic reconnection, connection pooling, and transaction support. Handles Neon cold starts, connection drops, and retries so you don't have to.
import { createPostgresClient } from '@agentuity/postgres';
const db = createPostgresClient();
const users = await db.query('SELECT * FROM users WHERE active = $1', [true]);
The client automatically reconnects on failure and includes a connection registry for managing multiple databases. There's also a PostgresPool for connection pooling with reconnection support.
@agentuity/drizzle
Drizzle ORM integration built on top of the resilient Postgres client. Includes a @agentuity/drizzle/schema sub-export compatible with drizzle-kit for migrations.
import { createDrizzleClient } from '@agentuity/drizzle';
import * as schema from './schema';
const db = createDrizzleClient({ schema });
const users = await db.select().from(schema.users).where(eq(schema.users.active, true));
The Drizzle client uses a resilient SQL proxy under the hood, so it survives reconnections without losing your query. INSERT queries skip retries to prevent duplicate rows.
Claude Code Plugin
We've ported the Agentuity Coder agent team from OpenCode to Claude Code. The new @agentuity/claude-code package gives you the same six-agent team (Lead, Scout, Builder, Reviewer, Memory, Expert) right in Claude Code's terminal. Check out the Claude Code plugin docs for the full setup guide.
agentuity ai claude-code install
Once installed, use slash commands to interact with the agent team:
/agentuity-coder implement dark mode for settings page
/agentuity-cloud list all my KV namespaces
/agentuity-sandbox run bun test in a sandbox
Vanity Domains
You can now assign custom hostnames to your deployed projects with the new vanity hostname CLI commands:
agentuity project add domain my-app.example.com
The CLI handles DNS verification and certificate provisioning. Your project is accessible at both the Agentuity subdomain and your custom domain.
WebRTC Support
New WebRTC signaling and peer connection support lets your agents establish real-time audio, video, and data channels with clients. This opens up use cases like voice agents, screen sharing, and low-latency streaming.
SDK Improvements
Typed SSE Output Schemas
SSE routes now support typed output schemas, giving you end-to-end type safety for server-sent events:
import { createAgent } from '@agentuity/runtime';
import { s } from '@agentuity/schema';
const agent = createAgent('stream-agent', {
schema: {
output: s.object({
type: s.enum(['progress', 'result']),
data: s.string(),
}),
},
handler: async (ctx, input) => {
// Output is type-checked against the schema
ctx.sse.send({ type: 'progress', data: 'Processing...' });
ctx.sse.send({ type: 'result', data: 'Done!' });
},
});
Signature Authentication
Both workbench API routes and cron middleware now require signature authentication. Workbench endpoints are protected in deployed environments, and cron handlers only execute from legitimate platform triggers.
Environment Variable Type Generation
The CLI now generates TypeScript types for your environment variables. After adding env vars, your ctx.env is fully typed with no manual declarations needed.
agentuity project add storage # auto-syncs env vars to cloud
agentuity project add database # and generates types
CLI and Tooling
React Plugin in Config
The React Vite plugin has moved from an implicit default into agentuity.config.ts. This gives you explicit control and makes it easy to swap in other frameworks (Svelte, Vue, etc.) without fighting hidden defaults:
import react from '@vitejs/plugin-react';
export default {
plugins: [react()],
};
Sub-Router Route Discovery
The CLI now discovers routes registered via .route() sub-router mounts. If you organize your API routes into separate Hono routers and mount them, the build step picks them all up correctly.
--ai-help Flag
A new --ai-help flag on any CLI command provides context-aware help using the dashdash specification. Instead of scrolling through man pages, get an answer to what you actually need.
Also New in CLI
project add database|storageto link existing resources- Unified pagination, sorting, and filtering across all service list endpoints
--org-idand--project-idfiltering on all list commands--profileglobal option for multi-profile support- Org selector with preferred org pre-selected
- Faster agent detection at startup
- Warp terminal detection with ai intro command
- Ctrl+C during deploy now properly cancels with AbortSignal
- Stale routes cleanup when all API routes are removed
- Friendly error display for 402 payment required errors
- Eliminated
--org-idrequirement for resource lookup commands - Upgrade subprocess timeouts to prevent CLI hangs
- Deployment config from
agentuity.jsonincluded in build metadata for CI deploys
Also Shipping
Beyond the highlights above, here's what else shipped:
Agentuity Coder Updates
- Planning system merged into Lead agent with KV persistence
- Memory agent gains inline reasoning, salience scoring, and access-pattern boosting
- Memory branch awareness and public memory sharing
- Expert sub-agents for specialized knowledge
- Shell env hook to inject environment variables into all shell execution
Database & Storage
- Drizzle:
@agentuity/drizzle/schemasub-export fordrizzle-kitcompatibility - Sandbox timeout and command fields in response types
Developer Experience
- Vite HMR WebSocket failures resolved
- Public asset serving in dev mode via
/public/*proxy - Fixed config type to accept multiple Vite plugins
- Resolved common TypeScript strict-mode errors
env pushno longer blindly overwrites remote variables- Auth
trustedOriginscan now be set via environment variables - Exported Zod schemas from
@agentuity/serverfor external validation and composability
Bug Fixes
- Fixed circular import cycle in Drizzle re-exports
- Fixed hidden files in project templates
- Fixed global install interference from local node_modules
- Reduced JWT token size
Upgrade Now
Ready to try it out? Run:
agentuity upgrade
Or if you're starting fresh:
curl -fsSL https://agentuity.sh | sh
Once you're upgraded, try a few of the new features:
- Install the Claude Code plugin with
agentuity ai claude-code install - Add a database with
agentuity project add database - Set up a custom domain with
agentuity project add domain
Resources
Questions or feedback? Drop by our Discord to chat. See you next Friday!