Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Langgraph AI Terminal 🤖

By Ryan Eggleston @ryaneggz

LangGraph Bot is a Python-based chatbot application that utilizes the LangGraph and LangChain libraries to process and respond to user inputs. The bot is designed to handle conversational flows and can be configured to use different language models.

Features

  • Stream processing of user inputs and bot responses.
  • Visualization of state graphs using Mermaid.
  • Configurable session management for chat history.
  • Integration with OpenAI's GPT-4o, or Claude 3.5 Sonnet model.

Prerequisites

  • Python 3.10 or higher
  • Access to OpenAI API (for GPT-4o model) or Anthropic API (for Claude 3.5 Sonnet)

Installation

  1. Create a configuration directory:

    ai --env
    
  2. Edit the env file:

    nano $HOME/.ai-term/.env
    

Usage

Run the application:

To start the chatbot, run the following command:

ai --help

### RESULT
# usage: ai [-h] [--t TOOLS] [--ls] [--v] [--chat] [--id ID] [--env] [input ...]
# AI CLI Tool
# positional arguments:
# input       Input text for the AI
# options:
# -h, --help  show this help message and exit
# --t TOOLS   Comma-separated list of tools to use
# --ls        List available tools
# --v         Visualize the graph
# --chat      Start an interactive chat session
# --id ID     Thread ID for the conversation
# --env       Create .env file in ~/.ai-term/

Project Documentation

This project includes tools for running shell commands and Docker container operations. For detailed information, please refer to the following documentation:

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Metadata

Release files for ai-term 0.0.1rc14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-term 0.0.1rc14
File Size Uploaded Provenance Actions
ai_term-0.0.1rc14.tar.gz 9.3 kB Without provenance Details for ai_term-0.0.1rc14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-term 0.0.1rc14
File Interpreter ABI Platform Actions
ai_term-0.0.1rc14-py3-none-any.whl Python 3 none any Details for ai_term-0.0.1rc14-py3-none-any.whl

Total release size: 21.6 kB

Release files / ai_term-0.0.1rc14.tar.gz

Download URL ai_term-0.0.1rc14.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
29f0afaea5e3d634268f6bdd8b544e1f161f0ec5363c64b4bd5b7d76193fe854
BLAKE2b-256 checksum
How to use checksums
26d3f8373a0b098a47054f1f4b3c4a2adafaa564b3cc9645ea18c0e0213a9152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / ai_term-0.0.1rc14-py3-none-any.whl

Download URL ai_term-0.0.1rc14-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15612758c3080a1ffedece68ba366980ca84969fde5b7f7ba6ea6f5a602b729b
BLAKE2b-256 checksum
How to use checksums
83d62150ea0675d651dc27d91210cfbcad60442a6aaf156e5cb5b0cf33332707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for ai-term 0.0.1rc14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page