**PyCallingAgent: Finally, AI function calling that doesn’t suck**
I got tired of JSON schemas breaking every time I needed dynamic workflows, so I built PyCallingAgent. Instead of forcing LLMs to generate rigid JSON, it lets them write actual Python code and execute it.
**The difference:**
– Traditional: „Call function A, wait for response, call function B based on result, repeat 5 times“
– PyCallingAgent: „Here’s my goal“ → AI writes and executes a complete workflow in one go
**Key features:**
– Persistent state across conversations
– Works with any LLM provider
– Real-time streaming of code execution
– Secure AST validation (no eval() dangers)
Perfect for data analysis, API workflows, multi-step automations.
GitHub: [github.com/acodercat/py-calling-agent]
submitted by /u/acodercat
[link] [comments]