Skip to content

Repository files navigation

Harpe

CI Release Docs

Harpe is an agent framework for the secure programming language Jo.

A Harpe agent acts by writing typed Jo programs. Each program is compiled against the capabilities you grant before it can run. Code that asks for an unavailable capability does not compile.

Note

Harpe is in developer preview and ready for serious experimentation. The public APIs are still stabilizing and may change between releases.

Quick start

Install Jo:

curl -sSf https://jo-lang.org/install.sh | sh

Create the minimal learning agent:

jo new my-agent --template typescope/harpe:hello
cd my-agent

python3 -m venv .venv
. .venv/bin/activate

pip install -r requirements.txt
cp .env.example .env

Set API key in .env, then run:

jo start

Example questions for trial:

  • What is the biggest prime number under 158942?
  • What is the 23th fibonacci number?

Follow Build Your First Agent to inspect each part.

Start from a template

Template Guide
pdf-agent PDF Processing Agent
telegram Telegram Bot
pr-review GitHub PR Review
flight-booker Flight Booking

Documentation

About

An opinionated agent framework

Resources

Contributing

Security policy

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages