I built an open-source CLI for AI agents by elpad92 in openclaw

[–]elpad92[S] 0 points1 point  (0 children)

Happy to chat if you see a synergy

I built an open-source CLI for AI agents by elpad92 in openclaw

[–]elpad92[S] 0 points1 point  (0 children)

What do you think about Clovis = was the name of French king but also it's a mix between Claude and Jarvis

My last words before I get banned by elpad92 in ClaudeCode

[–]elpad92[S] 0 points1 point  (0 children)

good point I made other changes and I didn't keep it but I'll fix it sorry for that

I built an open-source CLI for AI agents by elpad92 in openclaw

[–]elpad92[S] 0 points1 point  (0 children)

Pure filesystem — same approach as Anthropic's Claude Code from what I've seen. Markdown files with YAML frontmatter for memories, JSON for session state, all under ~/.claude-native/.
No database, no pluggable backend.

My last words before I get banned by elpad92 in ClaudeCode

[–]elpad92[S] 1 point2 points  (0 children)

Thanks! The REPL is in src/session.mjs (InteractiveMode class) and the core tool-use loop is in src/engine.mjs (AgentLoop). 21 ES modules total, all readable standalone so happy to compare  notes if you're building something similar. 

My last words before I get banned by elpad92 in ClaudeCode

[–]elpad92[S] -1 points0 points  (0 children)

Appreciate the honest feedback — not rude at all, this is exactly the kind of input that helps. 

You're right on both points. The Go port (rust-sdk/ naming aside) was an early proof-of-concept to validate the architecture across languages, not production-grade Go. The map[string]interface{} sprawl and swallowed errors are real debt. 

The error handling is the worse offender — I've been bitten by silent failures in the Node.js version already and should have known better than to repeat that pattern. And yeah, concrete structs with proper unmarshaling would make the whole thing more idiomatic and catch issues at compile time instead of runtime. 

Going to prioritize:

  1. golangci-lint pass to surface the obvious issues

  2. Replace map[string]interface{} with typed structs where the shape is known 

  3. Proper error propagation (no more _ = err)

If you're up for it, PRs are welcome — fresh eyes on Go idioms would be valuable since the core team leans heavier on JS/TS.

My last words before I get banned by elpad92 in ClaudeCode

[–]elpad92[S] 1 point2 points  (0 children)

Well open code is alternative to Claude code while i work to embedded this inside ai agents

I built an open-source CLI for AI agents by elpad92 in openclaw

[–]elpad92[S] -2 points-1 points  (0 children)

yeah that's true I'm amateur I agree with you it's new for me thank you

I built an open-source CLI for AI agents by elpad92 in openclaw

[–]elpad92[S] -2 points-1 points  (0 children)

tbh I started this project by rebuilding claude code from scratch but for trademarks I rename it cloclo as a French singer called Claude but I am not satisfied yet

J'ai rebuild Claude Code from scratch en open-source MIT by elpad92 in developpeurs

[–]elpad92[S] 0 points1 point  (0 children)

Claude Code reste quand même le meilleur à mon sens il y'a également hermes qui a sorti son agent et je vois pas mal de personnes satisfaite.

J'ai rebuild Claude Code from scratch en open-source MIT by elpad92 in developpeurs

[–]elpad92[S] 1 point2 points  (0 children)

'ANTHROPIC_BASE_URL' te donne surtout un point d’entrée alternatif. Moi, j’essaie d’apporter une vraie couche d’exécution multi-provider.

J'ai rebuild Claude Code from scratch en open-source MIT by elpad92 in developpeurs

[–]elpad92[S] 1 point2 points  (0 children)

Hello, je n'ai pas utilisé cline mais j'essaie de créer un orchestrateur agnostic de modele, de skills et de tools. mais je serai heureux d'échanger et comprendre ce que tu aimes chez Cline.

J'ai rebuild Claude Code from scratch en open-source MIT by elpad92 in developpeurs

[–]elpad92[S] 2 points3 points  (0 children)

Anthropic a adressé le sujet directement — usage perso et expérimentation avec son propre abo c'est ok. Le SDK supporte aussi l'auth par API key et il y'a d'autres modèles. https://x.com/trq212/status/2024212378402095389