Skip to main content

Package for creating AI Agents using llms

Project description

Cognitrix

Cognitrix is an open-source autonous AI agents orchestrator built in Python. It allows you to create and manage AI agents easily.

Features

  • Agent Creation and Management: Create, list, and load AI agents with customizable names, tasks, and configurations.
  • LLM Integration: Seamlessly integrate with multiple LLM providers, including Anthropic (Claude), Cohere, Groq, Google, OpenAI, and Together.
  • Modular Architecture: Easily extend the framework by adding new tools, agents, and LLM integrations.
  • Conversational Interface: Interact with AI agents through a command-line interface, providing queries and receiving responses.
  • Tool Integration: Agents can utilize a variety of tools, such as calculators, web searches, file system browsers, and more.
  • Autonomous Agent Mode: Enable agents to operate autonomously, visually perceiving the screen, interacting with UI elements, and performing tasks.
  • Multimodal Support: Agents can handle both text and image inputs/outputs, enabling multimodal interactions.

Architecture

Cognitrix's architecture is designed to be modular and extensible, with core components including:

  1. Agents: The base Agent class and specialized classes like AIAssistant for creating and managing AI agents.
  2. LLMs: A collection of classes for integrating with various LLM providers, such as Cohere, OpenAI, Claude, and more.
  3. Tools: A set of tools that agents can utilize, including calculators, web searches, file system browsers, and more.
  4. Templates: Customizable prompt templates for guiding the behavior and output formats of LLMs.

The architecture is highly modular and extensible. New tools and capabilities can be easily added.

Getting Started

Installation

pip install cognitrix

or

pip install https://github.com/theonlyamos/cognitrix/archive/main.zip

Usage

Run with default settings

cognitrix

List supported providers

cognitrix --providers

Run with specific provider

cognitrix --provider <provider_name>

Create a new agent

cognitrix agents --new

List created agents

cognitrix agents

Run with specific agent

cognitrix --agent <agent_name>

Print help message

cognitrix --help

Contributing

Cognitrix is open source and contributions are welcome. See CONTRIBUTING.md for more details.

License

This project is licensed under the MIT license. See LICENSE.md for more details.

Acknowledgments

Cognitrix was created by Amos Amissah and is heavily inspired by projects like AutoGPT and GPT Engineer. Special thanks to the open-source community for their contributions and the AI companies providing LLM APIs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cognitrix-0.2.3.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

cognitrix-0.2.3-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file cognitrix-0.2.3.tar.gz.

File metadata

  • Download URL: cognitrix-0.2.3.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for cognitrix-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6f7eccef5d6c65c4bd452c38d743ad9aeb434c054bb3da62415414347bd690bb
MD5 923058e60d35fba955cb41be3a04ee68
BLAKE2b-256 bf23dbc582efe7dc262301b841ae1cf38a77fd9d75e96ca5bfaf467671e3f403

See more details on using hashes here.

File details

Details for the file cognitrix-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: cognitrix-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 49.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for cognitrix-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 89f1ef6af99d5559aecc7f6864f0bc3520e037ea362266b4e53b1fe9e88bdeb0
MD5 58f037b81fe7853385cbc7ba0f0be622
BLAKE2b-256 4bbc179310097497823cc5b8db34e7d1e4fb79c5a467e8e3814d2565c2d4eea3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page