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.
Install Jo:
curl -sSf https://jo-lang.org/install.sh | shCreate 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 .envSet API key in .env, then run:
jo startExample 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.
| Template | Guide |
|---|---|
pdf-agent |
PDF Processing Agent |
telegram |
Telegram Bot |
pr-review |
GitHub PR Review |
flight-booker |
Flight Booking |