Skip to main content

A terminal coding agent for Python.

Project description

Katalyst Agent

A modular, node-based terminal coding agent for Python, designed for robust, extensible, and production-ready workflows.

Quick Setup

To install all dependencies, simply run:

poetry install

Important: You must set your OpenAI API key as the environment variable OPENAI_API_KEY or add it to a .env file in your project directory. The first time you run katalyst, you will be prompted to enter your API key if it is missing. You can get an API key from https://platform.openai.com/account/api-keys.

Searching Files (ripgrep required)

The search_files tool requires ripgrep (rg) to be installed on your system:

  • macOS: brew install ripgrep
  • Ubuntu: sudo apt-get install ripgrep
  • Windows: choco install ripgrep

Features

  • Automatic project state persistence: Katalyst saves your project state (such as chat history) to .katalyst_state.json in your project directory after every command. This happens in the background—no user action required. When you return to your project, your session context is automatically restored.

Testing

Katalyst includes both unit and functional tests. For detailed information about running tests, writing new tests, and test coverage, see TESTS.md.

Running Tests & Checking Coverage

To run all tests:

pytest

To check test coverage:

pytest --cov=src/katalyst_agent

This will show a coverage report in the terminal. For a detailed HTML report:

pytest --cov=src/katalyst_agent --cov-report=html

The HTML report will be in the htmlcov/ directory.

TODO

See TODO.md for the latest development tasks and roadmap.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

katalyst-0.2.2.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

katalyst-0.2.2-py3-none-any.whl (61.1 kB view details)

Uploaded Python 3

File details

Details for the file katalyst-0.2.2.tar.gz.

File metadata

  • Download URL: katalyst-0.2.2.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for katalyst-0.2.2.tar.gz
Algorithm Hash digest
SHA256 128eb80f581c14436c801c5b211585bbd13a27501ebc8172f89e9c789ab48685
MD5 c9e3e16121c7e3cc40ece80f15d71efe
BLAKE2b-256 b6254c02b6c9ec294dc3789e3f7b8794dc84e2868326a34b5d5abf005a6cf226

See more details on using hashes here.

File details

Details for the file katalyst-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: katalyst-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 61.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for katalyst-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1fe9bd94ce372a3d434e630661d988cf713d1c10ffb05bedc9953582834a60d
MD5 e33ba181e2f62add234f4ff06a45d763
BLAKE2b-256 19ffdc7849c57bdb1f8772cbab3673449aa82c89f3bd5286270d5fc6bbaabda8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page