Skip to content

longern/FlareAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flare Agent

Another ChatGPT front-end. Focus on tool calls and workflow management.

Features

  • Chat with GPT-3.5 and GPT-4
  • Image input (take photo or upload)
  • Markdown support
    • OpenAI format LaTeX support
    • Code highlighting
  • Unlimited local chat history storage (with OPFS)
  • Tool calls
    • Run python code in browser (with pyodide)
    • DuckDuckGo search (need Cloudflare Workers)
    • Browser (need Cloudflare Workers)
    • Dalle-3 image generation
    • Memory management
    • Import custom tools in OpenAPI format
  • Share chat history as image
  • Proxy OpenAI requests
  • Workflow management

Usage

Basic

  1. Visit website in repository description.
  2. Set your OpenAI API key in the settings page.

Python reference

Chat messages can be accessed by MESSAGES environment variable. Any modification to os.environ will be preserved between messages.

An example of extracting the last message content:

import os
import json
messages = json.loads(os.environ["MESSAGES"])
os.environ["CONTENT"] = messages[-1].content

Environment variables can be accessed in the system prompt (e.g. {CONTENT}).

About

Another ChatGPT front-end. Focus on tool calls and workflow management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages