Skip to main content

Your first AI company โ€” Open-source multi-agent framework that runs your business autonomously

Project description

Boletus ๐Ÿ„

Your first AI company โ€” open-source framework that runs an autonomous AI team via Slack + Claude CLI.

Send a business plan to your CEO agent. It hires a team, delegates tasks, writes code, creates marketing โ€” all autonomously.

Quickstart

Prerequisites

  • Python 3.11+
  • Claude CLI installed and authenticated
  • A Slack workspace (create one free)
  • (Optional) Connect services in claude.ai/settings โ†’ Integrations (Gmail, Notion, Figma, etc.) โ€” your AI team will use these automatically

1. Install

pip install boletus

2. Create a project & connect Slack

mkdir my-ai-company && cd my-ai-company
boletus init

This walks you through connecting Slack:

  1. Create a Slack app at api.slack.com/apps โ†’ "From a manifest" โ†’ paste slack-app-manifest.json
  2. Paste your App Token (xapp-...) and Bot Token (xoxb-...)
  3. Paste your Slack Member ID

3. Start your AI team

boletus setup

The wizard DMs you in Slack, asks about your business, generates the team config, creates channels, and starts everything.

Upload a business plan PDF or describe what you want to build โ€” the AI team takes it from there.

4. Watch it work

  • #ceo โ€” strategy, delegation, progress reports
  • #engineering โ€” CTO builds the product, hires devs
  • #growth โ€” CMO runs marketing, hires content writers

Type help in any channel for available commands.

How it works

You: "Build a SaaS for restaurant analytics"
        โ”‚
        โ–ผ
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚   CEO   โ”‚โ”€โ”€โ”€โ”€>โ”‚ Task Board โ”‚โ”€โ”€โ”€โ”€>โ”‚ Workers  โ”‚
   โ”‚ (plans) โ”‚     โ”‚            โ”‚<โ”€โ”€โ”€โ”€โ”‚(execute) โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        โ”‚                                    โ”‚
        โ”œโ”€โ”€ hires @cfo, @sales_rep...       โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Slack channels โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. CEO receives your business plan, breaks it into tasks, delegates
  2. CTO is a tech lead โ€” scaffolds the project, hires @backend_dev, @frontend_dev, @tester, @devops
  3. CMO is a growth lead โ€” hires @content_writer, @designer, @seo_specialist
  4. Workers claim tasks, write real code/content, self-verify before reporting
  5. Auto-testing โ€” after code tasks, test tasks are auto-created
  6. Manager review โ€” CTO/CMO approve or reject worker output with feedback
  7. Auto-hiring โ€” agents create new roles on the fly when workload demands it
  8. Self-correction โ€” workers escalate blockers, fix tasks auto-created

Dynamic team

Start with 3 agents (CEO, CTO, CMO). They hire more as needed:

CEO writes: @sales_rep: Build a list of 50 target companies and start outreach
โ†’ system auto-creates sales_rep agent, starts working

CTO writes: @tester: Write integration tests for the payment API
โ†’ system auto-creates tester agent, assigns first task

No manual configuration needed โ€” the team grows organically.

Slack commands

Command What it does
tasks What everyone is working on
my tasks Tasks for this channel's agent
team Who's on the team and their roles
files All local files the team created
links Notion pages, GitHub repos, designs โ€” all URLs
report Ask CEO for a progress report
hire <description> Add a new team member
help All available commands

CLI

boletus setup       # Slack wizard โ€” creates team + channels + starts bot
boletus run         # Resume where you left off
boletus init        # Manual setup โ€” creates crew.yaml + .env
boletus doctor      # Check prerequisites
boletus validate    # Verify crew.yaml
boletus agents      # List configured agents
boletus tasks       # Show task board

Integrations (27 services)

Three tiers โ€” zero to full setup:

Tier Setup Examples
Claude.ai Connectors Connect once at claude.ai Gmail, Notion, Figma, Canva, Gamma, Calendar, PostHog, Cloudflare, Miro
CLI tools Token in .env GitHub (gh), AWS (aws), Stripe (stripe), Vercel
Local MCP Auto-configured PostgreSQL, custom servers

Your agents use whatever services you've connected in your Claude account โ€” no API keys needed for Claude.ai connectors. CLI tools are configured during boletus setup.

Configuration

Everything lives in crew.yaml (auto-generated by the setup wizard):

name: "My AI Company"

slack:
  app_token: ${SLACK_APP_TOKEN}
  bot_token: ${SLACK_BOT_TOKEN}

owner:
  slack_id: ${OWNER_SLACK_ID}

git:
  author_name: "AI Team"
  author_email: "ai@example.com"
  github_org: "my-org"  # repos created under this org

integrations: [github, gmail, notion, figma, canva]

projects:
  my-app:
    name: "My App"
    codebase: "./my-app"

# Custom MCP servers
# mcp_servers:
#   my-api:
#     command: "npx"
#     args: ["-y", "@my-org/my-mcp-server"]

Safety

  • Circuit breaker โ€” agents auto-pause after consecutive failures
  • Manager review โ€” worker output verified before marking complete
  • Auto-test loop โ€” code tasks automatically get a follow-up test task
  • Escalation โ€” workers flag blockers, fix tasks auto-created
  • Fuzzy dedup โ€” prevents re-delegating the same task
  • Stuck task backoff โ€” exponential backoff prevents planning loops
  • Structured memory โ€” agents learn from rejections, share knowledge cross-team

License

MIT

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

boletus-0.1.3.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

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

boletus-0.1.3-py3-none-any.whl (105.7 kB view details)

Uploaded Python 3

File details

Details for the file boletus-0.1.3.tar.gz.

File metadata

  • Download URL: boletus-0.1.3.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for boletus-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e37b9685fe85f004706dfc72b7001500923454b4163c6a2f74852a860681f679
MD5 b9e5e2ad9640b16eef2b6bfa05ae33a1
BLAKE2b-256 f8b9058e77a9c67d4f3bc3d1d73b6f64d0f5806aa63cb630041c9096ec00fb07

See more details on using hashes here.

Provenance

The following attestation bundles were made for boletus-0.1.3.tar.gz:

Publisher: publish.yml on boletus-ai/boletus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file boletus-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: boletus-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 105.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for boletus-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6f9fed3310ad01366d1a2cd73ffef6989e9f440ebe6d45598b3411227d9ee3a9
MD5 4d3908a490ee6c6508861864971b8e09
BLAKE2b-256 a4c41dc80334095d15c6beec7cc2e63416245b5accc2073b05e9423dab76518d

See more details on using hashes here.

Provenance

The following attestation bundles were made for boletus-0.1.3-py3-none-any.whl:

Publisher: publish.yml on boletus-ai/boletus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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