Skip to main content

Production agent framework on LangChain/LangGraph: nine execution patterns, persistent memory, skills, feedback, multi-level HITL, MCP, AGP protocol, runtime bridge, and observability hooks.

Project description

agloom

agloom

Build agents that route themselves.
One familiar API — classification, memory, streaming, guardrails, and learning included.

Nine execution patterns. Auto-selected per task. Skills improve over time.


PyPI version Python 3.12 License Docs

Documentation · Quick Start · PyPI · Examples · Issues


Start here

agloom is a Python framework for production-minded agents on LangChain / LangGraph. You describe the model and tools; agloom picks how to run the task (single-shot, ReAct, supervisor-style delegation, pipelines, and more), tracks steps and tokens, and can learn reusable skills from what worked.

If you already use LangChain’s agent APIs, think of create_agent as your main entrypoint — with orchestration, memory, streaming, and safety knobs in one place.

Install (Python library)

pip install agloom
# optional extras, e.g. Groq:
pip install agloom[groq]

What you get from PyPI

Command / package Role
pip install agloom Python library + agloom-runtime (AGP bridge process)
agloom-runtime serve NDJSON/WebSocket server — used by clients below
agloom on PATH Short install notice only — not the interactive terminal UI

Terminal UI: install the npm package from repo folder agloom_cli/ (npm installnpm run buildnpm start or global agloom after publish). It spawns agloom-runtime over stdio.

Model temperature: pass a configured LangChain chat model (e.g. ChatGroq(..., temperature=0.2)) or a provider-prefixed string ("groq:llama-3.3-70b-versatile"). create_agent does not take a separate temperature= argument.

Your first agent

import asyncio
from langchain_groq import ChatGroq
from agloom import create_agent

async def main():
    llm = ChatGroq(model="meta-llama/llama-4-scout-17b-16e-instruct")
    agent = await create_agent(model=llm, name="my-agent")
    result = await agent.ainvoke("What causes auroras?")
    print(result.output)

asyncio.run(main())

create_agent is async (use await). From synchronous code, use create_agent_sync.

Next steps: Why agloom? · Patterns explained · All parameters


What you get (in plain language)

You want to… agloom helps by…
Ship faster Picking a strategy per query instead of hand-writing routers and graphs
Keep context Session memory by default; optional long-term memory and skills
Show progress Token streaming, trace steps, and model reasoning on the wire (guide)
Stay safe Human-in-the-loop levels, timeouts, retries, rate limits — configurable
Improve over time Skill library and feedback hooks so behavior compounds

For the full feature tour, see What you get in the docs — the README stays short on purpose.


agloom CLI & web workspace

  • Terminal: the agloom CLI (npm agloom-cli, repo agloom_cli/) is the terminal client — React-based UI. From that folder: npm installnpm run buildnpm start. It talks to agloom-runtime over AGP (stdio by default). CLI quick start
  • Browser: agloom_web/ is the Vite workspace for sessions and observability — same idea, run commands inside that folder.

PyPI ships the library and agloom-runtime, not the Ink/React terminal. The console script named agloom only prints where to install the agloom-cli npm client (see table above).


Learn more (documentation hub)

Guide What it’s for
Quick Start Smallest path to a running agent
Execution patterns How routing works (conceptual + diagrams)
Streaming & events Responsive UI patterns
Thinking & reasoning Trace steps vs model reasoning on the wire
Production Deploying, testing, operating
Errors & fixes When something goes wrong

Requirements

  • Python 3.12.x (see pyproject.toml on GitHub for the exact pin)
  • Node.js ≥ 24.15.0 — only if you hack on agloom_cli/ or agloom_web/
  • An LLM API key (Groq, OpenAI, NVIDIA, Hugging Face, or another LangChain-compatible provider)

Contributing & license

Contributions welcome — see CONTRIBUTING.md.

Licensed under Apache 2.0.


agloom

agloom is built by MEDHIRA

hello.medhira@gmail.com · GitHub · PyPI

Founded by S Muni Harish

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agloom-0.0.1.18.tar.gz (678.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agloom-0.0.1.18-py3-none-any.whl (504.4 kB view details)

Uploaded Python 3

File details

Details for the file agloom-0.0.1.18.tar.gz.

File metadata

  • Download URL: agloom-0.0.1.18.tar.gz
  • Upload date:
  • Size: 678.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agloom-0.0.1.18.tar.gz
Algorithm Hash digest
SHA256 d7841b28073e04b5a61004b4dfc7c20b7e5143e0b7c6fa52ce9db8c192f17083
MD5 830d367f8e494a07e18fbebbf4555a06
BLAKE2b-256 c0575fd9ca64b995ef0fd40b4fc4d921d10248ab4ac80e7f1f7021196e59f990

See more details on using hashes here.

File details

Details for the file agloom-0.0.1.18-py3-none-any.whl.

File metadata

  • Download URL: agloom-0.0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 504.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agloom-0.0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 73998233a866a47747d13e3e2ccbd1ec266c871393cf0c783fecec19d9f1a8f2
MD5 1651befdd07f4e14262bef28c8b75d21
BLAKE2b-256 465debf1ac8917e989697df1185e5a2bec4555a8cddd649764d41b2607a5066a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page