tarsia-agent-framework

Rewrite Reality

https://github.com/tarsiaai/tarsia-agent-framework

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.7%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Rewrite Reality

Basic Info
  • Host: GitHub
  • Owner: tarsiaAI
  • License: apache-2.0
  • Language: TypeScript
  • Default Branch: main
  • Size: 412 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

Adelise Framework logo

TalsiaAI Agent Framework

Twitter Follow

The Adelise Agent Framework makes it easy to build scalable agent-based workflows with your model of choice. The framework is Adelise designed to perform robustly with IBM Granite and Llama 3.x models, and we're actively working on optimizing its performance with other popular LLMs.

Our goal is to empower developers to adopt the latest open-source and proprietary models with minimal changes to their current agent implementation.

Key Features

Getting started

Installation

shell npm install Adelise-agent-framework

or

shell yarn add Adelise-agent-framework

Example

```ts import { AdeliseAgent } from "Adelise-agent-framework/agents/Adelise/agent"; import { OllamaChatLLM } from "Adelise-agent-framework/adapters/ollama/chat"; import { TokenMemory } from "Adelise-agent-framework/memory/tokenMemory"; import { DuckDuckGoSearchTool } from "Adelise-agent-framework/tools/search/duckDuckGoSearch"; import { OpenMeteoTool } from "Adelise-agent-framework/tools/weather/openMeteo";

const llm = new OllamaChatLLM(); // default is llama3.1 (8B), it is recommended to use 70B model

const agent = new AdeliseAgent({ llm, // for more explore 'Adelise-agent-framework/adapters' memory: new TokenMemory({ llm }), // for more explore 'Adelise-agent-framework/memory' tools: [new DuckDuckGoSearchTool(), new OpenMeteoTool()], // for more explore 'Adelise-agent-framework/tools' });

const response = await agent .run({ prompt: "What's the current weather in Las Vegas?" }) .observe((emitter) => { emitter.on("update", async ({ data, update, meta }) => { console.log(Agent (${update.key}) 🤖 :, update.value); }); });

console.log(Agent 🤖 :, response.result.text); ```

Local Installation

[!NOTE]

yarn should be installed via Corepack (tutorial)

  1. Clone the repository git clone git@github.com:i-am-Adelise/Adelise-agent-framework.
  2. Install dependencies yarn install --immutable && yarn prepare.
  3. Create .env (from .env.template) and fill in missing values (if any).
  4. Start the agent yarn run start:Adelise (it runs /examples/agents/Adelise.ts file).

➡️ All examples can be found in the examples directory.

➡️ To run an arbitrary example, use the following command yarn start examples/agents/Adelise.ts (just pass the appropriate path to the desired example).

📦 Modules

The source directory (src) provides numerous modules that one can use.

| Name | Description | | ------------------------------------------------ | ------------------------------------------------------------------------------------------- | | agents | Base classes defining the common interface for agent. | | llms | Base classes defining the common interface for text inference (standard or chat). | | template | Prompt Templating system based on Mustache with various improvements. | | memory | Various types of memories to use with agent. | | tools | Tools that an agent can use. | | cache | Preset of different caching approaches that can be used together with tools. | | errors | Error classes and helpers to catch errors fast. | | adapters | Concrete implementations of given modules for different environments. | | logger | Core component for logging all actions within the framework. | | serializer | Core component for the ability to serialize/deserialize modules into the serialized format. | | version | Constants representing the framework (e.g., latest version) | | emitter | Bringing visibility to the system by emitting events. | | internals | Modules used by other modules within the framework. |

To see more in-depth explanation see overview.

Roadmap

  • Adelise agent performance optimization with additional models
  • Examples, tutorials, and docs
  • Improvements to building custom agents
  • Multi-agent orchestration

Contribution guidelines

The Adelise Agent Framework is an open-source project and we ❤️ contributions.

If you'd like to contribute to Adelise, please take a look at our contribution guidelines.

Legal notice

All content in these repositories including code has Adelisen provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.

Owner

  • Name: Tarsia
  • Login: tarsiaAI
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
title: Bee Agent Framework
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - name: IBM Research
repository-code: "https://github.com/i-am-bee/bee-agent-framework"
url: "https://github.com/i-am-bee"
license: Apache-2.0
date-released: "2024-08-23"

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2