TalkingHeads  by ugorsahin

Python library for LLM communication

created 2 years ago
322 stars

Top 85.5% on sourcepulse

GitHubView on GitHub
Project Summary

TalkingHeads is a Python library designed for seamless interaction with multiple AI chat agents, including ChatGPT, Claude, Copilot, Gemini, and others. It targets developers and researchers who need to integrate or experiment with various large language models through a unified interface, simplifying complex API integrations and enabling multi-agent workflows.

How It Works

The library utilizes browser automation to interact with the web interfaces of AI chat services. This approach allows it to support agents that may not have readily available public APIs or require specific browser-based authentication. By automating user interactions within a web browser, TalkingHeads can leverage the full functionality exposed by these platforms, including features like web search and multimodal inputs.

Quick Start & Requirements

  • Install: pip install talkingheads
  • Prerequisites: Google Chrome browser installed. Accounts/logins may be required for specific providers (e.g., ChatGPT, Claude, Copilot, Gemini, LeChat, HuggingChat). Pi is usable without login.
  • Documentation: https://github.com/ugorsahin/TalkingHeads

Highlighted Details

  • Supports interaction with 7 AI chat agents: Claude, ChatGPT, Copilot, Gemini, LeChat, HuggingChat, and Pi.
  • Offers features like "Use without login" (Pi), "Login" (ChatGPT, LeChat, HuggingChat), "Interact," "New Chat," and "Switch Model."
  • Some agents support advanced features like "Search Web" (Copilot, HuggingChat) and "Plugins" (Copilot).
  • Multimodal (visual) input is supported for Claude, Copilot, and Gemini.
  • Conversations can be saved in various formats (CSV, JSON, XML, etc.).

Maintenance & Community

The project encourages contributions and issue reporting with specific tags like [FEATURE], [BUG], [DOCUMENTATION].

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The library relies on browser automation, which can be brittle and prone to breaking if the underlying web interfaces change. Features like "Regenerate Response" and "Custom Interactions" are not universally supported across all agents. Multimodal support for ChatGPT is noted as dependent on premium accounts.

Health Check
Last commit

5 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
10 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

chathub by chathub-dev

0.1%
10k
All-in-one chatbot client
created 2 years ago
updated 4 months ago
Feedback? Help us improve.