
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Official CLI tool for Rodger.ai - Build and manage AI agents.
npm install -g rodger
Or use directly with npx:
npx rodger <command>
Create a new agent project:
npx rodger init my-agent
cd my-agent
npm install
Add your API keys to .env:
OPENAI_API_KEY=sk-...
Start development server:
rodger dev
init [name]Scaffold a new Rodger agent project.
rodger init my-support-bot
# With template
rodger init my-agent --template knowledge-agent
Available Templates:
basic-chat - Simple Q&A chatbotknowledge-agent - Agent with RAG knowledge basetool-agent - Agent with custom toolsloan-assistant - Full-featured exampledevStart the local development server.
rodger dev
# Custom port
rodger dev --port 3001
test <message>Test your agent with a message.
rodger test "Hello, what can you help with?"
# Stream response
rodger test "Tell me a story" --stream
# With session ID
rodger test "Continue our conversation" --session-id abc123
Manage your agent's knowledge base (Ragie or Zep).
knowledge upload <file>Upload a document to the knowledge base.
rodger knowledge upload ./docs/faq.pdf
# With metadata
rodger knowledge upload ./docs/guide.txt --metadata '{"category": "support"}'
Supported formats: PDF, TXT, MD, DOCX, and more.
knowledge search <query>Search the knowledge base.
rodger knowledge search "password reset"
# Limit results
rodger knowledge search "billing" --limit 10
knowledge status <documentId>Check document processing status.
rodger knowledge status doc_abc123
Test and validate guardrail rules.
guardrails testRun the guardrail test suite.
rodger guardrails test
# Verbose output
rodger guardrails test --verbose
Tests common violations:
guardrails validate <text>Validate text against guardrail rules.
rodger guardrails validate "My email is test@example.com"
OPENAI_API_KEY - OpenAI API keyANTHROPIC_API_KEY - Anthropic API keyRAGIE_API_KEY - Ragie API keyZEP_API_KEY - Zep Cloud API keyZEP_COLLECTION - Zep collection name (default: "default")After running rodger init, you'll have:
my-agent/
├── agent.config.ts # Agent configuration
├── app/
│ └── api/
│ └── chat/
│ └── route.ts # Chat API endpoint
├── package.json
├── .env # Environment variables
└── tsconfig.json
Edit agent.config.ts to customize your agent:
import { createAgent } from '@rodger/core';
export const agent = createAgent({
name: 'My Agent',
llm: {
provider: 'openai',
model: 'gpt-4o-mini',
apiKey: process.env.OPENAI_API_KEY!,
},
systemPrompt: 'You are a helpful assistant...',
// Add knowledge base
knowledge: {
provider: 'ragie',
apiKey: process.env.RAGIE_API_KEY!,
},
// Add guardrails
guardrails: [
{
name: 'pii-detection',
type: 'input',
// ... config
},
],
});
# Quick test
rodger test "Hello!"
# Stream response
rodger test "Write a poem" --stream
# Test with session
rodger test "What's my name?" --session-id user_123
# Upload support docs
rodger knowledge upload ./docs/faq.pdf
# Upload with metadata
rodger knowledge upload ./docs/v2-guide.md --metadata '{"version": "2.0"}'
# Test all guardrails
rodger guardrails test
# Validate specific text
rodger guardrails validate "My SSN is 123-45-6789"
If you see API key errors:
.env file exists.envMake sure you're running from the project root directory where agent.config.ts exists.
Verify your knowledge provider API key:
# For Ragie
echo $RAGIE_API_KEY
# For Zep
echo $ZEP_API_KEY
MIT
FAQs
CLI tool for Rodger.ai - Build and manage AI agents
We found that rodger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.