Skip to main content

Declarative AI toolkit

Project description

Agent Building Toolkit - Agentify 🤖

PyPI Python Version License Open In Colab

Agentify is a lightweight, declarative-first Library for building AI agents in Python

KeyFeatures

  • Declarative agent definitions via YAML.
  • Multi-LLM support: OpenAI, Anthropic, and more.
  • Interactive CLI with TUI menu for exploring agents.
  • Programmatic agent creation and execution for custom workflows.
  • Lightweight, minimal dependencies: Click + Rich + PyYAML.

🚀 Getting Started

Prefer a hands-on walkthrough?

How it works

Define your agents in simple YAML files or programmatically, and run them using an interactive CLI. Agentify abstracts LLM provider integrations and provides a simplified developer experience.

Installation

pip install agentify-toolkit

Or install from source:

git clone https://github.com/backplane-software/agentify.git
cd agentify
pip install .

Quick Start

1. Create an agent YAML

name: claude
description: AI Engineer
version: 0.1.0
model:
  provider: anthropic
  id: claude-sonnet-4-5
  api_key_env: ANTHROPIC_API_KEY
role: |
  You are an AI Security Engineer.
  Provide concise, practical answers with examples.

2 .Run a single agent

agentify run examples/agent.yaml

Overriding Model - you can pass a provider and model parameter to override the provider and model in the YAML file

agentify run examples/agent.yaml --provider=openai --model=gpt-5-nano

3. Run agents interactively from a folder

agentify run examples/agents

4. List agents interactively

agentify list agents

Programmatic Usage

Install agentify with pip install agentify and then import.

from agentify import Agent

def main():

    agent = Agent(
        name="Grok",
        description="X's Grok Agent",
        provider="x",
        model_id="grok-4",
        role="You are an AI Security Architect specialising in X AI Grok models"
    )

    response = agent.run("Which AI LLM is the best in 1 sentence ?")
    print(response)

if __name__ == "__main__":
    main()

CLI Reference

Command Example
Run agent from YAML agentify run <agent.yaml>
Run all YAML Agents in folder agentify run <folder>
List all YAML Agents in folder agentify list <folder>

Adding LLM API Keys

To use the LLM Model providers, you will need an API key and they will need to be made available in your environment.

Implemented providers:

Provider Instruction Link
OpenAI export OPENAI_API_KEY="your_api_key_here" https://platform.openai.com/api-keys
Anthropic export ANTHROPIC_API_KEY="your_api_key_here"
Gemini export GEMINI_API_KEY="your_api_key_here"
Bedrock export AWS_BEARER_TOKEN_BEDROCK
GROK export XAI_API_KEY="your_api_key_here"

For Windows: $env:<Provider>_API_KEY="YOUR_API_KEY"

License

Agentify is licensed under the Apache License, Version 2.0. See LICENSE for details.

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

agentify_toolkit-0.1.0.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentify_toolkit-0.1.0-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file agentify_toolkit-0.1.0.tar.gz.

File metadata

  • Download URL: agentify_toolkit-0.1.0.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for agentify_toolkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1a00dd30ded6d8aff6bde4b5c69290691063229fe47caa1af8a231ff16010e2e
MD5 8f6dee4f466807da492b312ab87c11ba
BLAKE2b-256 10372b2ba9d43fc948ce1fcc269215b459f84ee764d5c6c559a5fd803b51f0c4

See more details on using hashes here.

File details

Details for the file agentify_toolkit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentify_toolkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5987a6c9a56675adee889425a3683b2e857a936c7bf0bf5c8e5739e925ed11a
MD5 a3b70a0ff2e365ff63ece1c0b685c538
BLAKE2b-256 7f957af4922392bf3cc4d7bb3b77f6c2edb5a9634d9e16ff953fd0f5a16d896c

See more details on using hashes here.

Supported by

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