Skip to main content

arkaine

Empower your summoned AI agents. arkaine is a batteries-included framework built for DIY builders, individuals, and small scale solutions.

License: MIT Python 3.8+

Join our Discord!

Overview

arkaine is built to allow individuals with a little python knowledge to easily create deployable AI agents enhanced with tools. While other frameworks are focused on scalable web-scale solutions, arkaine is focused on the smaller scale projects - the prototype, the small cron job, the weekend project. arkaine attempts to be batteries included - multiple features and tools built in to allow you to go from idea to execution rapidly.

📖 Documentation 👩‍🏫

Documentation can be found at arkaine.dev.

WARNING

This is a very early work in progress. Expect breaking changes, bugs, and rapidly expanding features.

Features

  • 🔧 Easy tool creation and programmatic tool prompting for models
  • 🤖 Agents can be "composed" by simply combining these tools and agents together
  • 🔀 Thread safe async routing built in
  • 🔄 Multiple backend implementations for different LLM interfaces
    • OpenAI (GPT-3.5, GPT-4)
    • Anthropic Claude
    • Groq
    • Ollama (local models)
    • More coming soon...
  • 🧰 Built-in common tools (web search, file operations, etc.)

Key Concepts

  • 🔧 Tools - Tools are functions (with some extra niceties) that can be called and do something. That's it!
  • 🤖 Agents - Agents are tools that use LLMS. Different kinds of agents can call other tools, which might be agents themselves!
    • IterativeAgents - IterativeAgents are multi-shot agents that can repeatedly call an LLM to try and perform its task, where the agent can identify when it is complete with its task.
    • 🧰 BackendAgents - BackendAgents are agents that utilize a Backend to perform its task.
    • 💬 Chats - Chats are agents that interact with a user over a prolonged interaction in some way, and can be pair with tools, backends, and other agents.
  • Backends - Backends are systems that empower an LLM to utilize tools and detect when it is finished with its task. You probably won't need to worry about them!
  • 📦 Connectors - Connectors are systems that can trigger your agents in a configurable manner. Want a web server for your agents? Or want your agent firing off every hour? arkaine has you covered.
  • Context - Context provides thread-safe state across tools. No matter how complicated your workflow gets by plugging agents into agents, contexts will keep track of everything.

Installation

To install arkaine, ensure you have Python 3.8 or higher installed. Then, you can install the package using pip:

bash
pip install arkaine

Metadata

Release files for arkaine 0.0.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arkaine 0.0.24
File Size Uploaded
arkaine-0.0.24.tar.gz 207.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arkaine 0.0.24
File Interpreter ABI Platform
arkaine-0.0.24-py3-none-any.whl Python 3 none any Details

Total release size: 467.4 kB

Release files / arkaine-0.0.24.tar.gz

Download URL arkaine-0.0.24.tar.gz
Size 207.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c9c17ea61782803b72a24790723904e8670410f766ef23fc934791ffb88d1e0
BLAKE2b-256 checksum
How to use checksums
15998357d064198c643664143451bc8f6e6af2c2ad91a0ae52823ea99ea5795a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.1

Release files / arkaine-0.0.24-py3-none-any.whl

Download URL arkaine-0.0.24-py3-none-any.whl
Size 260.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d7dace164014e6d2bc192b0dcbad05ebf86bcdfda09854bb179ad6a6abbbf04
BLAKE2b-256 checksum
How to use checksums
761abaec05fe76c8358349138b641cae71910462fdec4c3c1878b722eed75eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.24 This release

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page