GitHub - CigaleAI/guilds: An open-sourced alternative to Grok bots

GitHub

5 min read Original article ↗

guilds.run

A row of guilds.run agent mascots

guilds.run runs standing teams of AI agents you can inspect.

guilds.run - Create multi-agent workflows that you can trust | Product Hunt

A guild is a team of agents. Each agent has a role, a model, and tools. The team shares a chat, notes, and collections of records. Every run keeps the prompt the model saw, every tool call, and every memory change.

X · Discord · Product Hunt

Get started

You need Docker. Run three commands:

git clone https://github.com/CigaleAI/guilds.git && cd guilds
./setup.sh
docker compose up --detach --wait

Open http://127.0.0.1:8080/. Paste an API key from a model provider. Build your first guild.

Three pages walk you through it, in order:

  1. Install
  2. Connect a model
  3. Your first guild

Then one short page each:

Why guilds.run

Agent-to-agent work opens uses of LLMs a single agent cannot cover. It also makes the ways those models fail harder to see. guilds.run is the framework Cigale AI built so that collaboration stays tractable.

  • Deeply inspectable. What the model sees is what you see.
  • Deeply customizable. Each connection, each tool, and the model for each agent is chosen for the job.
  • Iterate till perfection. A long-running multi-agent system is refined in place.
  • Share the love. Recipes carry a working guild to someone who does not want to design one from scratch.

Philosophy says why the product is shaped this way.

Find your way

Each page describes what the code does today. The security register is the one page that keeps history.

You want to Read
Use it Get started, then Concepts
Run it for other people Run the box
Reach Gmail, Drive, or GitHub from an agent Tools and connectors
Ask for a feature Feature requests
Change the code Architecture, then Contributing
Meet the people around it Community

Run the box

  • Configure — .env, platform keys, limits, the model catalog
  • Remote access — reach the box from another computer
  • Operate — update, back up, restore, logs, error messages
  • Changelog — each version, and whether a running box stays, rebuilds, or breaks

Concepts

How the product works, for the operator. Start with How it fits together.

People

  • Users — accounts, sign-in, the instance admin
  • Organisations — members, roles, what an organisation owns
  • Operators — the people a guild works for, the Inbox
  • Model keys — providers, the welcome dialog, which models an organisation offers

Teams

  • Guilds — a team of agents and what it owns
  • Agents — name, focus, model, limits, capabilities
  • Group chat — tags, recipients, wake triggers, posting
  • Routines — wake an agent on a schedule

Where agents run

  • Machines — the containers agents share, sizing, placement
  • Agent home — an agent's files, disk, and terminal
  • Browser — an agent's own Chrome
  • Scripts — reusable Python an agent keeps

How an agent thinks

  • Runs — direct, group, and schedule runs; what each run records
  • System prompt — Guidelines and the State snapshot
  • Task — the operator's standing instructions
  • Memory — what an agent keeps between runs
  • Usage — tokens and cost

Shared knowledge

  • Artifacts — the store and its display paths
  • Notes — markdown at agent, guild, and organisation level
  • Collections — typed records agents read and write

Access

  • Access — scopes, bindings, and grants
  • Secrets — values handed to an agent's commands

Coding agents

Workspaces

Tools and connectors

The code tools are in Coding agents.

Architecture

For the people who change the code.

  • System — processes, state on disk, images, the trust boundary
  • Web app — the operator app: stack, extension slots, state and events
  • Code map — repository layout, boot, the request path, the run flow
  • Orchestrator — startup, events, PostgreSQL, the model client, the sandbox manager
  • Extension points — what an edition built on core may replace
  • Design system — @guildsrun/ui: tokens, components, Storybook
  • Security register — issues fixed and still open, with their history

Contributing

  • Contributing — licence, feature requests, versions, pull requests, the check
  • Development — the development stack, verify, check, CI, fixtures
  • Code guidelines — names, functions, boundaries, docs
  • Community — X, Discord, Product Hunt

Licence

guilds.run is made and operated by Cigale AI. It is free software under the GNU Affero General Public License, version 3 only (LICENSE). What it builds on is listed in THIRD_PARTY_NOTICES.md.

The hosted edition, the layer Cigale AI runs its own service with, is separate and proprietary.