Skip to content

ChatDev is an integrated multiple large language model Browser extension, that supports chat mode and game mode. you can personalize these AI agents, and use Visualized prompt flow to let Multi-Persona Self-Collaboration. AI town demo: https://chat-agent.github.io

License

Notifications You must be signed in to change notification settings

uname0x96/chatdevPlugin

 
 

Repository files navigation

ChatDev: Visualize Your AI Agent

author license release last commit

English   |   Indonesia   |   简体中文   |   繁體中文   |   日本語

⚡️ Install

Get ChatDev for Chromium Get ChatDev for Microsoft Edge

Screenshot   |   Features   |   Bots   |   Installation   |   Changelog

ChatDev is an integrated multiple large language model Chrome extension, that supports chat mode and game mode. you can personalize these AI agents, and use Visualized prompt flow to let Multi-Persona Self-Collaboration.

📷 Screenshot

game-prompt-flow.png chat-prompt-flow.gif

✨ Features

  • Use different chatbots in one application, which currently supports ChatGPT, the new Bing Chat, Google Bard, Claude, and more than 10 open source models.
  • Invoking large model interfaces in the browser in the form of Webapis requires no code capability
  • Interact with NPCs in the form of games and discuss real needs
  • customize prompts(NPCs & location), and custom prompt flows(brain of their actions)
  • Once Prompt Flow is enabled, express your needs in one sentence, and NPCs will be automatically selected to form teams, perform quests, and present them in an interactive gameplay style.

🤖 Bots

Supported ChatGPT & iFlytek Spark & Bing & Bard & Claude & ChatGLM & Alpaca & Vicuna & Koala & Dolly & LLaMA & StableLM & OpenAssistant & ChatRWKV...

🔨 Installation

1. Install from Web Store

  1. Search for ChatDev in the Chrome Web Store and click "Install."
  2. Search for ChatDev in the Microsoft-Edge-Extensions and click "Get."

2. Manual Installation

  1. Download chatdev1.1.3.zip from the Releases page.
  2. Extract the files.
  3. In Chrome/Edge, open the extensions page (chrome://extensions or edge://extensions).
  4. Enable developer mode.
  5. Drag and drop the extracted folder onto the page to import it (do not delete the folder after importing).

3. Build from Source Code

  • Clone the source code.
  • Run yarn install to install dependencies.
  • Run yarn build to build the plugin.
  • Follow the steps in "Manual Installation" to load the dist folder into your browser.

📜 Changelog

  • v1.1.3

    • Flow_Dag_Yaml prompt type Add config prompt type, that is, do not send this node to the large model, and directly return the path content for parsing (Add Planning_Task_Team_Org configuration of NPC participating in the meeting)
    • Mouse over the markers (NPCs, furniture, etc.) to display prompt description and edit button
    • Default speed increased from 0.5 to 1, and reduced to 0.5 when chatting with NPCs
    • When starting a round table, automatically select the appropriate meeting address, draw the area of the meeting, and temporarily stop the player action.
    • The round table automatically ends when the player leaves the round table area
    • When you get close to an NPC, draw the area of the chat
    • When the NPC is less than 400 away from the player, the current activity record is not output, the distance is less than 100 and the chat is automatically requested, and the chat is automatically ended when the NPC is out of the chat area (> 200)
    • The icon in the upper left corner only keeps the button to control the volume, and cancelling the switch and one-click home function of the control prompt
    • Reduce the location change of the mark point, and support the mark address can be customized prompt, the location is defined as "Position_base64(xxx)"
    • Chat record storage is changed from localStorage to indexDb to prevent temporary over limit problems
    • Fixed an issue where the time loop would return home
    • Issue with modified air cannon messages
  • v1.1.1

    • prompt flow double-click the editable node
    • Import or export all configurations
    • prompt library sharing
  • v1.1.0

    • Support for multiple large language models
    • Customization of user roles
    • Support for custom prompts (actions, plans, etc.)
    • New visual editing for custom Prompt Flow
    • Support for switching between chat view and game view
    • Predefined Prompt Flows, enabling one-sentence requests to automatically select NPCs, form teams, execute tasks, and gamify presentations
    • Settings button for customizing APIs and selecting preferred models
    • Fixed API issues with iFlytek Spark model
  • v1.0.1

    • Added support for iFlytek Spark cognitive large language model
  • v1.0.0

    • Initial release of the AI town plugin based on ChatGPT

🤝 Acknowledgments

We sincerely thank the following projects for providing inspiration and reference: generative_agentschathub

Whether you want to explore the wonders of different large language models or create your own virtual town life, ChatDev will be your reliable assistant. Install it now and start exploring!

About

ChatDev is an integrated multiple large language model Browser extension, that supports chat mode and game mode. you can personalize these AI agents, and use Visualized prompt flow to let Multi-Persona Self-Collaboration. AI town demo: https://chat-agent.github.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.0%
  • Other 2.0%