Introducing Swarmcore: A Scalable Multi-Agent Framework in Python

Swarmcore is an open-source library designed for executing multi-agent workflows in Python. This library allows developers to run agents sequentially or in parallel. It includes a context management system ensuring that outputs from one agent do not interfere with another, which proves beneficial in complex workflows.
To define agents, you can set them up like so:
planner = Agent(name="planner", instructions="Break the topic into research questions.", model="ollama/llama3") researcher = Agent(name="researcher", instructions="Research the topic in depth.", model="ollama/llama3")You can chain these agents using symbols: '>>' for sequential execution and '|' for parallel execution. An example chain might look like this:
flow = planner >> (researcher | critic) >> (verifier | evaluator) >> writer result = asyncio.run(Swarm(flow=flow).run("AI agent trends in 2026"))The library is currently available as a Python package and can be installed via:
pip install swarmcoreThe creator is considering expanding this framework into a CLI-based tool and reports that it delivers results comparable to more established research frameworks like gemini deep research.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Optio: Orchestrating AI Coding Agents in Kubernetes from Ticket to PR
Optio is an open-source orchestration system that turns tickets into merged pull requests using AI coding agents like Claude Code or Codex. It handles the full lifecycle in isolated Kubernetes pods with a feedback loop that auto-resumes agents on CI failures or review feedback.

Lean Context: Claude Code Plugin Converts Verbose Docs to Agent-Optimized Files
A free, open-source Claude Code plugin called Lean Context scans project documentation and removes content AI agents can discover through grepping, keeping only essential non-obvious commands, gotchas, and environment quirks. In a .NET e-commerce project test, it reduced 8 documents totaling 1,263 lines to just 23 lines.

agentcache: Python Library for Multi-Agent LLM Prefix Caching
agentcache is a Python library that enables multi-agent LLM frameworks to share cached prompt prefixes, achieving up to 76% cache hit rates and cutting inference time by more than half in tests with GPT-4o-mini.

ClawPy: Minimal Single-File Python Implementation of OpenClaw with Experience Memory
A developer built ClawPy, a stripped-down Python script that implements OpenClaw's autonomous task execution mechanics with a persistent experience system that learns from past errors and successes.