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.2.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cognitrix-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 410f4634078cbb3b96b4c930b2ada5a77cb60053cbfc0f1d7e72864ae2e35ee2
MD5 20d481351d5c890dbea7166f9d260b53
BLAKE2b-256 d3b0542aced332c3b254f37ace18db9db2126d0bd74e4300cfd65bd15258f657

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cognitrix-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a43d8558f3e8aaa840ec352c3b037eb128ad359ee77a107f53388f3c27d473e
MD5 b6dbdfe8dc38f1211245bc8c1c069ba6
BLAKE2b-256 064b26f0f485bc25ea501148d7b82b11b26ae5e09facbb099e2973532577f2df

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