🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

aisk/hasuke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ハスケ(Hasuke)

A simple, lightweight AI Agent written in Haskell.

πŸ› οΈ Installation

# 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

About

A simple and naive agent implemented in Haskell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors