Skip to main content

Endercom CLI

Project description

Endercom CLI

A command-line interface for deploying and managing AI agents on AWS Lambda using the Endercom framework.

Installation

pip install endercom-cli

Prerequisites

Before you begin, ensure you have:

  1. An AWS Account: You'll need credentials to deploy resources.
  2. AWS CLI Configured: Run aws login to set your credentials and default region.
    brew install awscli
    aws login
    
  3. AWS SAM CLI: Required for building and deploying the serverless stack.
    brew install aws-sam-cli
    

Quick Start

1. Initialize an Agent Project

Create a new agent project structure.

endercom init

This scaffolds a directory with:

  • app.py: Your agent logic
  • template.yaml: AWS SAM infrastructure definition
  • requirements.txt: Python dependencies
  • .endercom/agent.yaml: CLI configuration

2. Configure Environment (Optional)

If your agent needs API keys (e.g., OPENAI_API_KEY), add them to the secrets manager.

cd my-agent
endercom secrets set OPENAI_API_KEY "sk-..."

3. Deploy

Build and deploy your agent to AWS.

endercom deploy

The CLI will:

  • Check your code for undeclared environment variables.
  • Sync your configuration to the SAM template.
  • Build the agent using sam build.
  • Deploy using sam deploy.

Commands

Command Description
init <name> Create a new agent project.
deploy Build and deploy the agent stack to AWS.
configure Update project configuration.
secrets set <key> <val> securely store secrets in AWS Secrets Manager.
logs Tail real-time logs from your Lambda function.
destroy Tear down the AWS stack and remove associated secrets.

Configuration

The source of truth for your agent's configuration is .endercom/agent.yaml.

name: my-agent
runtime: python3.12
region: us-east-1
memory: 1024
timeout: 30
env:
  MY_PUBLIC_VAR: "production"
secrets:
  - OPENAI_API_KEY
  • env: Standard environment variables injected at deployment.
  • secrets: List of keys to resolve securely from AWS Secrets Manager.

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

endercom_cli-0.1.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

endercom_cli-0.1.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file endercom_cli-0.1.2.tar.gz.

File metadata

  • Download URL: endercom_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for endercom_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5d999bcb103b6224fb86e800d9d5b54cc366d2dea1db9f16269fab662c8dd145
MD5 75d44f315f2854a557d05013f0d33563
BLAKE2b-256 45f0196ebbff921457f505e6220d5c0220b8eaf3c4b7f9bd50f9afcc1d8654b8

See more details on using hashes here.

File details

Details for the file endercom_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: endercom_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for endercom_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75cf84814f6b203987d26850bbb3df7112c94762ebf87d43298ddd8279296684
MD5 67f095d7b3b75d5b6006cb0db1480df5
BLAKE2b-256 708ac957ebb5700053c0e2953d0617c3384f5298aadb254acde7930b822fc4d4

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