Skip to main content

Python Toolkit for Declarative AI Agent Development

Project description

📦 Agentify - Declarative AI Agent Toolkit

PyPI Python Version License Open In Colab

Build and experiment with AI agents using simple declarative specs.

Agentify is a lightweight, declarative-first toolkit for prototyping AI agents. It lets you define agents as YAML specs and test them rapidly from the CLI or Python, without committing to a framework or model provider.

Use YAML for declarative specs, or Python for full control - both use the same agent model.

Note: Agentify is not a workflow orchestrator, runtime platform, or production framework. It’s for rapid Agent building, experimentation and prototyping.

Why Agentify ?

Most agent frameworks optimise for running agents - orchestration, routing, retries, supervision, cloud execution.

But before production comes a more important phase: figuring out what the agent should even do.

Agentify optimises for that phase.

Designed For:

✔ Rapid agent prototyping & ideation

✔ Teams exploring internal AI use cases

✔ Startups validating agent product ideas

✔ Teaching & education (low cognitive overhead)

✔ Provider portability (no early lock-in)

Quickstart

1. Install

pip install agentify-toolkit

2. Add an LLM Provider Key

# anthropic | openai | xai | google | bedrock
agentify providers add <provider>

Verify:

agentify providers list

Example Output:

 anthropic
  env: ANTHROPIC_API_KEY
  status: READY

3. 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.

4. Run the Agent

agentify run agent.yaml

You’ve just built your first AI agent with Agentify!

💡 Tip: Running multiple agents

If you have multiple agents, put them in a single folder and run agentify run <foldername>. Agentify will provide an interactive menu so you can choose which agent you want to experiment with.

💡 Tip: Overriding the model

If you want to experiment with a different model, simply add --provider=openai model=gpt-5-nano to your call. Ensure you have registered the appropriate provider API key.

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

Core Ideas

1. Declarative Agents (YAML-first)

Agents become artifacts:

  • version controlled
  • diffable
  • shareable
  • auditable

2. Provider Abstraction Without Lock-in

Most ecosystems ask:

“Am I building on OpenAI, Anthropic, Bedrock, XAI, or Google?”

Agentify flips it:

“The agent spec stays the same - only the provider changes.”

3. CLI-first Exploration

CLI interaction is fast, ergonomic, and repeatable:

agentify run agent.yaml

4. Agent = Single File

Agents collapse to a spec, not a codebase

Key Features

  • Declarative agent definitions via YAML

  • Multi-provider LLM support (OpenAI, Anthropic, XAI, Gemini, Bedrock)

  • Interactive CLI and TUI for exploring agents

  • Programmatic API for custom workflows

  • Lightweight: Click + Rich + PyYAML

Documentation & Notebooks

Prefer a guided walkthrough?

  • Developer Quickstart (Notebook) examples/notebooks/Agentify_Developer_Quickstart.ipynb

  • YAML Deep Dive examples/notebooks/Agentify_YAML_Deep_Dive.ipynb

Programmatic Usage

from agentify import Agent

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)

CLI Reference

Action Command
Run from YAML agentify run agent.yaml
Run folder of agents agentify run agents/
List agents interactively agentify list agents
Add a provider API key agentify providers add <p>
List provider credentials agentify providers list

Supported Providers & Keys

Provider Env Var
OpenAI export OPENAI_API_KEY=...
Anthropic export ANTHROPIC_API_KEY=...
Gemini export GEMINI_API_KEY=...
XAI (Grok) export XAI_API_KEY=...
Bedrock export AWS_BEARER_TOKEN_BEDROCK

Windows:

$env:OPENAI_API_KEY="..."

Installation from PyPI:

pip install agentify-toolkit

From source:

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

License

Apache 2.0 - see LICENSE

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.7.0.tar.gz (40.4 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.7.0-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentify_toolkit-0.7.0.tar.gz
  • Upload date:
  • Size: 40.4 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.7.0.tar.gz
Algorithm Hash digest
SHA256 aa21b4083ef68162b9360f524c0362cba1d2efdfa7c696ee761d767b5efbd1a3
MD5 350ce5fc83a65145747ccc3f81568e90
BLAKE2b-256 e67ad9d91438f15cfd5b944fae87e10a70ec67ce455d61ada9d2f7df8cbea5b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentify_toolkit-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8971273d4c2002c79bc70da7737a5aa847efc533d2801fac33d18b0fcfb223a
MD5 dc64eb514423ba9c8b268d2a6aa3db88
BLAKE2b-256 563d1bb3e47e095fd00eeb742e758aa593cfcc8b67224a637280790e2b2d0c63

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