Show HN: We made AI agents as simple as Laravel controllers (github.com)

1 points by aaronlumsden ↗ HN
Got tired of complex Python AI frameworks requiring tons of boilerplate. Built this Laravel package where agents are just classes - no registration, no configuration files, just define and use:

  class RefundAgent extends BaseLlmAgent {
      protected array $tools = [ProcessRefundTool::class];
  }
  RefundAgent::run('process refund for order 123')->go();
Auto-discovery handles everything. Ships with evaluation framework for testing agents at scale, persistent memory, sub-agent delegation. We use it in production for customer support automation.

Works with OpenAI, Anthropic, Gemini, Ollama + more. MIT licensed.

Happy to answer questions about why we chose PHP/Laravel for AI agents!

The snippet is concise but shows the controller-like simplicity perfectly.

0 comments

[ 4.8 ms ] story [ 10.7 ms ] thread

No comments yet.