Repository inventory

hhopkins95/ai-systems

Skills indexed from this repository, with install-style signals scoped to the repo.
4 skills0 GitHub stars0 weekly installsTypeScriptGitHubOwner profile

Overview

This skill explains the purpose, value proposition, and high-level architecture of the Agent Runtime monorepo. It describes how the runtime launches and manages AI agent sessions in isolated sandboxes and how the React client library integrates with the backend for real-time streaming and session lifecycle management. The focus is on practical outcomes: isolation, streaming, session management, and multi-architecture support.

How this skill works

The runtime exposes a REST API and WebSocket endpoint. Clients create sessions via REST, join a WebSocket room, and send the first message which lazily provisions a Modal sandbox to run an agent (Claude SDK or OpenCode). The backend SessionManager tracks sandbox lifecycle, parses agent output into typed blocks, syncs state to a PersistenceAdapter, and streams block events to clients in real time.

When to use it

  • Building apps that must run arbitrary agent workloads in isolated environments
  • Needing real-time, incremental streaming of agent output to clients
  • Multi-tenant systems where resource and security isolation per session is required
  • Implementing React frontends that manage session lifecycle and display streaming transcripts
  • Coordinating agents that use tools, subagents, or custom skills

Best practices

  • Implement a PersistenceAdapter to persist sessions, transcripts, and workspace files outside the runtime
  • Use lazy sandbox creation to minimize resource usage until a session receives its first message
  • Rely on block-typed output for deterministic rendering (UserMessageBlock, AssistantTextBlock, ToolResultBlock, etc.)
  • Configure AGENT_ARCHITECTURE_TYPE per session to choose Claude SDK or OpenCode as needed
  • Enforce workspace file and tool permissions inside the sandbox to maintain security boundaries

Example use cases

  • Chat UI that streams agent reasoning and tool outputs block-by-block to users
  • Automation platform that spawns short-lived agents to run code, grep files, or orchestrate tasks safely
  • Multi-tenant IDE assistant that isolates each developer’s agent in its own sandbox
  • Workflow system that delegates tasks to subagents and collects structured transcripts for auditing

FAQ

No. The runtime returns typed blocks but does not enforce application-level schemas; your app decides how to interpret and store data via the PersistenceAdapter.

When is the Modal sandbox created for a session?

Sandboxes are created lazily: the AgentSession is created on REST call, but the sandbox spins up only when the session receives its first message.

4 skills

More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational