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:
- An AWS Account: You'll need credentials to deploy resources.
- AWS CLI Configured: Run
aws loginto set your credentials and default region.brew install awscli aws login
- 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 <agent-name>
This scaffolds a directory with:
app.py: Your agent logictemplate.yaml: AWS SAM infrastructure definitionrequirements.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 <agent-name>
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file endercom_cli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: endercom_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1db65243ad41179fc6d116412d46e6c3db4bcb26eee9d589d41d058d2dc880f
|
|
| MD5 |
860dafdba81e099ed26cb490ccfe82b4
|
|
| BLAKE2b-256 |
35c2abac6873365f1c824d79d655a9188c54b56b08847faba1f29dbb2f9acd4e
|