Glove documentation

Glove is a family of TypeScript packages for building software that an AI agent operates. Pick the layer that matches what you are building — you can always move up a layer later without rewriting your tools.

Choose a path

Foundry or glove-core?

Both run the same agent loop and the same tools. The difference is how much of the surrounding system you want to build yourself.

You need…With glove-core you writeWith Foundry you get
Many users, each with their own agentYour own instance table and lookupPersisted agent instances created from one definition
Several threads per userStore keys and routingFirst-class conversations per instance
An API other services can callAn HTTP server and run trackingTyped client, REST API, OpenAI-compatible endpoints
Work that happens laterA job queue and cronSchedules, sleep and spawn as built-in agent tools
Events from Slack, email or webhooksWebhook handlers and dispatchTransmissions, playbooks and auto-provisioned agents
Human sign-off on risky actionsA pause/resume mechanismExpiring approval records with approve/deny APIs
To see what happenedLoggingA run inspector and WebChat at localhost:4141
A UI that renders inside the chatBoth: the display stack is part of glove-core

Rule of thumb: if the agent is the product backend, start with Foundry. If the agent is one feature inside an app you already run, start with the quickstart.

How the layers stack

the Glove stacktext
your product          UI · auth · billing · your data
──────────────────────────────────────────────────────────────────────
glove-foundry         file routes · instances · conversations · apps
                      playbooks · schedules · approvals · HTTP + OpenAI API
                      inspector · WebChat · persistence adapters
──────────────────────────────────────────────────────────────────────
capability packages   memory · forms · goals · facts · working environment
                      JS/Python/Lisp REPLs · browsers & sandboxes · MCP
                      voice · realtime voice · image · video · mesh · classifiers
──────────────────────────────────────────────────────────────────────
glove-core            agent loop · tools · display stack · stores
                      model adapters (Anthropic, OpenAI, Gemini, OpenRouter…)

I want to…

GoalReadPackage
Run many durable agents with an HTTP API, a dashboard and schedulesFoundry tutorialglove-foundry
Talk to my agent from any OpenAI SDK or chat UIOpenAI-compatible APIglove-foundry
Have a human approve risky actions before they runApprovals & steeringglove-foundry · glove-core
Wake an agent on a cron, after a delay, or when a webhook arrivesPlaybooks, schedules & sleepglove-foundry
Connect an agent to Telegram, Slack, email or a ticket systemApps & transmissionsglove-foundry
Add a chat agent to my existing Next.js appQuickstartglove-react · glove-next
Run an agent in a script, CLI or backend serviceServer-side agentsglove-core
Let tools render UI and wait for the user mid-conversationDisplay stackglove-core · glove-react
Remember people, facts and past sessionsMemoryglove-memory
Build an agent that pursues an objective and collects what it is missingGoal-oriented agentsglove-memory · glove-facts
Collect structured information over a conversationFormsglove-memory
Produce PDFs, spreadsheets, slides and images as filesWorking environmentglove-working-environment
Replace 50 tool definitions with one code-eval toolCode executionglove-js · glove-python · glove-lisp
Browse websites, write code and run servers in a sandboxBrowsers & sandboxesglove-execution
Use tools from MCP servers (Notion, Gmail, Linear…)MCPglove-mcp
Make cheap, fast typed decisions (triage, routing, filtering)Classifier modelsglove-classifier
Build a voice agent (STT → agent → TTS)Voice pipelineglove-voice
Use realtime speech-to-speech models or a live avatarRealtime voice & avatarsglove-voice-s2s
Keep a voice agent fast while a heavier model does the tool workVoice agent architecturesglove-voice · glove-voice-s2s · glove-mesh
Generate and review images or video as a directed workflowImage workflowsglove-image · glove-video
Have agents message and delegate to each otherMeshglove-mesh

Learn by example

For LLMs and coding agents

Every page here is also available in machine-readable form. Point your coding agent at these before it writes Glove code.

  • /llms.txt — an index of every page with one-line summaries.
  • /llms-full.txt — the condensed Glove reference in one file.
  • /foundry/llms-full.txt — the complete Foundry reference: conventions, APIs, endpoints and built-in tools.
  • Agent skills — drop-in Claude Code skills for Glove and Foundry.