Skip to main content

A CLI tool to scaffold production-ready LLM agent projects

Project description

agentinit

A CLI tool to scaffold production-ready LLM agent projects in seconds.

Stop copy-pasting boilerplate. Run one command and get a fully structured, framework-specific agent project ready to run.

Install

pip install agentinit

Usage

agentinit init my-project --framework langgraph --llm openai

Supported Frameworks

Framework Description
langgraph LangChain's graph-based agent framework
crewai Multi-agent role-based framework
autogen Microsoft's conversational agent framework
google_adk Google's Agent Development Kit
openai_agents OpenAI's official agents SDK
smolagents HuggingFace's lightweight agent framework

Supported LLM Providers

Provider Env Variable
openai OPENAI_API_KEY
anthropic ANTHROPIC_API_KEY
groq GROQ_API_KEY
azure AZURE_OPENAI_API_KEY + AZURE_OPENAI_ENDPOINT
bedrock AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY
gemini GOOGLE_API_KEY

Generated Project Structure

my-project/
├── agents/
│   └── base_agent.py    # framework-specific agent logic
├── tools/
│   └── sample_tool.py   # sample tool stub
├── config/
│   └── config.yaml      # llm and project config
├── Dockerfile           # ready to containerize
├── main.py              # entry point
├── .env.example         # environment variable template
└── requirements.txt     # dependencies for chosen framework

Commands

Scaffold a new project

agentinit init <project-name> --framework <framework> --llm <provider>

Add a new agent to an existing project

cd my-project
agentinit add-agent researcher --framework langgraph

List all supported frameworks and providers

agentinit list-frameworks

Examples

# LangGraph with OpenAI
agentinit init my-agent --framework langgraph --llm openai

# CrewAI with Anthropic
agentinit init my-crew --framework crewai --llm anthropic

# AutoGen with Groq
agentinit init my-autogen --framework autogen --llm groq

# Google ADK with Gemini
agentinit init my-adk --framework google_adk --llm gemini

# OpenAI Agents SDK with Azure
agentinit init my-openai-agent --framework openai_agents --llm azure

# Smolagents with Bedrock
agentinit init my-smol --framework smolagents --llm bedrock

Getting Started After Scaffolding

cd my-project
cp .env.example .env       # add your API keys
pip install -r requirements.txt
python main.py

License

MIT

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

agentinit_cli-0.3.4.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

agentinit_cli-0.3.4-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file agentinit_cli-0.3.4.tar.gz.

File metadata

  • Download URL: agentinit_cli-0.3.4.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for agentinit_cli-0.3.4.tar.gz
Algorithm Hash digest
SHA256 e294812681c7f049fb802fec3cf0699c30dca83677efbaa63c9b24dd77991f1e
MD5 e091cfbf88ebccfa781d30b0a758be8f
BLAKE2b-256 78566ca77c72abf2ce2e7593f6c1df07f7c53700f3eb5882bd74ae921bbe0af3

See more details on using hashes here.

File details

Details for the file agentinit_cli-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: agentinit_cli-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for agentinit_cli-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf74be8e82dc94bf8237f08d2a54c301c0f683db7005f66f20a4bd5a974961a
MD5 32e31581063edf2beaee6f4ef7786355
BLAKE2b-256 1cb70e2b9852bd0aa6a7718855c4e2bcfa860ab08bab6f3baf13c6c4287717c7

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