Skip to main content

DisSysLab — Build an Office of Specialist Agents

AI chatbots answer when you ask. DisSysLab runs an office of specialist agents that works for you continuously — monitoring sources, filtering, analyzing, and delivering results, until you tell it to stop. Each agent has one well-defined job. You describe the office in plain English.

Try it in seconds

pip install dissyslab
dsl run periodic_brief
open brief.html

You'll get a single styled HTML page with three headlines from BBC, three from NPR, current weather for Pasadena, and three stock tickers. No API key, no model download.

dsl list shows every office that ships with DisSysLab. dsl init periodic_brief my_brief copies one into a folder you own so you can edit it.

Mix and match agents to fit your accuracy, budget, and privacy needs

A single office can mix agents that run on different engines: paid AI services (Anthropic Claude, OpenAI, Google Gemini); free local models such as Qwen on Ollama for roles where cost or privacy matters more than accuracy; specialized open-weight models for narrow jobs like coding or entity extraction; and plain Python functions for deterministic tasks. Pick the right engine per agent:

  • Ollama — free, local, private. Download a ~19 GB model (Qwen3) one time. Office runs take 15–60 min on a typical Mac.
  • OpenRouter — hosted Qwen-2.5-7B. Pennies per run, finishes in 1–5 min on any laptop. API key from openrouter.ai/keys.
  • Claude — Anthropic's hosted model. Highest quality, ~25–50¢ per office run. API key from console.anthropic.com.
# Example: OpenRouter, the fast-and-cheap path
export DSL_BACKEND=openrouter
export OPENROUTER_API_KEY=sk-or-v1-...
export OPENROUTER_MODEL=qwen/qwen-2.5-7b-instruct

dsl run situation_room

Or use the one-line installer to be guided through engine choice and shell-rc setup:

curl -sSf https://raw.githubusercontent.com/kmchandy/DisSysLab/main/install.sh | bash

What is an office?

An office is a team of specialist agents with roles. Connections between agents are specified by an network. You specify each role as a job description in English (or as a Python function for deterministic work), and you specify the network in English.

A single role file looks like this:

# Role: analyst

You are a news analyst who reviews articles and forwards items of
political or economic significance to an editor. Exclude celebrity
gossip, sports, and personal opinions.

If the item is relevant, send to editor.
Otherwise send to discard.

That's an agent. Combine a handful of them with sources and sinks in an office.md file, and you have an office that runs continuously.

Offices can contain offices. Each office is a black box — the organization around it only sees what goes in and what comes out. You can build an office whose agents are offices. So you can structure a complex office as a network of sub-offices, just as a university has sub-offices responsible for the medical school, the engineering school, and the college of humanities.

New in v1.6: checkpoint and resume

DisSysLab v1.6 ships an implementation of the Chandy-Lamport distributed snapshot algorithm, adapted for office-shaped systems. With dsl run --snapshot-interval N, the office takes a consistent global checkpoint every N seconds. With dsl run --resume latest, the office restarts from the most recent snapshot and continues without losing or duplicating work. The recovery_demo gallery office demonstrates the protocol on a small Monte Carlo π estimator. See CHANGELOG.md for full release notes.

Learn more

  • Full documentation, source, and contributing guide on GitHub.
  • The gallery ships ready-to-run offices: periodic_brief (morning HTML brief), situation_room (multi-agent news enrichment), arxiv_radar (arXiv paper rater), kalshi_market_watch (prediction-market briefing), backyard_birds (BirdNET audio classifier), wildlife_watcher (image classifier), and recovery_demo (v1.6 checkpoint-recovery demo). Three React/ FastAPI apps by Caltech undergraduate Nyasha Makaya — a job-hunting assistant, a wardrobe stylist, and a local-events calendar matcher — use dissyslab as a PyPI dependency.
  • Visual walk-through in the micro-course.

Requirements

  • Python 3.10 or newer.
  • macOS or Linux for the shell installer; Windows works for the core framework via pip install.
  • An LLM backend if you want to run the agentic offices — see the engine list above. The periodic_brief demo needs none.

License

MIT — see LICENSE on GitHub.

Metadata

Release files for dissyslab 1.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dissyslab 1.9.0
File Interpreter ABI Platform
dissyslab-1.9.0-py3-none-any.whl Python 3 none any Details

Release files / dissyslab-1.9.0-py3-none-any.whl

Download URL dissyslab-1.9.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
38546ea52fb916a69163fb02c2285034acaa8792fba37ac885762463707fc9ec
BLAKE2b-256 checksum
How to use checksums
9b654914a5a64da20a864c888b7e137a871088421c63110ea3bbe1b3b6def7a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release history Release notifications | RSS feed

1.10.0

1 release file

This release

1.9.0 This release

1 release file

1.8.0

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.4.0

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page