Skip to content

glia v0.5.0 — OpenAI, interactive approval, MCP

Choose a tag to compare

@DenisDrobyshev DenisDrobyshev released this 23 Jul 00:55
· 11 commits to master since this release

Four improvements in one release.

OpenAI provider

OpenAILLM works with OpenAI and any OpenAI-compatible endpoint (Groq, Together, OpenRouter, local vLLM) via base_url — zero dependencies, streaming + tools.

from glia.providers import OpenAILLM
agent = Agent(OpenAILLM("gpt-4o-mini", api_key="sk-..."))

Interactive tool approval in the desktop shell

Turn on "Ask before running each tool" and the shell shows an Approve / Deny prompt in the window — the run pauses until you decide. The download now also has an OpenAI provider mode. Fresh binaries attached below.

MCP tool bridge

Use any MCP server's tools as glia tools:

from glia.integrations.mcp import mcp_stdio_tools
async with mcp_stdio_tools("npx", ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]) as tools:
    agent = Agent(llm, tools=tools)

(pip install "glia-agents[mcp]")

Rigor

mypy is now a CI gate; test suite at 151 offline tests, ~95% coverage; new README hero image.

Install/upgrade: pip install -U glia-agents · Docs: https://denisdrobyshev.github.io/glia/