Skip to main content

Multi-agent harness built on deepagents and langchain/langgraph.

Project description

Soothe

Soothe Logo

Python PyPI Version License GitHub Stars Ask DeepWiki

Your 24/7 Autonomous AI Agent that Plans, Acts, and Delivers Results

What is Soothe?

Soothe is a protocol-driven AI orchestration framework that transforms how you work with AI. Unlike traditional chatbots that merely answer questions, Soothe acts as your intelligent digital colleague that:

  • โœจ Thinks Ahead - Automatically plans multi-step workflows and adapts strategies based on results
  • ๐Ÿš€ Acts Autonomously - Executes complex tasks spanning web research, code execution, file operations, and browser automation
  • ๐Ÿง  Learns & Remembers - Maintains persistent memory across sessions, so you never repeat yourself
  • ๐Ÿ”’ Stays Secure - Enforces least-privilege policies and keeps your data under your control
  • ๐Ÿ”Œ Extends Easily - Plugin architecture lets you add custom tools and specialized subagents
  • ๐ŸŒ Works Anywhere - Multi-transport daemon supports Unix, WebSocket, and HTTP REST connections

Architecture

Arch

Design Philosophy

๐ŸŽฏ Intelligent by Default

Soothe uses a Reason โ†’ Act execution loop that automatically:

  • Analyzes your request and decides the best approach
  • Executes tools with structured outputs for reliable results
  • Evaluates success and adjusts strategy without manual intervention
  • Works for simple queries in milliseconds or complex tasks in minutes

No micromanagement neededโ€”just state your goal and let Soothe deliver.

๐Ÿง  Persistent Memory & Context

Every conversation builds upon the last:

  • Session memory: Accumulates knowledge within a thread
  • Cross-session memory: Recalls important context from past interactions
  • Thread management: Resume, archive, and organize conversation history
  • Goal tracking: Long-running objectives persist across sessions

๐Ÿ”’ Security & Privacy First

Your infrastructure, your rules:

  • Local execution: Browser automation, file operations, and code execution run on your machine
  • Policy enforcement: Fine-grained access control with least-privilege defaults
  • No vendor lock-in: Bring your own API keys, storage backends, and models
  • Flexible deployment: Run as CLI, daemon, or integrate into your applications

๐Ÿ”Œ Extensible Plugin System

Soothe grows with your needs:

  • Built-in tools: Web search (Tavily, DuckDuckGo), code execution, file operations, browser automation
  • Specialized subagents: Research, browser automation, planning, and more
  • MCP integration: Connect to external services via Model Context Protocol
  • Custom plugins: Create your own tools and subagents with decorator-based APIs

What Can Soothe Do?

๐Ÿ” Deep Research & Synthesis

Multi-source investigation in minutes, not hours

  • Web search with intelligent query generation (Tavily, DuckDuckGo)
  • Academic paper discovery (ArXiv integration)
  • Document analysis (PDF, DOCX, text files)
  • Automatic summarization with citations
  • Iterative refinement based on findings

Example: "Research the latest advances in RAG architectures and compare three different approaches"

๐Ÿค– Autonomous Task Execution

From goal to deliverable without hand-holding

  • Multi-step workflow execution with automatic planning
  • File operations with security policy enforcement
  • Code execution in sandboxed environments
  • Browser automation for web interactions
  • Parallel tool execution for faster results

Example: "Set up a new Python project with FastAPI, create the directory structure, and initialize git"

๐Ÿ“Š Long-Running Operations

Work that spans hours or days, managed automatically

  • Background daemon mode with multi-transport support
  • Thread management with resume capabilities
  • Persistent state across sessions
  • Progress tracking and artifact storage

Example: "Monitor this website every 6 hours and alert me when the price drops below $50"

๐ŸŽจ Extensible via Plugins

Custom capabilities for your unique workflows

  • Decorator-based tool creation (@tool)
  • Subagent development with CompiledSubAgent
  • MCP server integration for external services
  • Custom event types and handlers

Example: Create a custom tool that queries your internal APIs and processes results

Getting Started

Quick Start (3 Steps)

  1. Install Soothe:

    pip install soothe
    
  2. Set your API key:

    export OPENAI_API_KEY=sk-your-key-here
    # or use Anthropic Claude:
    export ANTHROPIC_API_KEY=sk-ant-your-key-here
    
  3. Run your first task:

    # Interactive TUI mode (default)
    soothe -p "Research the top 5 Python web frameworks and create a comparison table"
    
    # Or just launch TUI and type your query
    soothe
    

