$npx skillfedfor your agent

tom-swe

Theory of Mind modeling for Software Engineering assistants

SkipPyPI Python ModulesReleased Nov 20259.2M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tom_swe-1.0.3-py3-none-any.whl
v1.0.3 · released 2025-11-26 · Python >=3.10 · 7 runtime deps: jinja2, json-repair, litellm, pydantic, python-dotenv, tiktoken, tqdm

No. The repository is archived and marked abandoned, indicating no active maintenance or support. While the package itself has low install friction and a permissive MIT license, the lack of ongoing development creates risk for bug fixes, security updates, and compatibility with evolving dependencies. Use only if you are willing to maintain a fork or accept the possibility of unresolved issues.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Requires LLM API credentials (litellm key and endpoint) configured via .env file to function.
  • Low friction installation as a pure Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it freely usable in most contexts.

last release 2025-11-26 (261 days) · last repo commit 2026-08-03 · 118 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,189,321 downloads/mo, #1,555 on PyPI

Verify before relying

pip install tom-swe

from tom_swe.tom_module import TomModule
import asyncio

async def demo():
    tom = TomModule()
    consultation = await tom.consult(
        user_id="demo_user",
        current_context="User wants to implement a new feature"
    )
    print(consultation)

asyncio.run(demo())
  • Whether the archived repository status means the package is no longer maintained or supported.
  • How the three-tier memory system (sessions → analyses → profiles) performs with real user data at scale.
  • Compatibility details with specific OpenHands versions or other SWE agent frameworks beyond OpenHands.
Same gist for agents: .md · .json

What it is and what it does

TOM-SWE is a Theory of Mind package that augments software engineering agents with user understanding capabilities. It analyzes user behavior, preferences, and working styles through LLM-powered consultation, building a three-tier memory system from session data to user profiles. The package integrates with OpenHands and similar SWE agent frameworks, allowing agents to provide personalized guidance and adapt their behavior based on learned user intent.

The package depends on jinja2, json-repair, litellm, pydantic, python-dotenv, tiktoken, and tqdm to handle templating, LLM communication, configuration, and progress tracking. It requires an external LLM API (configured via litellm credentials) to perform the psychological analysis and consultation generation that drives its core functionality.

Use it for

  • Enhance OpenHands or other SWE agents with automatic user preference learning and personalized task guidance.
  • Analyze user session data to extract behavioral patterns and working style insights for agent adaptation.
  • Provide consultation recommendations to agents based on learned user psychology and preferences.
  • Build user profiles from cleaned session data to enable long-term personalization across multiple interactions.
  • Integrate Theory of Mind reasoning into autonomous coding agents for improved task performance.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The repository is archived and marked abandoned, indicating no active maintenance or support. While the package itself has low install friction and a permissive MIT license, the lack of ongoing development creates risk for bug fixes, security updates, and compatibility with evolving dependencies. Use only if you are willing to maintain a fork or accept the possibility of unresolved issues.

Install

tom-swe on PyPI

Before you install

Low friction installation as a pure Python wheel. Maintenance is a concern: the repository is archived and marked abandoned as of the fact sheet date, with no active development despite recent release dates in the metadata.

Requires Python 3.10 or later. Requires LLM API credentials (litellm key and endpoint) configured via .env file to function.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it freely usable in most contexts.

Quickstart

pip install tom-swe

from tom_swe.tom_module import TomModule
import asyncio

async def demo():
    tom = TomModule()
    consultation = await tom.consult(
        user_id="demo_user",
        current_context="User wants to implement a new feature"
    )
    print(consultation)

asyncio.run(demo())

Verify before relying

  • Whether the archived repository status means the package is no longer maintained or supported.
  • How the three-tier memory system (sessions → analyses → profiles) performs with real user data at scale.
  • Compatibility details with specific OpenHands versions or other SWE agent frameworks beyond OpenHands.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
jinja2json-repairlitellmpydanticpython-dotenvtiktokentqdm
MaintenanceAbandoned 261 days since the last release
Last repo commit repository archived
First released
Downloads9,189,321 / month, #1,555 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules

Evidence: tom_swe-1.0.3-py3-none-any.whl

Tags

Capabilities
user modeling for AI agentstheory of mind software engineeringpersonalized agent behavioruser preference learning agentsadaptive SWE agent frameworkLLM user psychology analysisagent consultation system
Topics
user-modelingagent-frameworkllm-integration
PyPI keywords
ai-assistantllmpsychologyragsoftware-engineeringtheory-of-minduser-modeling

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “user modeling for AI agents”

  • tom-sweAdds Theory of Mind capabilities to software engineering agents,…
  • agent-framework-azure-aiIntegrates Azure AI Foundry memory capabilities into Microsoft Agent…
  • mem0aiMem0 adds a persistent, searchable memory layer to AI agents and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also inspect-swe · mem0ai · livekit-plugins-rime · mini-swe-agent · openhands-aci · livekit-plugins-anthropic · deepagents · agent-framework-mem0 · agentlightning · openhands-workspace

Further reading