Skip to content

Meeseeks is an AI task agent built on one core engine. Run it directly in your terminal, browser, or host it as an API.

License

Notifications You must be signed in to change notification settings

bearlike/Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Meeseeks: The Personal Assistant πŸ‘‹

Ask DeepWiki Build and Push Docker Images Lint Docs GitHub Release Docker Image Docker Image

Meeseeks.pre-alpha.demo.v2.mp4

Meeseeks runs right in your terminal, browser, or hosted as an API.

Intro

Meeseeks is an AI task agent assistant built on a plan-act-observe orchestration loop. It breaks a request into steps, runs tools, and synthesizes a final reply. It keeps a session transcript, compacts long histories, and stores summaries for continuity across longer conversations.

Legends (Expand to View)
Completed In-Progress Planned Scoping
βœ… 🚧 πŸ“… 🧐

Feature highlights

Answer questions and interpret sensor information Control devices and entities Web chat interface
Screenshot Screenshot Screenshot of Meeseks WebUI

Core workflow

  • (βœ…) Plan β†’ act β†’ observe loop: Builds a short action plan, executes tools, and replans when needed.
  • (βœ…) Step-level reflection: Validates tool outcomes and adjusts step arguments when required.
  • (βœ…) Synthesized replies: Produces a final answer after tool results are collected and summarized.

Memory and context management

  • (βœ…) Session transcripts: Writes tool activity and responses to disk for continuity.
  • (βœ…) Context compaction: Summarizes long sessions and auto-compacts near the context budget.
  • (βœ…) Token awareness: Tracks context window usage and exposes budgets in the CLI.
  • (βœ…) Selective recall: Builds context from recent turns plus a summary of prior events.

Model and provider support

  • (βœ…) Model gateway: Uses LiteLLM for OpenAI-compatible access across multiple providers.
  • (βœ…) Model routing: Supports provider-qualified model names and a configurable API base URL.
  • (βœ…) Reasoning compatibility: Applies reasoning-effort controls where supported by the model.

Tooling and integrations

  • (βœ…) Tool registry: Discovers local tools and optional MCP tools with manual manifest overrides.
  • (βœ…) Local file + shell tools: Built-in Aider adapters for edit blocks, read files, list dirs, and shell commands (approval-gated).
  • (βœ…) Home Assistant: Ships a Conversation integration for voice control and entity actions.
  • (βœ…) REST API: Exposes the assistant over HTTP for third-party integration.
  • (βœ…) Web chat UI: Streamlit interface with plans, tool input types, and responses.
  • (βœ…) Terminal CLI: Fast interactive shell with plan visibility and tool result cards.

Safety and observability

  • (βœ…) Permission gate: Uses approval callbacks and hooks to control tool execution.
  • (βœ…) Operational visibility: Optional Langfuse tracing (session-scoped traces) stays off if unconfigured.

Optional add-ons

Optional features that can be installed when needed.

Interface notes

  • CLI layout adapts to terminal width. Headers and tool result cards adjust to small and wide shells.
  • Interactive CLI controls. Use a model picker, MCP browser, session summary, and token budget commands.
  • Inline approvals. Rich-based approval prompts render with padded, dotted borders and clear after input.
  • Unified experience. Web, API, Home Assistant, and CLI interfaces share the same core engine to reduce duplicated maintenance.

Monorepo layout

  • packages/meeseeks_core/: orchestration loop, schemas, session storage, compaction, tool registry.
  • packages/meeseeks_tools/: tool implementations and integrations (including Home Assistant and MCP).
  • apps/meeseeks_api/: Flask REST API for programmatic access.
  • apps/meeseeks_chat/: Streamlit UI for interactive chat.
  • apps/meeseeks_cli/: Terminal CLI frontend for interactive sessions.
  • meeseeks_ha_conversation/: Home Assistant integration that routes voice to the API.
  • packages/meeseeks_core/src/meeseeks_core/prompts/: planner prompts and tool instructions.

Architecture (short)

Requests flow through a single core engine used by every interface, so behavior stays consistent across UI, API, and voice.

flowchart LR
  User --> CLI
  User --> Chat
  User --> API
  HA --> API
  CLI --> Core
  Chat --> Core
  API --> Core
  Core --> Planner
  Planner --> Tools
  Tools --> LocalTools
  Tools --> MCP
  Tools --> HomeAssistant
  Core --> SessionStore
  Core --> Langfuse
Loading

Documentation

The docs landing page mirrors the feature highlights in this README. Keep both updated together for consistent messaging.

Overview

Setup and configuration

Repository map

Reference

Installation (quick)

User install (core only):

uv sync

Optional components:

uv sync --extra cli   # CLI
uv sync --extra api   # REST API
uv sync --extra chat  # Streamlit UI
uv sync --extra ha    # Home Assistant integration

Developer install (all components + dev/test/docs):

uv sync --all-extras --all-groups

Development principles

  • Keep the core engine centralized. Interfaces should remain thin to avoid duplicated maintenance.
  • Organize logic into clear modules, classes, and functions. Favor readable, well-scoped blocks.
  • Prefer small, composable changes that keep behavior consistent across interfaces.

Contributing πŸ‘

We welcome contributions from the community to improve Meeseeks. Use the steps below.

  1. Fork the repository and clone it to your local machine.
  2. Create a new branch for your contribution.
  3. Make your changes, commit them, and push to your fork.
  4. Open a pull request describing the change and the problem it solves.

Bug Reports and Feature Requests 🐞

If you encounter bugs or have ideas for features, open an issue on the issue tracker. Include reproduction steps and error messages when possible.

Thank you for contributing.