Try Different Modes

Interactive TUI (default):

soothe -p "Analyze this codebase and suggest improvements"

Headless single-shot:

soothe -p "What is 2 + 2?" --no-tui

Autonomous mode for complex tasks:

soothe autopilot run "Set up a monitoring system that checks website uptime every 5 minutes"

The TUI shows:

  • Tool execution in real-time
  • Subagent activities and progress
  • Structured event stream
  • Keyboard shortcuts for control

Run as a Background Daemon

For long-running operations and remote access:

# Start daemon
soothe daemon start

# Attach from any terminal
soothe daemon attach

# Or connect via WebSocket/HTTP
soothe daemon start --enable-websocket --enable-http

Real-World Examples

Research Workflow

# Default mode with automatic planning
soothe -p "Research best practices for securing REST APIs, summarize the top 5 recommendations, and create a checklist document"

Codebase Analysis

# TUI mode shows real-time progress
soothe -p "Analyze the authentication module in src/auth/, identify potential security vulnerabilities, and suggest fixes"

Autonomous Mode (Complex Tasks)

# Use autopilot for autonomous execution
soothe autopilot run "Set up a monitoring system that checks website uptime every 5 minutes and logs results to a database"

Resume Previous Work

# List previous threads
soothe thread list

# Continue from where you left off
soothe thread continue <thread-id>

Key Features

Feature Status Description
Intelligent Execution Loop โœ… Implemented Reason โ†’ Act architecture with automatic strategy adjustment
Multi-Source Research โœ… Implemented Web search, academic papers, documents with automatic synthesis
Specialized Subagents โœ… Implemented Browser automation, planning, research, skill creation
Plugin System โœ… Implemented Decorator-based tools and subagents with lifecycle management
Multi-Transport Daemon โœ… Implemented Unix socket, WebSocket, and HTTP REST support
Thread Management โœ… Implemented Persistent threads with resume, archive, and search
Security Policies โœ… Implemented Least-privilege access control with configurable policies
Persistent Memory โœ… Implemented Context and memory across sessions with vector storage support

Architecture Highlights

Soothe is built on a protocol-driven architecture that ensures flexibility and maintainability:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  CLI / TUI Layer (User Interface)                       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Daemon Layer (Multi-Transport Server)                  โ”‚
โ”‚  Unix Socket | WebSocket | HTTP REST                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Core Framework (Agent Factory & Runner)                โ”‚
โ”‚  Reason โ†’ Act Loop                                      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Protocol Layer (8 Swappable Protocols)                 โ”‚
โ”‚  Context | Memory | Planning | Policy | Durability |    โ”‚
โ”‚  Remote | Persistence | VectorStore                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Capability Layer (Plugins)                             โ”‚
โ”‚  Tools | Subagents | MCP Servers                        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Why This Matters:

  • Swap any component without changing your code
  • Add custom capabilities via the plugin system
  • Scale from local CLI to remote daemon seamlessly
  • Maintain isolation between threads and sessions

Learn More

๐Ÿ“š Documentation

๐Ÿ› ๏ธ For Developers

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

soothe-0.2.4.tar.gz (559.1 kB view details)

Uploaded Source

Built Distribution

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

soothe-0.2.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file soothe-0.2.4.tar.gz.

File metadata

  • Download URL: soothe-0.2.4.tar.gz
  • Upload date:
  • Size: 559.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for soothe-0.2.4.tar.gz
Algorithm Hash digest
SHA256 65c22a00dc58d875e08548cc1addf45d9f744319ab47f4ddd872fcc63acb6971
MD5 74605d805b411ba46e51d36ac5555654
BLAKE2b-256 6d3c929054a9d6ab1fa2830fafeef5fa7b151bfd7155ca592d64d431b4df04fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for soothe-0.2.4.tar.gz:

Publisher: release.yml on caesar0301/soothe

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

File details

Details for the file soothe-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: soothe-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for soothe-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e70e624e92a833176078d037dd6e7f0bed31a56bac97096bd2a6c03061ab59c0
MD5 7de914cd5902a63cd7e7c31e02d781e0
BLAKE2b-256 36e919cb4e71c298986168ff83ea545a6686299173ddf005362c7133d2f5534d

See more details on using hashes here.

Provenance

The following attestation bundles were made for soothe-0.2.4-py3-none-any.whl:

Publisher: release.yml on caesar0301/soothe

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