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
  • Markdown support
  • LaTeX support
  • Code Highlighting
  • Local tools
    • Current time
    • Run python code (with pyodide)
    • Origin Private File System
  • Remote tools
    • DuckDuckGo search (Need Cloudflare Workers)
    • Crawl a web page (Need Cloudflare Workers)
    • Dalle-3 image generation
  • Proxy OpenAI requests
  • Workflow management
  • Memory 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