https://github.com/aisk/hasuke
A simple and naive agent implemented in Haskell
https://github.com/aisk/hasuke
agent clawdbot
Last synced: 2 months ago
JSON representation
A simple and naive agent implemented in Haskell
- Host: GitHub
- URL: https://github.com/aisk/hasuke
- Owner: aisk
- License: bsd-3-clause
- Created: 2026-02-19T17:13:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-02-21T17:45:31.000Z (3 months ago)
- Last Synced: 2026-02-21T19:53:43.080Z (3 months ago)
- Topics: agent, clawdbot
- Language: Haskell
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ใในใฑ(Hasuke)
> A simple, lightweight AI Agent written in Haskell.
## ๐ ๏ธ Installation
```bash
# Build with Stack
stack build
# Set your Anthropic API key
export ANTHROPIC_API_KEY=...
# Set different LLM provider
export ANTHROPIC_BASE_URL=https://...
# Run
stack run
```
> **Note**: You can also use `ANTHROPIC_AUTH_TOKEN` for authentication.
## ๐ Project Structure
```
hasuke/
โโโ app/Main.hs -- Entry point
โโโ src/
โ โโโ Types.hs -- Core type definitions
โ โโโ Tool.hs -- Tool registry & built-in tools
โ โโโ Provider.hs -- LLM Provider interface (Anthropic)
โ โโโ Agent.hs -- Agent core logic & turn handling
โโโ hasuke.cabal -- Package config
```
## ๐ License
MIT